1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support WITHOUT_NLS

This commit is contained in:
Kirill Ponomarev 2004-07-10 20:40:06 +00:00
parent 1d96ad83bb
commit 12053e5b49
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113347
2 changed files with 15 additions and 8 deletions

View File

@ -29,7 +29,6 @@ EXTRACT_AFTER_ARGS= | ${SED} 's/[mM][aA][iI][lL][fF][iI][lL][tT][eE][rR]/filterm
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GETOPT_LONG= yes
USE_GETTEXT= yes
USE_BISON= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
@ -42,6 +41,14 @@ MAN5= filtermailex.5 filtermailrc.5
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-extract:
@${RM} -f ${WRKSRC}/src/getopt.h

View File

@ -1,8 +1,8 @@
bin/filtermail
share/locale/de/LC_MESSAGES/filtermail.mo
share/locale/el/LC_MESSAGES/filtermail.mo
share/locale/es/LC_MESSAGES/filtermail.mo
share/locale/fr/LC_MESSAGES/filtermail.mo
share/locale/it/LC_MESSAGES/filtermail.mo
share/locale/pt_BR/LC_MESSAGES/filtermail.mo
share/locale/ru/LC_MESSAGES/filtermail.mo
%%NLS%%share/locale/de/LC_MESSAGES/filtermail.mo
%%NLS%%share/locale/el/LC_MESSAGES/filtermail.mo
%%NLS%%share/locale/es/LC_MESSAGES/filtermail.mo
%%NLS%%share/locale/fr/LC_MESSAGES/filtermail.mo
%%NLS%%share/locale/it/LC_MESSAGES/filtermail.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/filtermail.mo
%%NLS%%share/locale/ru/LC_MESSAGES/filtermail.mo