aboutsummaryrefslogtreecommitdiff
path: root/audio/gtick
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2013-11-07 15:55:18 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2013-11-07 15:55:18 +0000
commitc647b11714ec4acb3379feb2b23d00c050186c16 (patch)
tree020924acc16ae3085270965982abaf8652c99f05 /audio/gtick
parentd9185515c987d2f6aee6434036331620e9ce679e (diff)
downloadports-c647b11714ec4acb3379feb2b23d00c050186c16.tar.gz
ports-c647b11714ec4acb3379feb2b23d00c050186c16.zip
- Use new options framework
- Remove useless inclusion of bsd.port.options.mk PR: ports/183674 Submitted by: mat
Notes
Notes: svn path=/head/; revision=333127
Diffstat (limited to 'audio/gtick')
-rw-r--r--audio/gtick/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/audio/gtick/Makefile b/audio/gtick/Makefile
index 5c7bd5ff6b5e..3cfa01861623 100644
--- a/audio/gtick/Makefile
+++ b/audio/gtick/Makefile
@@ -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