aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-11-07 23:55:18 +0800
committermartymac <martymac@FreeBSD.org>2013-11-07 23:55:18 +0800
commit7d2c95e559bc600c123e6805b101779b7bcdc539 (patch)
tree020924acc16ae3085270965982abaf8652c99f05
parent7abbf41c31a37859d6f611d11b4fffbee8d54014 (diff)
downloadfreebsd-ports-gnome-7d2c95e559bc600c123e6805b101779b7bcdc539.tar.gz
freebsd-ports-gnome-7d2c95e559bc600c123e6805b101779b7bcdc539.tar.zst
freebsd-ports-gnome-7d2c95e559bc600c123e6805b101779b7bcdc539.zip
- Use new options framework
- Remove useless inclusion of bsd.port.options.mk PR: ports/183674 Submitted by: mat
-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