From 55182add7d749a2d0213e12239e11dcb9ba532e9 Mon Sep 17 00:00:00 2001 From: krion Date: Fri, 28 May 2004 14:18:38 +0000 Subject: - Remove empty file - Utilize WITHOUT_NLS --- ftp/lftp/Makefile | 8 ++++++++ ftp/lftp/files/patch-src::Makefile.in | 0 ftp/lftp/pkg-plist | 22 +++++++++++----------- 3 files changed, 19 insertions(+), 11 deletions(-) delete mode 100644 ftp/lftp/files/patch-src::Makefile.in 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 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 -- cgit