aboutsummaryrefslogtreecommitdiffstats
path: root/www/lynx
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2007-07-08 04:10:31 +0800
committermi <mi@FreeBSD.org>2007-07-08 04:10:31 +0800
commit4e18a5a19095b461a53704d57b1ed01232b62523 (patch)
tree57547c087c71d98953a3d50e0d88bf1542dc334e /www/lynx
parent8d0ab2c099748a48bcfc61c85bd9530378dd9ba8 (diff)
downloadfreebsd-ports-gnome-4e18a5a19095b461a53704d57b1ed01232b62523.tar.gz
freebsd-ports-gnome-4e18a5a19095b461a53704d57b1ed01232b62523.tar.zst
freebsd-ports-gnome-4e18a5a19095b461a53704d57b1ed01232b62523.zip
Add the localizations (.mo) files, which are now installed by default
(unless WITHOUT_NLS is set) to pkg-plist. Notified by: pav
Diffstat (limited to 'www/lynx')
-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