aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/poolboy/Makefile37
-rw-r--r--devel/poolboy/distinfo2
-rw-r--r--devel/poolboy/pkg-descr4
-rw-r--r--devel/poolboy/pkg-plist9
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e47fabba9b3b..4f96705f8bdf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3602,6 +3602,7 @@
SUBDIR += poco-devel
SUBDIR += poco-ssl
SUBDIR += ponscripter-sekai
+ SUBDIR += poolboy
SUBDIR += popt
SUBDIR += poslib
SUBDIR += powerpc64-binutils
diff --git a/devel/poolboy/Makefile b/devel/poolboy/Makefile
new file mode 100644
index 000000000000..ed26e59782c4
--- /dev/null
+++ b/devel/poolboy/Makefile
@@ -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>
diff --git a/devel/poolboy/distinfo b/devel/poolboy/distinfo
new file mode 100644
index 000000000000..603c6cb59894
--- /dev/null
+++ b/devel/poolboy/distinfo
@@ -0,0 +1,2 @@
+SHA256 (devinus-poolboy-1.5.1_GH0.tar.gz) = 8da97ddd5734bb211c53f2dade6d5346819216c690b99d9619f74593bd6082b7
+SIZE (devinus-poolboy-1.5.1_GH0.tar.gz) = 167120
diff --git a/devel/poolboy/pkg-descr b/devel/poolboy/pkg-descr
new file mode 100644
index 000000000000..bc7e0d5acc24
--- /dev/null
+++ b/devel/poolboy/pkg-descr
@@ -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
diff --git a/devel/poolboy/pkg-plist b/devel/poolboy/pkg-plist
new file mode 100644
index 000000000000..e3c24897adb3
--- /dev/null
+++ b/devel/poolboy/pkg-plist
@@ -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