blob: de52704b11a6a6b72d842caee2ce6dc77e32460c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.31 2001/06/27 04:58:51 jlam Exp $
#
DISTNAME= wget-1.6
PKGNAME= ${DISTNAME}nb1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=wget/}
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
PATCHFILES= wget-16-v6-20010508b.diff.gz
PATCH_DIST_STRIP=-p1
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/wget/wget.html
COMMENT= Retrieve files from the 'net via HTTP and FTP
BUILD_USES_MSGFMT= yes
USE_BUILDLINK_ONLY= yes
GNU_CONFIGURE= yes
#USE_LIBINTL= yes
MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
INFO_FILES= wget.info
BUILD_DEFS+= USE_INET6
# to get USE_INET6
.include "../../mk/bsd.prefs.mk"
# IPv6 support
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
# Prevent us from running autoconf (needed due to order of
# files patched in the IPv6 patch):
post-patch:
${TOUCH} ${WRKSRC}/configure
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|