diff options
author | sf <sf@FreeBSD.org> | 2003-10-16 19:08:44 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2003-10-16 19:08:44 +0000 |
commit | d9c7baf9be4e040e241997a9ff89f23cd11a7d2c (patch) | |
tree | e2d7cca51e2a8b82b32f25e8db35c610a2861a43 /ftp/wget | |
parent | d822f0fd44baaa97913437a031c6cfb8ef12c8b9 (diff) | |
download | FreeBSD-ports-d9c7baf9be4e040e241997a9ff89f23cd11a7d2c.zip FreeBSD-ports-d9c7baf9be4e040e241997a9ff89f23cd11a7d2c.tar.gz |
add a knob to make locale support optional.
note a (not) update plan.
Diffstat (limited to 'ftp/wget')
-rw-r--r-- | ftp/wget/Makefile | 12 | ||||
-rw-r--r-- | ftp/wget/pkg-plist | 52 |
2 files changed, 37 insertions, 27 deletions
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile index c0c8b36..6026fac 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 11715fd..f727e81 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 |