Date: Tue, 30 Jun 2015 20:43:19 +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: r391001 - in head/devel: . erlang-parse_trans erlang-parse_trans/files Message-ID: <201506302043.t5UKhJSp018719@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olgeni Date: Tue Jun 30 20:43:19 2015 New Revision: 391001 URL: https://svnweb.freebsd.org/changeset/ports/391001 Log: Add devel/erlang-parse_trans, parse transform utilities for Erlang. Added: head/devel/erlang-parse_trans/ head/devel/erlang-parse_trans/Makefile (contents, props changed) head/devel/erlang-parse_trans/distinfo (contents, props changed) head/devel/erlang-parse_trans/files/ head/devel/erlang-parse_trans/files/patch-rebar.config (contents, props changed) head/devel/erlang-parse_trans/pkg-descr (contents, props changed) head/devel/erlang-parse_trans/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Jun 30 20:43:12 2015 (r391000) +++ head/devel/Makefile Tue Jun 30 20:43:19 2015 (r391001) @@ -441,6 +441,7 @@ SUBDIR += erlang-msgpack SUBDIR += erlang-neotoma SUBDIR += erlang-oserl + SUBDIR += erlang-parse_trans SUBDIR += erlang-poolboy SUBDIR += erlang-protobuffs SUBDIR += erlang-providers Added: head/devel/erlang-parse_trans/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-parse_trans/Makefile Tue Jun 30 20:43:19 2015 (r391001) @@ -0,0 +1,39 @@ +# $FreeBSD$ + +PORTNAME= parse_trans +PORTVERSION= 2.9.2 +CATEGORIES= devel +PKGNAMEPREFIX= erlang- + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Parse transform utilities for Erlang + +BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= uwiger + +post-patch: + @${REINPLACE_CMD} -e 's/{vsn, git}/{vsn,"${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src + +do-build: + @cd ${WRKSRC} && ./rebar compile + +do-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} + @${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}/include + @${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 + ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include + +.include <bsd.port.mk> Added: head/devel/erlang-parse_trans/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-parse_trans/distinfo Tue Jun 30 20:43:19 2015 (r391001) @@ -0,0 +1,2 @@ +SHA256 (uwiger-parse_trans-2.9.2_GH0.tar.gz) = 25cc9af551f88827b8e502c39a6768b23b48ecee925a0d598b136a2c376e5959 +SIZE (uwiger-parse_trans-2.9.2_GH0.tar.gz) = 203862 Added: head/devel/erlang-parse_trans/files/patch-rebar.config ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-parse_trans/files/patch-rebar.config Tue Jun 30 20:43:19 2015 (r391001) @@ -0,0 +1,11 @@ +--- rebar.config.orig 2015-06-30 20:31:56 UTC ++++ rebar.config +@@ -5,7 +5,7 @@ + + {erl_opts, [debug_info]}. + {xref_checks, [undefined_function_calls]}. +-{deps, [{edown, ".*", {git, "git://github.com/uwiger/edown.git", {tag, "0.7"}}}]}. ++{deps, []}. + {edoc_opts, [{doclet, edown_doclet}, + {top_level_readme, + {"./README.md", Added: head/devel/erlang-parse_trans/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-parse_trans/pkg-descr Tue Jun 30 20:43:19 2015 (r391001) @@ -0,0 +1,3 @@ +Parse transform utilities for Erlang. + +WWW: https://github.com/uwiger/parse_trans Added: head/devel/erlang-parse_trans/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/erlang-parse_trans/pkg-plist Tue Jun 30 20:43:19 2015 (r391001) @@ -0,0 +1,44 @@ +lib/erlang/lib/parse_trans-%%VERSION%%/ebin/ct_expand.beam +lib/erlang/lib/parse_trans-%%VERSION%%/ebin/exprecs.beam +lib/erlang/lib/parse_trans-%%VERSION%%/ebin/parse_trans.app +lib/erlang/lib/parse_trans-%%VERSION%%/ebin/parse_trans.beam +lib/erlang/lib/parse_trans-%%VERSION%%/ebin/parse_trans_codegen.beam +lib/erlang/lib/parse_trans-%%VERSION%%/ebin/parse_trans_mod.beam +lib/erlang/lib/parse_trans-%%VERSION%%/ebin/parse_trans_pp.beam +lib/erlang/lib/parse_trans-%%VERSION%%/include/codegen.hrl +lib/erlang/lib/parse_trans-%%VERSION%%/include/exprecs.hrl +lib/erlang/lib/parse_trans-%%VERSION%%/src/ct_expand.erl +lib/erlang/lib/parse_trans-%%VERSION%%/src/exprecs.erl +lib/erlang/lib/parse_trans-%%VERSION%%/src/parse_trans.app.src +lib/erlang/lib/parse_trans-%%VERSION%%/src/parse_trans.app.src.bak +lib/erlang/lib/parse_trans-%%VERSION%%/src/parse_trans.erl +lib/erlang/lib/parse_trans-%%VERSION%%/src/parse_trans_codegen.erl +lib/erlang/lib/parse_trans-%%VERSION%%/src/parse_trans_mod.erl +lib/erlang/lib/parse_trans-%%VERSION%%/src/parse_trans_pp.erl +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%%%DOCSDIR%%/ct_expand.md +%%PORTDOCS%%%%DOCSDIR%%/edoc-info +%%PORTDOCS%%%%DOCSDIR%%/erlang.png +%%PORTDOCS%%%%DOCSDIR%%/exprecs.md +%%PORTDOCS%%%%DOCSDIR%%/parse_trans.md +%%PORTDOCS%%%%DOCSDIR%%/parse_trans_codegen.md +%%PORTDOCS%%%%DOCSDIR%%/parse_trans_mod.md +%%PORTDOCS%%%%DOCSDIR%%/parse_trans_pp.md +%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ct_expand_test.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex1.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex_codegen.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex_gen_module.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex_gproc_send_xform.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ex_pmod.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/exprecs_eunit.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lc.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pmod.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/t_ex.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_exprecs.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_exprecs_vsns.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_pt.erl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_transform_mod.erl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506302043.t5UKhJSp018719>