2015-07-01 10:35:06 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hackney
|
2017-06-09 16:52:33 +02:00
|
|
|
PORTVERSION= 1.8.6
|
2015-07-01 10:35:06 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
PKGNAMEPREFIX= erlang-
|
|
|
|
|
2018-06-08 15:43:25 +02:00
|
|
|
MAINTAINER= erlang@FreeBSD.org
|
2015-07-01 10:35:06 +02:00
|
|
|
COMMENT= Simple HTTP client in Erlang
|
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
|
2015-07-07 00:27:17 +02:00
|
|
|
USES= erlang:rebar3
|
2015-07-01 10:35:06 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= benoitc
|
|
|
|
|
2015-07-07 00:27:17 +02:00
|
|
|
ERL_BUILD_DEPS= dns/erlang-idna \
|
2015-10-27 15:01:59 +01:00
|
|
|
devel/erlang-certifi \
|
2016-03-29 16:53:13 +02:00
|
|
|
devel/erlang-ssl_verify_fun \
|
2016-03-12 17:57:08 +01:00
|
|
|
devel/erlang-metrics \
|
2015-10-27 15:01:59 +01:00
|
|
|
misc/erlang-mimerl
|
2015-07-07 00:27:17 +02:00
|
|
|
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
|
|
|
|
|
2018-09-10 15:14:50 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2015-07-01 10:35:06 +02:00
|
|
|
pre-build:
|
|
|
|
@${MKDIR} ${WRKSRC}/_build/default/lib
|
2016-03-29 16:53:13 +02:00
|
|
|
.for lib in idna certifi ssl_verify_fun metrics mimerl
|
2015-07-01 10:35:06 +02:00
|
|
|
@${LN} -s ${PREFIX}/lib/erlang/lib/${lib}-* ${WRKSRC}/_build/default/lib/${lib}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|