diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2015-08-29 05:14:23 +0800 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2015-08-29 05:14:23 +0800 |
commit | 073177e428476776d707a715d637041dbd340a38 (patch) | |
tree | 56832aaa3c681e463cc70b6bf2602302207fab3e /lang | |
parent | e540a1df5692cc055dc9c34f6e77f1636a136870 (diff) | |
download | freebsd-ports-gnome-073177e428476776d707a715d637041dbd340a38.tar.gz freebsd-ports-gnome-073177e428476776d707a715d637041dbd340a38.tar.zst freebsd-ports-gnome-073177e428476776d707a715d637041dbd340a38.zip |
Import lang/lfe.
LFE, Lisp Flavoured Erlang, is a lisp syntax front-end to the Erlang
compiler. Code produced with it is compatible with "normal" Erlang
code. An LFE evaluator and shell is also included.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/lfe/Makefile | 27 | ||||
-rw-r--r-- | lang/lfe/distinfo | 2 | ||||
-rw-r--r-- | lang/lfe/pkg-descr | 5 | ||||
-rw-r--r-- | lang/lfe/pkg-plist | 63 |
5 files changed, 98 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index b69fab9fb1d4..fcacfdb1f949 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -135,6 +135,7 @@ SUBDIR += kturtle SUBDIR += lafontaine SUBDIR += lci + SUBDIR += lfe SUBDIR += libhx SUBDIR += libjit SUBDIR += libobjc2 diff --git a/lang/lfe/Makefile b/lang/lfe/Makefile new file mode 100644 index 000000000000..0f2c2b5a53f2 --- /dev/null +++ b/lang/lfe/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= lfe +PORTVERSION= 0.9.2 +CATEGORIES= lang erlang elisp +DISTNAME= v${PORTVERSION} + +MAINTAINER= rpaulo@FreeBSD.org +COMMENT= Lisp Flavored Erlang + +LICENSE= APACHE20 + +USE_GITHUB= yes +GH_ACCOUNT= rvirding + +USES= erlang:rebar + +post-install: + @${MKDIR} ${STAGEDIR}${ERL_APP_ROOT}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/lfe ${STAGEDIR}${ERL_APP_ROOT}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/lfec ${STAGEDIR}${ERL_APP_ROOT}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/lfescript ${STAGEDIR}${ERL_APP_ROOT}/bin + ${LN} -sf ${ERL_APP_ROOT}/bin/lfe ${STAGEDIR}${PREFIX}/bin + ${LN} -sf ${ERL_APP_ROOT}/bin/lfec ${STAGEDIR}${PREFIX}/bin + ${LN} -sf ${ERL_APP_ROOT}/bin/lfescript ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/lang/lfe/distinfo b/lang/lfe/distinfo new file mode 100644 index 000000000000..8628c8332747 --- /dev/null +++ b/lang/lfe/distinfo @@ -0,0 +1,2 @@ +SHA256 (v0.9.2_GH0.tar.gz) = 9ff9661d03432a5f111266e56dcc24f24ceb633541f560333c3ff1acafc20794 +SIZE (v0.9.2_GH0.tar.gz) = 216777 diff --git a/lang/lfe/pkg-descr b/lang/lfe/pkg-descr new file mode 100644 index 000000000000..0b4e1709ab2e --- /dev/null +++ b/lang/lfe/pkg-descr @@ -0,0 +1,5 @@ +LFE, Lisp Flavoured Erlang, is a lisp syntax front-end to the Erlang +compiler. Code produced with it is compatible with "normal" Erlang +code. An LFE evaluator and shell is also included. + +WWW: http://lfe.io diff --git a/lang/lfe/pkg-plist b/lang/lfe/pkg-plist new file mode 100644 index 000000000000..6cc2e5ec7ad0 --- /dev/null +++ b/lang/lfe/pkg-plist @@ -0,0 +1,63 @@ +bin/lfe +bin/lfec +bin/lfescript +%%PORTDOCS%%%%DOCSDIR%%/README.md +lib/erlang/lib/lfe-%%VERSION%%/priv/lfe_drv.so +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_shell.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_qlc.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_io.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_macro_record.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_trans.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_io_format.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_gen.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_parse.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_pmod.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_init.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_io_pretty.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_bits.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_lib.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfescript.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_macro.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_lint.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_eval.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_env.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe.app +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_macro_include.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_scan.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_comp.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_codegen.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_ms.beam +lib/erlang/lib/lfe-%%VERSION%%/include/match-spec.lfe +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_io_pretty.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_bits.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_gen.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_macro_record.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_env.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfescript.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_lint.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_macro.hrl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_comp.hrl +lib/erlang/lib/lfe-%%VERSION%%/src/ChangeLog +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_lib.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe.app.src +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_macro_include.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_pmod.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_init.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_eval.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_scan.xrl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_io_format.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_parse.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_codegen.erl +lib/erlang/lib/lfe-%%VERSION%%/src/NOTES +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_scan.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_trans.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_comp.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe.hrl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_qlc.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_shell.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_macro.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_ms.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_io.erl +lib/erlang/lib/lfe-%%VERSION%%/bin/lfescript +lib/erlang/lib/lfe-%%VERSION%%/bin/lfec +lib/erlang/lib/lfe-%%VERSION%%/bin/lfe |