aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-02 21:10:39 +0800
committerantoine <antoine@FreeBSD.org>2014-02-02 21:10:39 +0800
commit9b6e79257b4b1d611eb0ab7e26aaa34bf792d003 (patch)
treea4cc064601c508948b19708fa88ee9e7e62428b0 /deskutils
parenta8f1e7982b53390e6e8a60709d6216200c0701fb (diff)
downloadfreebsd-ports-gnome-9b6e79257b4b1d611eb0ab7e26aaa34bf792d003.tar.gz
freebsd-ports-gnome-9b6e79257b4b1d611eb0ab7e26aaa34bf792d003.tar.zst
freebsd-ports-gnome-9b6e79257b4b1d611eb0ab7e26aaa34bf792d003.zip
- Stage support
- Use OPTIONS helpers - The desktop file doesn't define any mime type
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/gxneur/Makefile17
-rw-r--r--deskutils/gxneur/pkg-plist1
2 files changed, 6 insertions, 12 deletions
diff --git a/deskutils/gxneur/Makefile b/deskutils/gxneur/Makefile
index 1be29e76875a..d73080f6c760 100644
--- a/deskutils/gxneur/Makefile
+++ b/deskutils/gxneur/Makefile
@@ -15,22 +15,15 @@ RUN_DEPENDS= xneur:${PORTSDIR}/deskutils/xneur
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USES= desktop-file-utils pkgconfig
+USES= pkgconfig
USE_GNOME= gconf2 gtk20 libglade2
INSTALLS_ICONS= yes
-MAN1= ${PORTNAME}.1
+OPTIONS_DEFINE= NLS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_OFF= --without-nls
post-patch:
@${REINPLACE_CMD} -e '/all_modifiers/d' ${WRKSRC}/src/misc.c
diff --git a/deskutils/gxneur/pkg-plist b/deskutils/gxneur/pkg-plist
index 7b0bcb51b425..739f7b5b051b 100644
--- a/deskutils/gxneur/pkg-plist
+++ b/deskutils/gxneur/pkg-plist
@@ -1,4 +1,5 @@
bin/gxneur
+man/man1/gxneur.1.gz
share/applications/gxneur.desktop
%%DATADIR%%/pixmaps/am.png
%%DATADIR%%/pixmaps/bg.png