diff options
author | martymac <martymac@FreeBSD.org> | 2013-11-07 23:55:18 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2013-11-07 23:55:18 +0800 |
commit | 7d2c95e559bc600c123e6805b101779b7bcdc539 (patch) | |
tree | 020924acc16ae3085270965982abaf8652c99f05 | |
parent | 7abbf41c31a37859d6f611d11b4fffbee8d54014 (diff) | |
download | freebsd-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/Makefile | 14 |
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 |