diff options
author | krion <krion@FreeBSD.org> | 2004-01-13 23:32:20 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-01-13 23:32:20 +0800 |
commit | 79c32b806e3d0bc7e17bef4db0462f6247139ecd (patch) | |
tree | 78889d9d237cb2eadbdd48f43df39ba960f154b7 /mail | |
parent | 77b8e73b693cc9e95c50c5c60af91e4a976c0bde (diff) | |
download | freebsd-ports-gnome-79c32b806e3d0bc7e17bef4db0462f6247139ecd.tar.gz freebsd-ports-gnome-79c32b806e3d0bc7e17bef4db0462f6247139ecd.tar.zst freebsd-ports-gnome-79c32b806e3d0bc7e17bef4db0462f6247139ecd.zip |
- Add WITHOUT_NLS knob
PR: 61312
Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mutt/Makefile | 8 | ||||
-rw-r--r-- | mail/mutt/pkg-plist | 54 | ||||
-rw-r--r-- | mail/mutt14/Makefile | 8 | ||||
-rw-r--r-- | mail/mutt14/pkg-plist | 54 |
4 files changed, 70 insertions, 54 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%% diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile index 1b411e6a6327..710689eaa527 100644 --- a/mail/mutt14/Makefile +++ b/mail/mutt14/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/mutt14/pkg-plist b/mail/mutt14/pkg-plist index 39eb141e252d..f60215aef057 100644 --- a/mail/mutt14/pkg-plist +++ b/mail/mutt14/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%% |