summaryrefslogtreecommitdiff
path: root/www/erlang-mochiweb-basho/Makefile
blob: 87410d11a77208e0ef97fef5bcfad469e43fc506 (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
PORTNAME=	mochiweb
PORTVERSION=	2.9.0p2
CATEGORIES=	www devel
PKGNAMEPREFIX=	erlang-
PKGNAMESUFFIX=	-basho

MAINTAINER=	erlang@FreeBSD.org
COMMENT=	Erlang library for building lightweight HTTP servers (Basho fork)

LICENSE=	MIT

CONFLICTS=	mochiweb-[0-9]*

USES=		erlang:rebar
USE_GITHUB=	yes
GH_ACCOUNT=	basho
GH_TAGNAME=	4d38821	# required

OPTIONS_DEFINE=	DOCS EXAMPLES

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

.include <bsd.port.mk>