aboutsummaryrefslogtreecommitdiff
path: root/x11/gromit-mpx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gromit-mpx/Makefile')
-rw-r--r--x11/gromit-mpx/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/x11/gromit-mpx/Makefile b/x11/gromit-mpx/Makefile
new file mode 100644
index 000000000000..ae2e4921ad0a
--- /dev/null
+++ b/x11/gromit-mpx/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= gromit-mpx
+DISTVERSION= 1.4
+CATEGORIES= x11
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= On-screen annotation tool
+
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libappindicator3.so:devel/libappindicator
+
+USES= cmake gnome pkgconfig xorg
+USE_CSTD= gnu99
+USE_GITHUB= yes
+USE_GNOME= cairo gdkpixbuf2 gtk30
+USE_XORG= x11 xi
+GH_ACCOUNT= bk138
+LDFLAGS+= -Wl,--as-needed # atk, dbusmenu, pango
+
+post-patch:
+# Let @sample handle default files under etc/
+ @${REINPLACE_CMD} -e '/data.*cfg/s/)/ RENAME ${PORTNAME}.cfg.sample)/' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>