diff options
author | krion <krion@FreeBSD.org> | 2004-01-13 16:17:34 +0000 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-13 16:17:34 +0000 |
commit | b6abc40e027f6bf7572934c4e763a0c010b6da97 (patch) | |
tree | 5180553f6eebd02e9c18921ee6418c03858f0e98 /mail/mutt-devel | |
parent | 5d93800c372ff76e0f47af7088744b6cb0a3acb2 (diff) | |
download | FreeBSD-ports-b6abc40e027f6bf7572934c4e763a0c010b6da97.zip FreeBSD-ports-b6abc40e027f6bf7572934c4e763a0c010b6da97.tar.gz |
- Add WITHOUT_NLS knob
PR: 61314
Submitted by: maintainer
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r-- | mail/mutt-devel/Makefile | 8 | ||||
-rw-r--r-- | mail/mutt-devel/scripts/generate-plist | 5 |
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index ef0be54..ad58287 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -175,7 +175,9 @@ SGML_USED= no SGML_USED= no .endif +.if !defined(WITHOUT_NLS) LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext +.endif .if defined(NOPORTDOCS) SGML_USED= no @@ -216,6 +218,9 @@ CONFIGURE_ARGS+= --with-slang=${PREFIX} .if defined(WITH_MUTT_CYRUS_SASL) CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} .endif +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +.endif PATCH_DIST_STRIP= -p1 @@ -292,6 +297,9 @@ SCRIPTS_ENV+= MUTT_PGP_PATCH="yes" .if ! defined(WITHOUT_MUTT_HTML) SCRIPTS_ENV+= MUTT_HTML="yes" .endif +.if !defined(WITHOUT_NLS) +SCRIPTS_ENV+= MUTT_NLS="yes" +.endif .if !defined(NOPORTDOCS) SCRIPTS_ENV+= MUTT_PORTDOCS="yes" diff --git a/mail/mutt-devel/scripts/generate-plist b/mail/mutt-devel/scripts/generate-plist index 951219d..bcd2796 100644 --- a/mail/mutt-devel/scripts/generate-plist +++ b/mail/mutt-devel/scripts/generate-plist @@ -31,6 +31,10 @@ bin/smime_keys @unexec if cmp -s %D/etc/Muttrc.dist %D/etc/Muttrc; then rm -f %D/etc/Muttrc; fi etc/Muttrc.dist etc/mime.types +EOF + +if [ "$MUTT_NLS" = "yes" ]; then + cat >> $tmp_first <<EOF share/locale/bg/LC_MESSAGES/mutt.mo share/locale/ca/LC_MESSAGES/mutt.mo share/locale/cs/LC_MESSAGES/mutt.mo @@ -59,6 +63,7 @@ share/locale/uk/LC_MESSAGES/mutt.mo share/locale/zh_CN/LC_MESSAGES/mutt.mo share/locale/zh_TW/LC_MESSAGES/mutt.mo EOF +fi if [ "$MUTT_PORTDOCS" = "yes" ]; then cat >> $tmp_first <<EOF |