freebsd-ports/www/erlang-hackney/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

32 lines
649 B
Makefile

# $FreeBSD$
PORTNAME= hackney
PORTVERSION= 1.8.6
CATEGORIES= www
PKGNAMEPREFIX= erlang-
MAINTAINER= erlang@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}
OPTIONS_DEFINE= DOCS
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>