2020-01-24 04:53:37 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.85 2020/01/24 04:53:37 tb Exp $
|
2001-04-18 04:14:31 +00:00
|
|
|
|
2009-10-15 08:27:04 +00:00
|
|
|
COMMENT = retrieve files from the web via HTTP, HTTPS and FTP
|
1997-12-06 20:44:45 +00:00
|
|
|
|
2019-04-23 20:15:08 +00:00
|
|
|
DISTNAME = wget-1.20.3
|
2009-10-15 08:27:04 +00:00
|
|
|
CATEGORIES = net
|
2020-01-24 04:53:37 +00:00
|
|
|
REVISION = 3
|
2000-08-15 05:47:12 +00:00
|
|
|
|
2013-11-09 23:19:01 +00:00
|
|
|
HOMEPAGE = https://www.gnu.org/software/wget/
|
2019-02-21 22:32:31 +00:00
|
|
|
MAINTAINER = Nam Nguyen <namn@berkeley.edu>
|
2000-07-01 16:22:35 +00:00
|
|
|
|
2009-10-15 08:27:04 +00:00
|
|
|
# GPLv3
|
2019-07-12 20:48:23 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2000-03-25 07:38:54 +00:00
|
|
|
|
2019-02-21 22:32:31 +00:00
|
|
|
WANTLIB += c crypto iconv idn2 intl pcre2-8 psl ssl unistring z
|
2017-10-31 18:00:32 +00:00
|
|
|
|
2019-05-20 22:15:00 +00:00
|
|
|
BUILD_DEPENDS = devel/gettext,-tools
|
2017-10-31 18:00:32 +00:00
|
|
|
|
2017-02-22 02:49:25 +00:00
|
|
|
LIB_DEPENDS = converters/libunistring \
|
2019-05-20 22:15:00 +00:00
|
|
|
devel/gettext,-runtime \
|
2017-02-22 02:49:25 +00:00
|
|
|
devel/libidn2 \
|
2019-02-21 22:32:31 +00:00
|
|
|
devel/pcre2 \
|
2015-04-09 11:32:04 +00:00
|
|
|
net/libpsl
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2009-10-15 08:27:04 +00:00
|
|
|
MASTER_SITES = ${MASTER_SITE_GNU:=wget/}
|
|
|
|
|
2014-11-05 22:11:40 +00:00
|
|
|
# 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"
|
2014-01-29 06:08:42 +00:00
|
|
|
|
2009-10-15 08:27:04 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
2015-04-09 11:32:04 +00:00
|
|
|
CONFIGURE_ARGS = --with-ssl=openssl
|
2015-01-04 22:01:22 +00:00
|
|
|
# hack to avoid depending on python3 at build time
|
2014-12-10 20:23:28 +00:00
|
|
|
CONFIGURE_ARGS += PYTHON="" \
|
|
|
|
am_cv_pathless_PYTHON="${MODPY_BIN}"
|
2009-10-15 08:27:04 +00:00
|
|
|
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2014-11-05 22:11:40 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/build-aux
|
2002-12-10 18:37:24 +00:00
|
|
|
|
|
|
|
pre-build:
|
2008-10-09 18:50:44 +00:00
|
|
|
@${SUBST_CMD} ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/sample.wgetrc
|
2000-08-15 05:47:12 +00:00
|
|
|
|
1997-12-06 20:44:45 +00:00
|
|
|
.include <bsd.port.mk>
|