- Add WITHOUT_NLS knob

PR:		61312
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-01-13 15:32:20 +00:00
parent 3aef50c397
commit 233792da59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98073
4 changed files with 70 additions and 54 deletions

View File

@ -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}

View File

@ -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%%

View File

@ -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}

View File

@ -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%%