diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2013-10-04 11:36:29 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2013-10-04 11:36:29 +0000 |
commit | 9c070db8b77a734403188e4590a3e4f19b0e98fa (patch) | |
tree | be443beb7113748c096f0a21e983bcbc1eb1edcf /audio/abraca | |
parent | ecb4e7a7d86aab695223f44a83d3f1317b139381 (diff) | |
download | ports-9c070db8b77a734403188e4590a3e4f19b0e98fa.tar.gz ports-9c070db8b77a734403188e4590a3e4f19b0e98fa.zip |
Notes
Diffstat (limited to 'audio/abraca')
-rw-r--r-- | audio/abraca/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/audio/abraca/Makefile b/audio/abraca/Makefile index 833895050d85..4093a570c6cc 100644 --- a/audio/abraca/Makefile +++ b/audio/abraca/Makefile @@ -3,6 +3,7 @@ PORTNAME= abraca PORTVERSION= 0.7.1 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= http://cloud.github.com/downloads/Abraca/Abraca/ @@ -13,30 +14,24 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/valac:${PORTSDIR}/lang/vala LIB_DEPENDS= libxmmsclient.so:${PORTSDIR}/audio/xmms2 \ libgee.so:${PORTSDIR}/devel/libgee06 -USES= pkgconfig -USE_SCONS= yes +USES= pkgconfig scons USE_GNOME= gtk30 -SCONS_ARGS= MANDIR=${MANPREFIX}/man DESTDIR=${STAGEDIR} +MAKE_ARGS= MANDIR=${MANPREFIX}/man OPTIONS_DEFINE= NLS OPTIONS_DEFAULT= NLS -.include <bsd.port.options.mk> +OPTIONS_SUB= yes +NLS_USES= gettext -.if ${PORT_OPTIONS:MNLS} -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS='@comment ' -.else -PLIST_SUB+= NLS='' -USES+= gettext -.endif +.include <bsd.port.options.mk> post-configure: .if ${PORT_OPTIONS:MNLS} - @${REINPLACE_CMD} -e 's/%%NLS%%/0/' ${WRKSRC}/SConstruct -.else @${REINPLACE_CMD} -e 's/%%NLS%%/1/' ${WRKSRC}/SConstruct +.else + @${REINPLACE_CMD} -e 's/%%NLS%%/0/' ${WRKSRC}/SConstruct .endif .include <bsd.port.mk> |