summaryrefslogtreecommitdiffstats
path: root/www/erlang-hackney/Makefile
blob: 68ddabddd54106bf896c1c09c37b9cc311100e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $FreeBSD$

PORTNAME=	hackney
PORTVERSION=	1.2.0
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-ssl_verify_hostname
ERL_RUN_DEPS:=	${ERL_BUILD_DEPS}

pre-build:
	@${MKDIR} ${WRKSRC}/_build/default/lib
.for lib in idna ssl_verify_hostname
	@${LN} -s ${PREFIX}/lib/erlang/lib/${lib}-* ${WRKSRC}/_build/default/lib/${lib}
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud