From 1dc51300591d71fe13ac5aa3274542ec820682e0 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 2 Feb 2014 13:10:39 +0000 Subject: - Stage support - Use OPTIONS helpers - The desktop file doesn't define any mime type --- deskutils/gxneur/Makefile | 17 +++++------------ deskutils/gxneur/pkg-plist | 1 + 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'deskutils') 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 - -.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 -- cgit v1.2.3