1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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

This commit is contained in:
Jimmy Olgeni 2015-06-30 20:43:19 +00:00
parent d2b4b98560
commit b8e979e546
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391001
6 changed files with 100 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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",

View File

@ -0,0 +1,3 @@
Parse transform utilities for Erlang.
WWW: https://github.com/uwiger/parse_trans

View File

@ -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