aboutsummaryrefslogtreecommitdiff
path: root/audio/wxguitar
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-31 18:56:50 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-31 18:56:50 +0000
commitc9c6be7fe654df2a32c6cf27f3b91ae63dd46ee6 (patch)
treed8b6ea97eb215b64497c702df4624ac615255476 /audio/wxguitar
parentce0fe787b507618c67cc16071da82a0144b73dd3 (diff)
downloadports-c9c6be7fe654df2a32c6cf27f3b91ae63dd46ee6.tar.gz
ports-c9c6be7fe654df2a32c6cf27f3b91ae63dd46ee6.zip
Notes
Diffstat (limited to 'audio/wxguitar')
-rw-r--r--audio/wxguitar/Makefile13
1 files 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 <bsd.port.options.mk>
+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}|' \