# $OpenBSD: Makefile,v 1.45 2008/06/11 17:59:18 okan Exp $ COMMENT= retrieve files from the web via HTTP, HTTPS and FTP DISTNAME= wget-1.11.3 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