diff options
author | sergei <sergei@FreeBSD.org> | 2004-10-13 20:34:06 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2004-10-13 20:34:06 +0800 |
commit | de0386329e397df9470c974225732792e47d320c (patch) | |
tree | e950bf9bae861d48e51afe69ba98d9fe8c7aae86 /mail | |
parent | 2f16aaf9a33ac77f40a25ede1a689c1e4d6df605 (diff) | |
download | freebsd-ports-gnome-de0386329e397df9470c974225732792e47d320c.tar.gz freebsd-ports-gnome-de0386329e397df9470c974225732792e47d320c.tar.zst freebsd-ports-gnome-de0386329e397df9470c974225732792e47d320c.zip |
- 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
Diffstat (limited to 'mail')
-rw-r--r-- | mail/anubis/Makefile | 11 | ||||
-rw-r--r-- | mail/anubis/pkg-plist | 4 |
2 files changed, 12 insertions, 3 deletions
diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile index a0cf2d21a523..85cc1b63f02b 100644 --- a/mail/anubis/Makefile +++ b/mail/anubis/Makefile @@ -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 diff --git a/mail/anubis/pkg-plist b/mail/anubis/pkg-plist index fb1ff22f659d..dcc66686487c 100644 --- a/mail/anubis/pkg-plist +++ b/mail/anubis/pkg-plist @@ -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 |