aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-05-28 14:18:38 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-05-28 14:18:38 +0000
commit692323b99c6ba14b7f838c461e40463a2b1411bc (patch)
treefe90fab1965adc6c1e1b70057c26e7bdcf927a94 /ftp
parent53bf4db7c2e0d9ebf5414f9aca56a5ff37fea237 (diff)
downloadports-692323b99c6ba14b7f838c461e40463a2b1411bc.tar.gz
ports-692323b99c6ba14b7f838c461e40463a2b1411bc.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/lftp/Makefile8
-rw-r--r--ftp/lftp/files/patch-src::Makefile.in0
-rw-r--r--ftp/lftp/pkg-plist22
3 files changed, 19 insertions, 11 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index de16d4c045cc..20439f4f6f9e 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -61,6 +61,14 @@ CONFIGURE_ARGS+= --with-socks5
CONFIGURE_ARGS+= --with-socksdante
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
MAN1= lftp.1
post-install:
diff --git a/ftp/lftp/files/patch-src::Makefile.in b/ftp/lftp/files/patch-src::Makefile.in
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/ftp/lftp/files/patch-src::Makefile.in
+++ /dev/null
diff --git a/ftp/lftp/pkg-plist b/ftp/lftp/pkg-plist
index 59751e114745..d327b0dcac46 100644
--- a/ftp/lftp/pkg-plist
+++ b/ftp/lftp/pkg-plist
@@ -14,16 +14,16 @@ etc/lftp.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/FEATURES
share/lftp/import-ncftp
share/lftp/import-netscape
-share/locale/de/LC_MESSAGES/lftp.mo
-share/locale/es/LC_MESSAGES/lftp.mo
-share/locale/fr/LC_MESSAGES/lftp.mo
-share/locale/it/LC_MESSAGES/lftp.mo
-share/locale/ja/LC_MESSAGES/lftp.mo
-share/locale/ko/LC_MESSAGES/lftp.mo
-share/locale/pl/LC_MESSAGES/lftp.mo
-share/locale/pt_BR/LC_MESSAGES/lftp.mo
-share/locale/ru/LC_MESSAGES/lftp.mo
-share/locale/zh_CN/LC_MESSAGES/lftp.mo
-share/locale/zh_TW/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/de/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/es/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/it/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/lftp.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/lftp.mo
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm share/lftp