freebsd-ports/www/cowboy/Makefile
Jimmy Olgeni 973c25ee98 - Switch to USES=gmake.
- Remove redundant GH master site.
- Add staging support.
2013-11-07 14:33:57 +00:00

38 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= cowboy
PORTVERSION= 0.8.6
CATEGORIES= www
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Small, fast and modular HTTP server written in Erlang
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
ranch>=0:${PORTSDIR}/net/ranch
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= extend
GH_PROJECT= cowboy
GH_COMMIT= 9eaee45
GH_TAGNAME= ${PORTVERSION}
PORTDOCS= *
.include <bsd.port.options.mk>
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/guide/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
.include <bsd.port.mk>