1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/www/erlang-hackney/Makefile
2016-07-11 10:49:08 +00:00

31 lines
627 B
Makefile

# $FreeBSD$
PORTNAME= hackney
PORTVERSION= 1.6.1
CATEGORIES= www
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Simple HTTP client in Erlang
LICENSE= APACHE20
USES= erlang:rebar3
USE_GITHUB= yes
GH_ACCOUNT= benoitc
ERL_BUILD_DEPS= dns/erlang-idna \
devel/erlang-certifi \
devel/erlang-ssl_verify_fun \
devel/erlang-metrics \
misc/erlang-mimerl
ERL_RUN_DEPS:= ${ERL_BUILD_DEPS}
pre-build:
@${MKDIR} ${WRKSRC}/_build/default/lib
.for lib in idna certifi ssl_verify_fun metrics mimerl
@${LN} -s ${PREFIX}/lib/erlang/lib/${lib}-* ${WRKSRC}/_build/default/lib/${lib}
.endfor
.include <bsd.port.mk>