openbsd-ports/net/wget/Makefile
brad 966be80fe8 upgrade to wget 1.8.2
--
From: David Gwynne <loki at niteshade dot net> with a number of changes from me
2003-05-14 15:03:51 +00:00

37 lines
935 B
Makefile

# $OpenBSD: Makefile,v 1.35 2003/05/14 15:03:51 brad Exp $
COMMENT= "retrieve files from the 'net via HTTP and FTP"
DISTNAME= wget-1.8.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU:=wget/}
MASTER_SITES0= ftp://ftp.us.debian.org/debian/pool/main/w/wget/
PATCHFILES= wget_1.8.2-10.diff.gz:0
PATCH_DIST_STRIP= -p1
HOMEPAGE= http://www.gnu.org/software/wget/
MODULES= gettext
MAINTAINER= Brad Smith <brad@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
pre-build:
@perl -pi -e s#/usr/local/etc#${SYSCONFDIR}#g ${WRKSRC}/doc/wget.texi
@perl -pi -e s#/usr/local#${PREFIX}#g ${WRKSRC}/doc/wget.texi
@perl -pi -e s#/usr/local/etc#${SYSCONFDIR}#g ${WRKSRC}/doc/sample.wgetrc
.include <bsd.port.mk>