diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-13 15:32:20 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-01-13 15:32:20 +0000 |
commit | 233792da59dd49689c6ff7ebadf7d21f96332b33 (patch) | |
tree | 4df7b8108636beacf3987a5fca28913211d03124 /mail/mutt | |
parent | Update MASTER_SITE and WWW (diff) |
- Add WITHOUT_NLS knob
PR: 61312
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=98073
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/Makefile | 8 | ||||
-rw-r--r-- | mail/mutt/pkg-plist | 54 |
2 files changed, 35 insertions, 27 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 1b411e6a6327..710689eaa527 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/Makefile @@ -39,7 +39,9 @@ RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \ WITH_SGML_DOCS?=yes .endif +.if !defined(WITHOUT_NLS) LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext +.endif .if defined(WITH_SLANG) LIB_DEPENDS+= slang.1:${PORTSDIR}/devel/libslang .elif defined(WITH_NCURSES_PORT) @@ -76,6 +78,12 @@ CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS} .endif .if defined(WITH_LOCALES_FIX) CONFIGURE_ARGS+= --enable-locales-fix +.endif +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +PLIST_SUB+= NLS="" .endif .if defined(WITH_SLANG) CONFIGURE_ARGS+= --with-slang=${PREFIX} diff --git a/mail/mutt/pkg-plist b/mail/mutt/pkg-plist index 39eb141e252d..f60215aef057 100644 --- a/mail/mutt/pkg-plist +++ b/mail/mutt/pkg-plist @@ -50,33 +50,33 @@ etc/mime.types %%EXAMPLESDIR%%/sample.mailcap %%EXAMPLESDIR%%/sample.muttrc %%EXAMPLESDIR%%/sample.muttrc-tlr -share/locale/bg/LC_MESSAGES/mutt.mo -share/locale/ca/LC_MESSAGES/mutt.mo -share/locale/cs/LC_MESSAGES/mutt.mo -share/locale/da/LC_MESSAGES/mutt.mo -share/locale/de/LC_MESSAGES/mutt.mo -share/locale/el/LC_MESSAGES/mutt.mo -share/locale/eo/LC_MESSAGES/mutt.mo -share/locale/es/LC_MESSAGES/mutt.mo -share/locale/et/LC_MESSAGES/mutt.mo -share/locale/fr/LC_MESSAGES/mutt.mo -share/locale/gl/LC_MESSAGES/mutt.mo -share/locale/hu/LC_MESSAGES/mutt.mo -share/locale/id/LC_MESSAGES/mutt.mo -share/locale/it/LC_MESSAGES/mutt.mo -share/locale/ja/LC_MESSAGES/mutt.mo -share/locale/ko/LC_MESSAGES/mutt.mo -share/locale/lt/LC_MESSAGES/mutt.mo -share/locale/nl/LC_MESSAGES/mutt.mo -share/locale/pl/LC_MESSAGES/mutt.mo -share/locale/pt_BR/LC_MESSAGES/mutt.mo -share/locale/ru/LC_MESSAGES/mutt.mo -share/locale/sk/LC_MESSAGES/mutt.mo -share/locale/sv/LC_MESSAGES/mutt.mo -share/locale/tr/LC_MESSAGES/mutt.mo -share/locale/uk/LC_MESSAGES/mutt.mo -share/locale/zh_CN/LC_MESSAGES/mutt.mo -share/locale/zh_TW/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/bg/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ca/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/cs/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/da/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/de/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/el/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/eo/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/es/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/et/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/fr/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/gl/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/hu/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/id/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/it/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ja/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ko/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/lt/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/nl/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/pl/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/ru/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/sk/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/sv/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/tr/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/uk/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/mutt.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/mutt.mo @dirrm %%EXAMPLESDIR%%/iconv @dirrm %%EXAMPLESDIR%% @dirrm %%DOCSDIR%% |