Commit b9867b03 authored by olgeni's avatar olgeni
Browse files

Add devel/erlang-parse_trans, parse transform utilities for Erlang.

parent bed85826
...@@ -441,6 +441,7 @@ ...@@ -441,6 +441,7 @@
SUBDIR += erlang-msgpack SUBDIR += erlang-msgpack
SUBDIR += erlang-neotoma SUBDIR += erlang-neotoma
SUBDIR += erlang-oserl SUBDIR += erlang-oserl
SUBDIR += erlang-parse_trans
SUBDIR += erlang-poolboy SUBDIR += erlang-poolboy
SUBDIR += erlang-protobuffs SUBDIR += erlang-protobuffs
SUBDIR += erlang-providers SUBDIR += erlang-providers
......
# $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>
SHA256 (uwiger-parse_trans-2.9.2_GH0.tar.gz) = 25cc9af551f88827b8e502c39a6768b23b48ecee925a0d598b136a2c376e5959
SIZE (uwiger-parse_trans-2.9.2_GH0.tar.gz) = 203862
--- 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",
Parse transform utilities for Erlang.
WWW: https://github.com/uwiger/parse_trans
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
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