# $OpenBSD: Makefile,v 1.44 2007/09/18 18:51:15 aanriot Exp $ COMMENT= retrieve files from the web via HTTP, HTTPS and FTP DISTNAME= wget-1.10.2 PKGNAME= ${DISTNAME}p1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GNU:=wget/} HOMEPAGE= http://www.gnu.org/software/wget/ MODULES= devel/gettext # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= c crypto ssl CONFIGURE_STYLE=gnu CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" 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