aboutsummaryrefslogtreecommitdiff
path: root/multimedia/audacious/Makefile
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2006-09-10 07:18:34 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2006-09-10 07:18:34 +0000
commit959892613db4553a3009ef24c596a0c82deb91e0 (patch)
tree903e4bf3445f21c5b09a3f7cbe52024d9fa69f0e /multimedia/audacious/Makefile
parentdf50621e7f4c9ec3aaa5b78989e72c7bcb9fae3f (diff)
downloadports-959892613db4553a3009ef24c596a0c82deb91e0.tar.gz
ports-959892613db4553a3009ef24c596a0c82deb91e0.zip
Notes
Diffstat (limited to 'multimedia/audacious/Makefile')
-rw-r--r--multimedia/audacious/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/multimedia/audacious/Makefile b/multimedia/audacious/Makefile
index 499547660f2f..0eec645b7363 100644
--- a/multimedia/audacious/Makefile
+++ b/multimedia/audacious/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= audacious
-PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTVERSION= 1.1.2
CATEGORIES= multimedia audio
MASTER_SITES= http://audacious-media-player.org/release/ \
${MASTER_SITE_LOCAL}
@@ -24,7 +23,6 @@ LIB_DEPENDS= sndfile:${PORTSDIR}/audio/libsndfile \
tag.5:${PORTSDIR}/audio/taglib
USE_GNOME= gtk20 libglade2
-USE_GETTEXT= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
@@ -51,7 +49,8 @@ OPTIONS= VORBIS "Enable Ogg Vorbis input" on \
SID "Enable sid input" off \
MPC "Enable mpc input" off \
ESOUND "Enable Esound output" off \
- GNOME "Build with gnomevfs/gconf support" off
+ GNOME "Build with gnomevfs/gconf support" off \
+ NLS "Native Language Support" on
.include <bsd.port.pre.mk>
@@ -115,6 +114,15 @@ USE_GNOME+= gnomevfs2
CONFIGURE_ARGS+= --enable-gnome-vfs --enable-gconf
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+= --enable-nls
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|(LIBDIR)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile