52 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.66 2014/12/10 20:23:28 jca Exp $
COMMENT = retrieve files from the web via HTTP, HTTPS and FTP
1997-12-06 20:44:45 +00:00
DISTNAME = wget-1.16.1
CATEGORIES = net
2013-11-09 23:19:01 +00:00
HOMEPAGE = https://www.gnu.org/software/wget/
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
2012-10-20 18:49:48 +00:00
WANTLIB = c crypto idn pcre ssl z
LIB_DEPENDS = devel/libidn \
devel/pcre
2000-02-12 08:02:07 +00:00
MASTER_SITES = ${MASTER_SITE_GNU:=wget/}
EXTRACT_SUFX = .tar.xz
MODULES = devel/gettext
# some regression tests require python3
MODULES += lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_BUILDDEP = No
MODPY_RUNDEP = No
TEST_DEPENDS = www/p5-HTTP-Daemon ${MODPY_RUN_DEPENDS}
# Test-proxied-https-auth.px
TEST_DEPENDS += www/p5-HTTP-Message security/p5-IO-Socket-SSL
FAKE_FLAGS = sysconfdir="${PREFIX}/share/examples/wget"
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --without-libpsl \
--without-libuuid \
--with-ssl=openssl
# wget-1.16.1: hack to avoid depending on python3 at build time
CONFIGURE_ARGS += PYTHON="" \
am_cv_pathless_PYTHON="${MODPY_BIN}"
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/build-aux
pre-build:
@${SUBST_CMD} ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/sample.wgetrc
pre-test:
@ln -s ${MODPY_BIN} ${WRKDIR}/bin/python3
1997-12-06 20:44:45 +00:00
.include <bsd.port.mk>