1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/net/ranch/Makefile

39 lines
1.1 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= ranch
2013-08-26 08:29:46 +00:00
PORTVERSION= 0.8.5
CATEGORIES= net
MASTER_SITES= GH
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang socket acceptor pool for TCP protocols
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GMAKE= yes
USE_GITHUB= yes
GH_ACCOUNT= extend
GH_PROJECT= ranch
2013-08-26 08:29:46 +00:00
GH_COMMIT= 4170575
GH_TAGNAME= ${PORTVERSION}
PORTDOCS= *
.include <bsd.port.options.mk>
do-install:
2013-10-29 16:42:18 +00:00
@${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/ranch-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/ranch-${PORTVERSION}/src
.include <bsd.port.mk>