1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add devel/poolboy, a pooling library for Erlang.

This commit is contained in:
Jimmy Olgeni 2015-05-05 10:51:38 +00:00
parent d9d5f95ab0
commit 1c5f76b823
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385462
5 changed files with 53 additions and 0 deletions

View File

@ -3602,6 +3602,7 @@
SUBDIR += poco-devel
SUBDIR += poco-ssl
SUBDIR += ponscripter-sekai
SUBDIR += poolboy
SUBDIR += popt
SUBDIR += poslib
SUBDIR += powerpc64-binutils

37
devel/poolboy/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $FreeBSD$
PORTNAME= poolboy
PORTVERSION= 1.5.1
CATEGORIES= devel
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Pooling library for Erlang
LICENSE= ISCL
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
rebar:${PORTSDIR}/devel/rebar
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= devinus
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>

2
devel/poolboy/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (devinus-poolboy-1.5.1_GH0.tar.gz) = 8da97ddd5734bb211c53f2dade6d5346819216c690b99d9619f74593bd6082b7
SIZE (devinus-poolboy-1.5.1_GH0.tar.gz) = 167120

4
devel/poolboy/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Poolboy is a lightweight, generic pooling library for Erlang with
a focus on simplicity, performance, and rock-solid disaster recovery.
WWW: https://github.com/devinus/poolboy

9
devel/poolboy/pkg-plist Normal file
View File

@ -0,0 +1,9 @@
lib/erlang/lib/poolboy-%%VERSION%%/ebin/poolboy.app
lib/erlang/lib/poolboy-%%VERSION%%/ebin/poolboy.beam
lib/erlang/lib/poolboy-%%VERSION%%/ebin/poolboy_sup.beam
lib/erlang/lib/poolboy-%%VERSION%%/ebin/poolboy_worker.beam
lib/erlang/lib/poolboy-%%VERSION%%/src/poolboy.app.src
lib/erlang/lib/poolboy-%%VERSION%%/src/poolboy.erl
lib/erlang/lib/poolboy-%%VERSION%%/src/poolboy_sup.erl
lib/erlang/lib/poolboy-%%VERSION%%/src/poolboy_worker.erl
%%PORTDOCS%%%%DOCSDIR%%/README.md