2002-12-10 18:37:24 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2002/12/10 18:37:24 brad Exp $
|
2001-04-18 04:14:31 +00:00
|
|
|
|
|
|
|
COMMENT= "retrieve files from the 'net via HTTP and FTP"
|
1997-12-06 20:44:45 +00:00
|
|
|
|
2001-10-02 03:15:03 +00:00
|
|
|
DISTNAME= wget-1.7
|
2002-12-10 18:37:24 +00:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
1997-12-06 20:44:45 +00:00
|
|
|
CATEGORIES= net
|
2002-05-15 17:42:24 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=wget/}
|
2000-08-15 05:47:12 +00:00
|
|
|
MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
|
1997-12-06 20:44:45 +00:00
|
|
|
|
2001-10-02 03:15:03 +00:00
|
|
|
PATCHFILES= wget-17-v6-20010716a.diff.gz:0
|
2000-08-15 05:47:12 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
2000-07-01 16:22:35 +00:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/wget/
|
|
|
|
|
2001-10-02 03:15:03 +00:00
|
|
|
MODULES= gettext
|
2000-03-25 07:38:54 +00:00
|
|
|
|
2001-01-11 14:45:34 +00:00
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
1997-12-06 20:44:45 +00:00
|
|
|
|
2000-03-05 18:30:21 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2002-04-06 22:14:17 +00:00
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig \
|
|
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh \
|
|
|
|
patch-*
|
|
|
|
|
2001-10-02 03:15:03 +00:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
2000-08-15 05:47:12 +00:00
|
|
|
CONFIGURE_ARGS= --enable-ipv6
|
2000-03-25 07:38:54 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2001-10-02 03:15:03 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lintl" \
|
1997-12-06 20:44:45 +00:00
|
|
|
|
2000-08-15 05:47:12 +00:00
|
|
|
post-patch:
|
2001-10-02 03:15:03 +00:00
|
|
|
@cd ${WRKSRC}; touch configure
|
2002-12-10 18:37:24 +00:00
|
|
|
|
|
|
|
pre-build:
|
2001-10-02 03:15:03 +00:00
|
|
|
@mv -f ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/wget.texi.bak
|
|
|
|
@sed -e s#/usr/local/etc#${SYSCONFDIR}#g \
|
|
|
|
-e s#/usr/local#${PREFIX}#g \
|
|
|
|
${WRKSRC}/doc/wget.texi.bak > ${WRKSRC}/doc/wget.texi
|
|
|
|
@mv -f ${WRKSRC}/doc/sample.wgetrc ${WRKSRC}/doc/sample.wgetrc.bak
|
|
|
|
@sed -e s#/usr/local/etc#${SYSCONFDIR}#g \
|
|
|
|
${WRKSRC}/doc/sample.wgetrc.bak > ${WRKSRC}/doc/sample.wgetrc
|
2000-08-15 05:47:12 +00:00
|
|
|
|
1997-12-06 20:44:45 +00:00
|
|
|
.include <bsd.port.mk>
|