openbsd-ports/net/wget/Makefile

37 lines
935 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.35 2003/05/14 15:03:51 brad Exp $
COMMENT= "retrieve files from the 'net via HTTP and FTP"
1997-12-06 15:44:45 -05:00
DISTNAME= wget-1.8.2
1997-12-06 15:44:45 -05:00
CATEGORIES= net
2002-05-15 13:42:24 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=wget/}
MASTER_SITES0= ftp://ftp.us.debian.org/debian/pool/main/w/wget/
1997-12-06 15:44:45 -05:00
PATCHFILES= wget_1.8.2-10.diff.gz:0
PATCH_DIST_STRIP= -p1
HOMEPAGE= http://www.gnu.org/software/wget/
2001-10-01 23:15:03 -04:00
MODULES= gettext
2001-01-11 09:45:34 -05:00
MAINTAINER= Brad Smith <brad@openbsd.org>
1997-12-06 15:44:45 -05:00
# GPL
2000-03-05 13:30:21 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
2001-10-01 23:15:03 -04:00
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
1997-12-06 15:44:45 -05:00
.include <bsd.port.mk>