mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
add a knob to make locale support optional.
note a (not) update plan.
This commit is contained in:
parent
9981507a1f
commit
a271734bc5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91446
4 changed files with 74 additions and 54 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue