diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-05-20 12:50:47 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-05-20 12:50:47 +0000 |
commit | b1ddda792f5d2e7ef7be659159881b8967856f10 (patch) | |
tree | 151362ec3ac6f5b89059b40a1beef70cc324bd9e /devel/bear/Makefile | |
parent | df9644ce1ddf2bd38c4261b1faa4059e4ece6fea (diff) |
Add devel/bear, a set of statistics functions for Erlang.
Notes
Notes:
svn path=/head/; revision=386857
Diffstat (limited to 'devel/bear/Makefile')
-rw-r--r-- | devel/bear/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/bear/Makefile b/devel/bear/Makefile new file mode 100644 index 000000000000..4c2cfe335949 --- /dev/null +++ b/devel/bear/Makefile @@ -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> |