1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/erlang-mochiweb-basho/Makefile
Mathieu Arnold 4a3bebcae1 Add EXAMPLES 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:15:47 +00:00

28 lines
547 B
Makefile

# $FreeBSD$
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>