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 | |
parent | Install *.aff and *.hash files when ISPELL_FR is defined. (diff) |
Support WITHOUT_NLS
-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 |