Date: Wed, 20 May 2015 12:50:48 +0000 (UTC) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386857 - in head/devel: . bear bear/files Message-ID: <201505201250.t4KComXX056308@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Wed May 20 12:50:47 2015 New Revision: 386857 URL: https://svnweb.freebsd.org/changeset/ports/386857 Log: Add devel/bear, a set of statistics functions for Erlang. Added: head/devel/bear/ head/devel/bear/Makefile (contents, props changed) head/devel/bear/distinfo (contents, props changed) head/devel/bear/files/ head/devel/bear/files/patch-src_bear.app.src (contents, props changed) head/devel/bear/pkg-descr (contents, props changed) head/devel/bear/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed May 20 12:44:34 2015 (r386856) +++ head/devel/Makefile Wed May 20 12:50:47 2015 (r386857) @@ -126,6 +126,7 @@ SUBDIR += bbfreeze-loader SUBDIR += bcc SUBDIR += bcpp + SUBDIR += bear SUBDIR += beautifyphp SUBDIR += bennugd-core SUBDIR += bennugd-modules Added: head/devel/bear/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bear/Makefile Wed May 20 12:50:47 2015 (r386857) @@ -0,0 +1,37 @@ +# $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> Added: head/devel/bear/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bear/distinfo Wed May 20 12:50:47 2015 (r386857) @@ -0,0 +1,2 @@ +SHA256 (boundary-bear-0.8.2_GH0.tar.gz) = 39caaf7f25883afdc9bf943ae262cde024b0472cdef004accb7ea0075f8c88c3 +SIZE (boundary-bear-0.8.2_GH0.tar.gz) = 110499 Added: head/devel/bear/files/patch-src_bear.app.src ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bear/files/patch-src_bear.app.src Wed May 20 12:50:47 2015 (r386857) @@ -0,0 +1,11 @@ +--- 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, []} Added: head/devel/bear/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bear/pkg-descr Wed May 20 12:50:47 2015 (r386857) @@ -0,0 +1,5 @@ +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 Added: head/devel/bear/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/bear/pkg-plist Wed May 20 12:50:47 2015 (r386857) @@ -0,0 +1,5 @@ +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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505201250.t4KComXX056308>