svn commit: r342283 - head/deskutils/gxneur

Antoine Brodin antoine at FreeBSD.org
Sun Feb 2 13:10:39 UTC 2014


Author: antoine
Date: Sun Feb  2 13:10:39 2014
New Revision: 342283
URL: http://svnweb.freebsd.org/changeset/ports/342283
QAT: https://qat.redports.org/buildarchive/r342283/

Log:
  - Stage support
  - Use OPTIONS helpers
  - The desktop file doesn't define any mime type

Modified:
  head/deskutils/gxneur/Makefile
  head/deskutils/gxneur/pkg-plist

Modified: head/deskutils/gxneur/Makefile
==============================================================================
--- head/deskutils/gxneur/Makefile	Sun Feb  2 13:01:24 2014	(r342282)
+++ head/deskutils/gxneur/Makefile	Sun Feb  2 13:10:39 2014	(r342283)
@@ -15,22 +15,15 @@ RUN_DEPENDS=	xneur:${PORTSDIR}/deskutils
 
 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

Modified: head/deskutils/gxneur/pkg-plist
==============================================================================
--- head/deskutils/gxneur/pkg-plist	Sun Feb  2 13:01:24 2014	(r342282)
+++ head/deskutils/gxneur/pkg-plist	Sun Feb  2 13:10:39 2014	(r342283)
@@ -1,4 +1,5 @@
 bin/gxneur
+man/man1/gxneur.1.gz
 share/applications/gxneur.desktop
 %%DATADIR%%/pixmaps/am.png
 %%DATADIR%%/pixmaps/bg.png


More information about the svn-ports-all mailing list