- This port installs GNU message catalogs, so add explicit USE_GETTEXT

and USE_ICONV, respect WITHOUT_NLS knob
- Bump PORTREVISION

PR:		ports/71575
Submitted by:	leeym
This commit is contained in:
Sergei Kolobov 2004-10-13 12:34:06 +00:00
parent 9343e5b1f8
commit 20de7d2bcd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119220
2 changed files with 12 additions and 3 deletions

View File

@ -19,7 +19,7 @@
PORTNAME= anubis
PORTVERSION= 3.6.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -34,6 +34,15 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" LDFLAGS="${LDFLAGS}"
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_ICONV= yes
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
# Select TLS/SSL API: either OpenSSL (default), GnuTLS, or none
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls

View File

@ -15,5 +15,5 @@ etc/rc.d/anubis.sh.sample
%%PAM%%%%EXAMPLESDIR%%/pam/anubis.deny
%%PAM%%@dirrm %%EXAMPLESDIR%%/pam
@dirrm %%EXAMPLESDIR%%
share/locale/fr/LC_MESSAGES/anubis.mo
share/locale/tr/LC_MESSAGES/anubis.mo
%%NLS%%share/locale/fr/LC_MESSAGES/anubis.mo
%%NLS%%share/locale/tr/LC_MESSAGES/anubis.mo