Support WITHOUT_NLS
This commit is contained in:
parent
b8c770485e
commit
375f10916a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105457
2 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue