View | Details | Raw Unified | Return to bug 122482
Collapse All | Expand All

(-)wget/Makefile (-26 / +45 lines)
Lines 5-48 Link Here
5
# $FreeBSD: ports/ftp/wget/Makefile,v 1.85 2008/02/02 08:03:21 vd Exp $
5
# $FreeBSD: ports/ftp/wget/Makefile,v 1.85 2008/02/02 08:03:21 vd Exp $
6
#
6
#
7
7
8
PORTNAME=	wget
8
PORTNAME=		wget
9
DISTVERSION=	1.11
9
DISTVERSION=		1.11.1
10
CATEGORIES=	ftp www ipv6
10
CATEGORIES=		ftp www ipv6
11
MASTER_SITES=	${MASTER_SITE_GNU}
11
MASTER_SITES=		${MASTER_SITE_GNU}
12
MASTER_SITE_SUBDIR=	wget
12
MASTER_SITE_SUBDIR=	wget
13
13
14
MAINTAINER=	vd@FreeBSD.org
14
MAINTAINER=	vd@FreeBSD.org
15
COMMENT=	Retrieve files from the Net via HTTP and FTP
15
COMMENT=	Retrieve files from the Net via HTTP(S) and FTP
16
16
17
USE_BZIP2=	yes
17
USE_BZIP2=		yes
18
USE_GMAKE=		yes
19
USE_PERL5_BUILD=	yes
20
GNU_CONFIGURE=		yes
21
CONFIGURE_ENV+=		CPPFLAGS="${CPPFLAGS}" \
22
			LDFLAGS="${LDFLAGS}"
18
23
19
.if !defined(WITHOUT_NLS)
24
MAN1=	wget.1
20
USE_GETTEXT=	yes
25
INFO=	wget
21
.endif
22
26
23
USE_GMAKE=	yes
27
OPTIONS=	GNUTLS "HTTPS suppport with gnutls" Off \
24
USE_PERL5_BUILD=yes
28
		IPV6 "IPV6 support" On \
25
GNU_CONFIGURE=	yes
29
		NLS "Native Language Support with gettext" On \
30
		SSL "HTTPS support with openssl"  On
26
31
27
.if defined(WITHOUT_SSL)
32
.include <bsd.port.pre.mk>
28
CONFIGURE_ARGS=		--with-ssl=no
33
34
.ifdef(WITH_GNUTLS)
35
.ifdef(WITH_SSL)
36
IGNORE= 	options WITH_GNUTLS and WITH_SSL are mutually exclusive, enable only one of the two
37
.endif
38
LIB_DEPENDS+=		gnutls:${PORTSDIR}/security/gnutls
39
CONFIGURE_ARGS+=	--with-ssl=gnutls
40
LDFLAGS+=		-L${LOCALBASE}/lib
41
CPPFLAGS+=		-I${LOCALBASE}/include
42
.elifdef(WITH_SSL)
43
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
44
CONFIGURE_ARGS+=	--with-ssl
29
.else
45
.else
30
USE_OPENSSL=	yes
46
CONFIGURE_ARGS+=	--without-ssl
31
.endif
47
.endif
32
48
33
.if defined(WITHOUT_NLS)
49
.ifdef(WITH_IPV6)
34
CONFIGURE_ARGS+=	--disable-nls
50
CONFIGURE_ARGS+=	--enable-ipv6
35
PLIST_SUB=	NLS="@comment "
36
.else
51
.else
37
CONFIGURE_ARGS+=	--enable-nls
52
CONFIGURE_ARGS+=	--disable-ipv6
38
LDFLAGS=	-L${LOCALBASE}/lib
39
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
40
		"LDFLAGS=${LDFLAGS}"
41
PLIST_SUB=	NLS=""
42
.endif
53
.endif
43
54
44
MAN1=		wget.1
55
.ifdef(WITH_NLS)
45
INFO=		wget
56
USE_GETTEXT=		yes
57
CONFIGURE_ARGS+=	--enable-nls
58
LDFLAGS+=		-L${LOCALBASE}/lib
59
CPPFLAGS+=		-I${LOCALBASE}/include
60
PLIST_SUB+=		NLS=""
61
.else
62
CONFIGURE_ARGS+=	--disable-nls
63
PLIST_SUB=		NLS="@comment "
64
.endif
46
65
47
post-patch:
66
post-patch:
48
	${RM} -f ${WRKSRC}/doc/wget.info* ${WRKSRC}/po/*.mo ${WRKSRC}/po/*.gmo
67
	${RM} -f ${WRKSRC}/doc/wget.info* ${WRKSRC}/po/*.mo ${WRKSRC}/po/*.gmo
Lines 53-56 Link Here
53
			 -e 's,@file{},@file{${PREFIX}},' \
72
			 -e 's,@file{},@file{${PREFIX}},' \
54
		${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
73
		${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
55
74
56
.include <bsd.port.mk>
75
.include <bsd.port.post.mk>
(-)wget/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (wget-1.11.tar.bz2) = d2746aac29f2c0f661ee8e26c6b695ad
1
MD5 (wget-1.11.1.tar.bz2) = 3fda0bab6a883a5f6599d2da58765f93
2
SHA256 (wget-1.11.tar.bz2) = 3daa33dc67b9096d785253331b6a95db6901caa913f09e2377e1b61f50180d56
2
SHA256 (wget-1.11.1.tar.bz2) = 486e2d6be920ceed44602b2f4c08e57d815b8097b4474615f4cd4b463e2b18ca
3
SIZE (wget-1.11.tar.bz2) = 930167
3
SIZE (wget-1.11.1.tar.bz2) = 929618

Return to bug 122482