Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= wget |
4 |
PORTNAME= wget |
5 |
DISTVERSION= 1.19 |
5 |
DISTVERSION= 1.19.1 |
6 |
CATEGORIES= ftp www ipv6 |
6 |
CATEGORIES= ftp www ipv6 |
7 |
MASTER_SITES= GNU |
7 |
MASTER_SITES= GNU |
8 |
|
8 |
|
Lines 12-18
COMMENT= Retrieve files from the Net via
Link Here
|
12 |
LICENSE= GPLv3+ |
12 |
LICENSE= GPLv3+ |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
14 |
|
15 |
USES= charsetfix cpe gmake iconv makeinfo perl5 tar:xz |
15 |
TEST_DEPENDS= p5-HTTP-Daemon>=0:www/p5-HTTP-Daemon \ |
|
|
16 |
p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL |
17 |
|
18 |
USES= charsetfix cpe iconv makeinfo perl5 tar:xz |
16 |
USE_PERL5= build |
19 |
USE_PERL5= build |
17 |
CPE_VENDOR= gnu |
20 |
CPE_VENDOR= gnu |
18 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
Lines 32-41
NLS_CONFIGURE_ENABLE= nls
Link Here
|
32 |
NLS_CPPFLAGS= -I${LOCALBASE}/include |
35 |
NLS_CPPFLAGS= -I${LOCALBASE}/include |
33 |
NLS_LDFLAGS= -L${LOCALBASE}/lib |
36 |
NLS_LDFLAGS= -L${LOCALBASE}/lib |
34 |
|
37 |
|
35 |
IDN_USES= iconv |
38 |
IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 \ |
36 |
IDN_LIB_DEPENDS= libidn.so:dns/libidn |
39 |
libunistring.so:devel/libunistring |
|
|
40 |
IDN_CPPFLAGS= -I${LOCALBASE}/include |
41 |
IDN_LDFLAGS= -L${LOCALBASE}/lib |
37 |
IDN_CONFIGURE_ENABLE= iri |
42 |
IDN_CONFIGURE_ENABLE= iri |
38 |
IDN_CONFIGURE_ON= --with-libidn=${LOCALBASE} |
43 |
IDN_CONFIGURE_ON= --with-libidn=${LOCALBASE} --with-libunistring-prefix=${LOCALBASE} |
|
|
44 |
IDN_CONFIGURE_OFF= --with-included-libunistring |
39 |
|
45 |
|
40 |
METALINK_CONFIGURE_WITH=metalink |
46 |
METALINK_CONFIGURE_WITH=metalink |
41 |
METALINK_LIB_DEPENDS= libmetalink.so:misc/libmetalink |
47 |
METALINK_LIB_DEPENDS= libmetalink.so:misc/libmetalink |
Lines 43-57
METALINK_LIB_DEPENDS= libmetalink.so:mis
Link Here
|
43 |
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre |
49 |
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre |
44 |
PCRE_CPPFLAGS= -I${LOCALBASE}/include |
50 |
PCRE_CPPFLAGS= -I${LOCALBASE}/include |
45 |
PCRE_LDFLAGS= -L${LOCALBASE}/lib |
51 |
PCRE_LDFLAGS= -L${LOCALBASE}/lib |
46 |
PCRE_CONFIGURE_ENV_OFF= ac_cv_header_pcre_h=no |
52 |
PCRE_CONFIGURE_ENABLE= pcre |
47 |
|
53 |
|
48 |
PSL_CONFIGURE_WITH= libpsl |
54 |
PSL_CONFIGURE_WITH= libpsl |
49 |
PSL_LIB_DEPENDS= libpsl.so:dns/libpsl |
55 |
PSL_LIB_DEPENDS= libpsl.so:dns/libpsl |
50 |
|
56 |
|
51 |
.include <bsd.port.options.mk> |
57 |
.include <bsd.port.options.mk> |
52 |
|
58 |
|
53 |
CONFIGURE_ARGS+=--with-included-libunistring |
|
|
54 |
|
55 |
.if ${PORT_OPTIONS:MOPENSSL} |
59 |
.if ${PORT_OPTIONS:MOPENSSL} |
56 |
USES+= ssl |
60 |
USES+= ssl |
57 |
CONFIGURE_ARGS+=--with-ssl=openssl --with-libssl-prefix=${OPENSSLBASE} |
61 |
CONFIGURE_ARGS+=--with-ssl=openssl --with-libssl-prefix=${OPENSSLBASE} |
Lines 69-85
CONFIGURE_ARGS+=--without-ssl
Link Here
|
69 |
|
73 |
|
70 |
INFO= wget |
74 |
INFO= wget |
71 |
|
75 |
|
72 |
# eliminate gmakism |
76 |
TEST_TARGET= check |
|
|
77 |
|
73 |
post-patch: |
78 |
post-patch: |
74 |
${REINPLACE_CMD} -e 's,$$<,$$(srcdir)/wget.texi,' \ |
79 |
${REINPLACE_CMD} -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \ |
75 |
-e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \ |
|
|
76 |
${WRKSRC}/doc/Makefile.in |
80 |
${WRKSRC}/doc/Makefile.in |
77 |
${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \ |
81 |
${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \ |
78 |
-e 's,@file{},@file{${PREFIX}},' \ |
82 |
${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/wget.info |
79 |
${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi |
|
|
80 |
${REINPLACE_CMD} -e '/ac_fn_c_check_header_mongrel.*uuid\/uuid.h/ d' \ |
81 |
-e 's|-R$$found_dir|-Wl,-rpath=$$found_dir|g' \ |
82 |
${WRKSRC}/configure |
83 |
|
83 |
|
84 |
.include <bsd.port.pre.mk> |
84 |
.include <bsd.port.pre.mk> |
85 |
|
85 |
|