diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2012-05-31 21:12:14 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2012-05-31 21:12:14 +0000 |
commit | 68e1d1d6bac0b47fedea2eb0dc2d1b449e7a973d (patch) | |
tree | e34babc2d103058a4353e9cc46ab56239c643555 /audio/abraca/Makefile | |
parent | 3cccaae6f232fabf7cc92d7e6aa1b54c2495cf58 (diff) | |
download | ports-68e1d1d6bac0b47fedea2eb0dc2d1b449e7a973d.tar.gz ports-68e1d1d6bac0b47fedea2eb0dc2d1b449e7a973d.zip |
Notes
Diffstat (limited to 'audio/abraca/Makefile')
-rw-r--r-- | audio/abraca/Makefile | 11 |
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 |