summaryrefslogtreecommitdiff
path: root/ftp/wget
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-10-16 19:08:44 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-10-16 19:08:44 +0000
commita271734bc5cb5909d1879f0b4a7ca00d42b6711a (patch)
treeadf939139f9d05a3c255d7ac5d4eea4a4cebc850 /ftp/wget
parentRemove any chance of linking galeon with -pthread. Instead, make sure (diff)
add a knob to make locale support optional.
note a (not) update plan.
Notes
Notes: svn path=/head/; revision=91446
Diffstat (limited to 'ftp/wget')
-rw-r--r--ftp/wget/Makefile12
-rw-r--r--ftp/wget/pkg-plist52
2 files changed, 37 insertions, 27 deletions
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index c0c8b3628441..6026fac54d77 100644
--- a/ftp/wget/Makefile
+++ b/ftp/wget/Makefile
@@ -5,6 +5,9 @@
# $FreeBSD$
#
+# NOTE: I would like to skip wget-1.9 and wait for stabilization.
+# Please don't push me to update. Thank you.
+
PORTNAME= wget
PORTVERSION= 1.8.2
PORTREVISION= 4
@@ -19,7 +22,9 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= sf@FreeBSD.org
COMMENT= Retrieve files from the Net via HTTP and FTP
+.if !defined(WITHOUT_NLS)
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext
+.endif
USE_REINPLACE= yes
USE_PERL5_BUILD= yes
@@ -27,12 +32,17 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
.if defined(WITHOUT_SSL)
-CONFIGURE_ARGS= --with-ssl=no
+CONFIGURE_ARGS= --with-ssl=no
.else
USE_OPENSSL= yes
.endif
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LIBS=-L${LOCALBASE}/lib
+PLIST_SUB= NLS=""
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB= NLS="@comment "
+.endif
MAN1= wget.1
INFO= wget
diff --git a/ftp/wget/pkg-plist b/ftp/wget/pkg-plist
index 11715fdd7e82..f727e8112db9 100644
--- a/ftp/wget/pkg-plist
+++ b/ftp/wget/pkg-plist
@@ -1,28 +1,28 @@
bin/wget
etc/wgetrc
-share/locale/bg/LC_MESSAGES/wget.mo
-share/locale/ca/LC_MESSAGES/wget.mo
-share/locale/cs/LC_MESSAGES/wget.mo
-share/locale/da/LC_MESSAGES/wget.mo
-share/locale/de/LC_MESSAGES/wget.mo
-share/locale/el/LC_MESSAGES/wget.mo
-share/locale/es/LC_MESSAGES/wget.mo
-share/locale/et/LC_MESSAGES/wget.mo
-share/locale/fr/LC_MESSAGES/wget.mo
-share/locale/gl/LC_MESSAGES/wget.mo
-share/locale/he/LC_MESSAGES/wget.mo
-share/locale/hr/LC_MESSAGES/wget.mo
-share/locale/hu/LC_MESSAGES/wget.mo
-share/locale/it/LC_MESSAGES/wget.mo
-share/locale/ja/LC_MESSAGES/wget.mo
-share/locale/nl/LC_MESSAGES/wget.mo
-share/locale/no/LC_MESSAGES/wget.mo
-share/locale/pl/LC_MESSAGES/wget.mo
-share/locale/pt_BR/LC_MESSAGES/wget.mo
-share/locale/ru/LC_MESSAGES/wget.mo
-share/locale/sk/LC_MESSAGES/wget.mo
-share/locale/sl/LC_MESSAGES/wget.mo
-share/locale/sv/LC_MESSAGES/wget.mo
-share/locale/tr/LC_MESSAGES/wget.mo
-share/locale/uk/LC_MESSAGES/wget.mo
-share/locale/zh_TW/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/bg/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/da/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/de/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/el/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/es/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/et/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/he/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/hr/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/it/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/no/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/wget.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/wget.mo