svn commit: r332272 - head/audio/wxguitar
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Oct 31 18:56:51 UTC 2013
Author: amdmi3
Date: Thu Oct 31 18:56:50 2013
New Revision: 332272
URL: http://svnweb.freebsd.org/changeset/ports/332272
Log:
- Support staging
- Use new OPTIONS features
Modified:
head/audio/wxguitar/Makefile
Modified: head/audio/wxguitar/Makefile
==============================================================================
--- head/audio/wxguitar/Makefile Thu Oct 31 18:18:49 2013 (r332271)
+++ head/audio/wxguitar/Makefile Thu Oct 31 18:56:50 2013 (r332272)
@@ -15,7 +15,6 @@ RUN_DEPENDS= wavplay:${PORTSDIR}/audio/w
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}|' \
More information about the svn-ports-all
mailing list