diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-03-27 23:35:31 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-03-27 23:35:31 +0000 |
commit | 375f10916a6593a754062e7931aea6273c344ae1 (patch) | |
tree | 4eeb661c397b8dd2625e90e3e2787b1c2c43ca4d /audio | |
parent | b8c770485ed42ed3ef9149c7fbf6fd0a7e33ab4f (diff) | |
download | ports-375f10916a6593a754062e7931aea6273c344ae1.tar.gz ports-375f10916a6593a754062e7931aea6273c344ae1.zip |
Support WITHOUT_NLS
Notes
Notes:
svn path=/head/; revision=105457
Diffstat (limited to 'audio')
-rw-r--r-- | audio/normalize/Makefile | 9 | ||||
-rw-r--r-- | audio/normalize/pkg-plist | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/audio/normalize/Makefile b/audio/normalize/Makefile index bea427434b27..ee185be5638f 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 75ac7d7929d3..85a2ef85fcc1 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 |