summaryrefslogtreecommitdiff
path: root/www/erlang-cowboy/Makefile
blob: cae8df5e6a528168b399e5c302ac8b70dd0cd87c (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

PORTNAME=	cowboy
PORTVERSION=	1.1.2
CATEGORIES=	www
PKGNAMEPREFIX=	erlang-

MAINTAINER=	erlang@FreeBSD.org
COMMENT=	Small, fast and modular HTTP server written in Erlang

LICENSE=	ISCL

USES=		erlang:rebar
USE_GITHUB=	yes
GH_ACCOUNT=	ninenines

ERL_BUILD_DEPS=	www/erlang-cowlib
ERL_RUN_DEPS=	www/erlang-cowlib \
		net/erlang-ranch

OPTIONS_DEFINE=	DOCS EXAMPLES

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>