Commit 637c0b09 authored by olgeni's avatar olgeni
Browse files

Add devel/bear, a set of statistics functions for Erlang.

parent 3492ad77
......@@ -126,6 +126,7 @@
SUBDIR += bbfreeze-loader
SUBDIR += bcc
SUBDIR += bcpp
SUBDIR += bear
SUBDIR += beautifyphp
SUBDIR += bennugd-core
SUBDIR += bennugd-modules
......
# $FreeBSD$
PORTNAME= bear
PORTVERSION= 0.8.2
CATEGORIES= devel
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Set of statistics functions for Erlang
LICENSE= APACHE20
BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= boundary
post-patch:
@${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/bear.app.src
@${RM} ${WRKSRC}/src/*.bak ${WRKSRC}/src/*.orig
do-build:
@cd ${WRKSRC} && ./rebar compile
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
@${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>
SHA256 (boundary-bear-0.8.2_GH0.tar.gz) = 39caaf7f25883afdc9bf943ae262cde024b0472cdef004accb7ea0075f8c88c3
SIZE (boundary-bear-0.8.2_GH0.tar.gz) = 110499
--- src/bear.app.src.orig 2015-05-20 12:29:56 UTC
+++ src/bear.app.src
@@ -1,7 +1,7 @@
{application, bear,
[
{description, ""},
- {vsn, git},
+ {vsn, "%%PORTVERSION%%"},
{registered, []},
{applications, []},
{env, []}
A set of statistics functions for Erlang. Currently bear is focused
on use inside the Folsom Erlang metrics library but all of these
functions are generic and useful in other situations.
WWW: https://github.com/boundary/bear
lib/erlang/lib/bear-%%VERSION%%/ebin/bear.app
lib/erlang/lib/bear-%%VERSION%%/ebin/bear.beam
lib/erlang/lib/bear-%%VERSION%%/src/bear.app.src
lib/erlang/lib/bear-%%VERSION%%/src/bear.erl
%%PORTDOCS%%%%DOCSDIR%%/README.md
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment