38 lines
965 B
Makefile
38 lines
965 B
Makefile
# $OpenBSD: Makefile,v 1.37 2004/12/16 00:31:27 alek 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= devel/gettext
|
|
|
|
MAINTAINER= Brad Smith <brad@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c crypto ssl
|
|
|
|
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>
|