summaryrefslogtreecommitdiff
path: root/audio/abraca
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-05-31 21:12:14 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-05-31 21:12:14 +0000
commit68e1d1d6bac0b47fedea2eb0dc2d1b449e7a973d (patch)
treee34babc2d103058a4353e9cc46ab56239c643555 /audio/abraca
parent- Update to 2.22 (diff)
- Convert to new options framework
- Remove uneeded double quotes - While here fix various portlint warnings - Indent make conditionals and loop Approved by: Boris Samorodov <bsam@FreeBSD.org> (net/unison-nox11 maintainer) Approved by: Matthias Andree <mandree@FreeBSD.org> (implicit, net/unison232 maintainer) Approved by: tabthorpe (mentor)
Notes
Notes: svn path=/head/; revision=297905
Diffstat (limited to 'audio/abraca')
-rw-r--r--audio/abraca/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/audio/abraca/Makefile b/audio/abraca/Makefile
index 14b09ba7f068..51fa7029a398 100644
--- a/audio/abraca/Makefile
+++ b/audio/abraca/Makefile
@@ -14,8 +14,8 @@ MAINTAINER= madpilot@FreeBSD.org
COMMENT= Abraca is a GTK2 client for the XMMS2 music player
BUILD_DEPENDS= ${LOCALBASE}/bin/valac:${PORTSDIR}/lang/vala
-LIB_DEPENDS= xmmsclient.6:${PORTSDIR}/audio/xmms2 \
- gee.2:${PORTSDIR}/devel/libgee
+LIB_DEPENDS= xmmsclient:${PORTSDIR}/audio/xmms2 \
+ gee:${PORTSDIR}/devel/libgee
USE_SCONS= yes
USE_GNOME= gtk30
@@ -25,11 +25,12 @@ SCONS_ARGS= MANDIR=${MANPREFIX}/man
MAN1= abraca.1
MANCOMPRESSED= yes
-OPTIONS= NLS "Enable gettext support" on
+OPTIONS_DEFINE= NLS
+OPTIONS_DEFAULT= NLS
.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS='@comment '
.else
@@ -38,7 +39,7 @@ USE_GETTEXT= yes
.endif
post-configure:
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's/%%NLS%%/0/' ${WRKSRC}/SConstruct
.else
@${REINPLACE_CMD} -e 's/%%NLS%%/1/' ${WRKSRC}/SConstruct