From 7d2c95e559bc600c123e6805b101779b7bcdc539 Mon Sep 17 00:00:00 2001 From: martymac Date: Thu, 7 Nov 2013 15:55:18 +0000 Subject: - Use new options framework - Remove useless inclusion of bsd.port.options.mk PR: ports/183674 Submitted by: mat --- audio/gtick/Makefile | 14 ++++---------- 1 file 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 - -.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 -- cgit