aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-05-28 22:18:38 +0800
committerkrion <krion@FreeBSD.org>2004-05-28 22:18:38 +0800
commit55182add7d749a2d0213e12239e11dcb9ba532e9 (patch)
tree3e3d4a7aa9b785b0746ac719ac6338dab90b8c4a /ftp
parented0e705d0deedad98215494f2c53ed1c049998a4 (diff)
downloadfreebsd-ports-gnome-55182add7d749a2d0213e12239e11dcb9ba532e9.tar.gz
freebsd-ports-gnome-55182add7d749a2d0213e12239e11dcb9ba532e9.tar.zst
freebsd-ports-gnome-55182add7d749a2d0213e12239e11dcb9ba532e9.zip
- Remove empty file
- Utilize WITHOUT_NLS
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