aboutsummaryrefslogtreecommitdiffstats
path: root/audio/abraca
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2012-06-01 05:12:14 +0800
committermadpilot <madpilot@FreeBSD.org>2012-06-01 05:12:14 +0800
commit492afaa2fb9198100322328866e37716b85525cf (patch)
tree720939f4b3538e64a5898e8121b8f9686cfdc8a5 /audio/abraca
parent9197ed2d2f6ccc6c09f305bfb60fa3a3d379ec74 (diff)
downloadfreebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.tar.gz
freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.tar.zst
freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.zip
- 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)
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