aboutsummaryrefslogtreecommitdiffstats
path: root/audio/normalize
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-03-28 07:35:31 +0800
committerkris <kris@FreeBSD.org>2004-03-28 07:35:31 +0800
commite9fa6fc293529abf2bd955885395ef7ccb3ea195 (patch)
treebc990fd62a38df83e9676e81c0d7a7a2f62f2641 /audio/normalize
parent0fe2ba4548f2b8b2497d33c6427bd9578b22e754 (diff)
downloadfreebsd-ports-graphics-e9fa6fc293529abf2bd955885395ef7ccb3ea195.tar.gz
freebsd-ports-graphics-e9fa6fc293529abf2bd955885395ef7ccb3ea195.tar.zst
freebsd-ports-graphics-e9fa6fc293529abf2bd955885395ef7ccb3ea195.zip
Support WITHOUT_NLS
Diffstat (limited to 'audio/normalize')
-rw-r--r--audio/normalize/Makefile9
-rw-r--r--audio/normalize/pkg-plist4
2 files changed, 10 insertions, 3 deletions
diff --git a/audio/normalize/Makefile b/audio/normalize/Makefile
index bea427434b2..ee185be5638 100644
--- a/audio/normalize/Makefile
+++ b/audio/normalize/Makefile
@@ -24,7 +24,6 @@ LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
.endif
USE_GETOPT_LONG= yes
-USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -35,6 +34,14 @@ CONFIGURE_ARGS= --disable-xmms
PLIST_SUB+= XMMS="@comment "
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
MAN1= normalize.1 normalize-mp3.1
CPPFLAGS= -I${LOCALBASE}/include
diff --git a/audio/normalize/pkg-plist b/audio/normalize/pkg-plist
index 75ac7d7929d..85a2ef85fcc 100644
--- a/audio/normalize/pkg-plist
+++ b/audio/normalize/pkg-plist
@@ -2,5 +2,5 @@ bin/normalize
bin/normalize-mp3
bin/normalize-ogg
%%XMMS%%lib/xmms/Effect/librva.so
-share/locale/en_GB/LC_MESSAGES/normalize.mo
-share/locale/fr/LC_MESSAGES/normalize.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/normalize.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/normalize.mo