aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wxguitar
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-11-01 02:56:50 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-11-01 02:56:50 +0800
commit1a768528aec62e98dcb2b982f430b1183ef867ba (patch)
treed8b6ea97eb215b64497c702df4624ac615255476 /audio/wxguitar
parent1916c0b451810d26cf4a29e3d3505426102cf45b (diff)
downloadfreebsd-ports-gnome-1a768528aec62e98dcb2b982f430b1183ef867ba.tar.gz
freebsd-ports-gnome-1a768528aec62e98dcb2b982f430b1183ef867ba.tar.zst
freebsd-ports-gnome-1a768528aec62e98dcb2b982f430b1183ef867ba.zip
- Support staging
- Use new OPTIONS features
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}|' \