1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

- Support staging

- Use new OPTIONS features
This commit is contained in:
Dmitry Marakasov 2013-10-31 18:56:50 +00:00
parent ce0fe787b5
commit c9c6be7fe6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332272

View File

@ -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}|' \