svn commit: r333127 - head/audio/gtick

Ganael LAPLANCHE martymac at FreeBSD.org
Thu Nov 7 15:55:19 UTC 2013


Author: martymac
Date: Thu Nov  7 15:55:18 2013
New Revision: 333127
URL: http://svnweb.freebsd.org/changeset/ports/333127

Log:
  - Use new options framework
  - Remove useless inclusion of bsd.port.options.mk
  
  PR:		ports/183674
  Submitted by:	mat

Modified:
  head/audio/gtick/Makefile

Modified: head/audio/gtick/Makefile
==============================================================================
--- head/audio/gtick/Makefile	Thu Nov  7 15:53:36 2013	(r333126)
+++ head/audio/gtick/Makefile	Thu Nov  7 15:55:18 2013	(r333127)
@@ -19,16 +19,10 @@ GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-CONFIGURE_ARGS+=	--enable-nls
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure


More information about the svn-ports-head mailing list