From c9c6be7fe654df2a32c6cf27f3b91ae63dd46ee6 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 31 Oct 2013 18:56:50 +0000 Subject: [PATCH] - Support staging - Use new OPTIONS features --- audio/wxguitar/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/audio/wxguitar/Makefile b/audio/wxguitar/Makefile index ebc64fa4300b..fd43da6e2845 100644 --- a/audio/wxguitar/Makefile +++ b/audio/wxguitar/Makefile @@ -15,7 +15,6 @@ RUN_DEPENDS= wavplay:${PORTSDIR}/audio/wavplay GNU_CONFIGURE= yes USE_WX= 2.8+ -NO_STAGE= yes WX_UNICODE= yes CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} CPPFLAGS+= -I${LOCALBASE}/include @@ -23,15 +22,11 @@ LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/wxGuitar -.include +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE=nls post-patch: @${REINPLACE_CMD} -e 's|/usr/share/wxguitar|${DATADIR}|' \