aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-10-17 03:08:44 +0800
committersf <sf@FreeBSD.org>2003-10-17 03:08:44 +0800
commitd9c7baf9be4e040e241997a9ff89f23cd11a7d2c (patch)
treee2d7cca51e2a8b82b32f25e8db35c610a2861a43 /ftp
parentd822f0fd44baaa97913437a031c6cfb8ef12c8b9 (diff)
downloadfreebsd-ports-graphics-d9c7baf9be4e040e241997a9ff89f23cd11a7d2c.tar.gz
freebsd-ports-graphics-d9c7baf9be4e040e241997a9ff89f23cd11a7d2c.tar.zst
freebsd-ports-graphics-d9c7baf9be4e040e241997a9ff89f23cd11a7d2c.zip
add a knob to make locale support optional.
note a (not) update plan.
Diffstat (limited to 'ftp')
-rw-r--r--ftp/wget-devel/Makefile12
-rw-r--r--ftp/wget-devel/pkg-plist52
-rw-r--r--ftp/wget/Makefile12
-rw-r--r--ftp/wget/pkg-plist52
4 files changed, 74 insertions, 54 deletions
diff --git a/ftp/wget-devel/Makefile b/ftp/wget-devel/Makefile
index c0c8b362844..6026fac54d7 100644
--- a/ftp/wget-devel/Makefile
+++ b/ftp/wget-devel/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-devel/pkg-plist b/ftp/wget-devel/pkg-plist
index 11715fdd7e8..f727e8112db 100644
--- a/ftp/wget-devel/pkg-plist
+++ b/ftp/wget-devel/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
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index c0c8b362844..6026fac54d7 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 11715fdd7e8..f727e8112db 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