aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2007-07-07 20:10:31 +0000
committerMikhail Teterin <mi@FreeBSD.org>2007-07-07 20:10:31 +0000
commit172f9a8dcd2ee7312d5fae894561b08b5281f21f (patch)
tree200749c3ae920dea9dfb2bde029787e85e25bdab
parent47f39e3d6edd0f359bda7c8ab8f367570621b275 (diff)
downloadports-172f9a8dcd2ee7312d5fae894561b08b5281f21f.tar.gz
ports-172f9a8dcd2ee7312d5fae894561b08b5281f21f.zip
Notes
-rw-r--r--www/lynx/Makefile2
-rw-r--r--www/lynx/pkg-plist20
2 files changed, 22 insertions, 0 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 2656694cbeff..704bc2373484 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -28,9 +28,11 @@ CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS='@comment '
.else
USE_GETTEXT= yes
CONFIGURE_ARGS+=--enable-nls
+PLIST_SUB+= NLS=''
.endif
.if defined(NO_INET6) || defined(WITHOUT_IPV6)
diff --git a/www/lynx/pkg-plist b/www/lynx/pkg-plist
index a5317911ef3b..d1e2a948e870 100644
--- a/www/lynx/pkg-plist
+++ b/www/lynx/pkg-plist
@@ -106,3 +106,23 @@ share/lynx_help/lynx_url_support.html
@dirrm %%DOCSDIR%%
@dirrm share/lynx_help/keystrokes
@dirrm share/lynx_help
+%%NLS%%share/locale/da/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/de/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/et/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/it/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/rw/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/lynx.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/lynx.mo