1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/erlang-mochiweb/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
540 B
Makefile

# $FreeBSD$
PORTNAME= mochiweb
PORTVERSION= 2.18.0
DISTVERSIONPREFIX= v
CATEGORIES= www devel
PKGNAMEPREFIX= erlang-
MAINTAINER= erlang@FreeBSD.org
COMMENT= Erlang library for building lightweight HTTP servers
LICENSE= MIT
CONFLICTS= mochiweb-basho-[0-9]*
USES= cpe erlang:rebar
CPE_VENDOR= mochiweb_project
USE_GITHUB= yes
GH_ACCOUNT= mochi
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>