Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 15:55:18 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333127 - head/audio/gtick
Message-ID:  <201311071555.rA7FtIu4046055@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311071555.rA7FtIu4046055>