e32afb6fea
first component is now a package name+version/pattern, no more executable/patchname/whatnot. While there, introduce BUILD_USES_MSGFMT as shorthand to pull in devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current). Patch by Alistair Crooks <agc@netbsd.org>
41 lines
932 B
Makefile
41 lines
932 B
Makefile
# $NetBSD: Makefile,v 1.28 2001/03/27 03:20:12 hubertf Exp $
|
|
# FreeBSD Id: Makefile,v 1.4 1997/05/22 07:53:29 tg Exp
|
|
#
|
|
|
|
DISTNAME= wget-1.6
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=wget/}
|
|
|
|
PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
|
|
PATCHFILES= wget-16-v6-20010111a.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
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBINTL= yes
|
|
|
|
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 "../../mk/bsd.pkg.mk"
|