diff options
-rw-r--r-- | lang/lfe/Makefile | 27 | ||||
-rw-r--r-- | lang/lfe/distinfo | 6 | ||||
-rw-r--r-- | lang/lfe/files/patch-Makefile | 15 | ||||
-rw-r--r-- | lang/lfe/pkg-plist | 19 |
4 files changed, 55 insertions, 12 deletions
diff --git a/lang/lfe/Makefile b/lang/lfe/Makefile index 1a3efe1b4c04..f47dafa2ade3 100644 --- a/lang/lfe/Makefile +++ b/lang/lfe/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= lfe -PORTVERSION= 1.2.1 +PORTVERSION= 1.3 DISTVERSIONPREFIX= v CATEGORIES= lang @@ -22,14 +22,23 @@ do-build: 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:S,^${PREFIX}/,,:S,^,../,}/bin/lfe \ - ${STAGEDIR}${PREFIX}/bin - ${LN} -sf ${ERL_APP_ROOT:S,^${PREFIX}/,,:S,^,../,}/bin/lfec \ - ${STAGEDIR}${PREFIX}/bin - ${LN} -sf ${ERL_APP_ROOT:S,^${PREFIX}/,,:S,^,../,}/bin/lfescript \ +.for FILE in lfe lfec lfedoc lfescript + ${INSTALL_SCRIPT} ${WRKSRC}/bin/${FILE} ${STAGEDIR}${ERL_APP_ROOT}/bin + ${LN} -sf ${ERL_APP_ROOT:S,^${PREFIX}/,,:S,^,../,}/bin/${FILE} \ ${STAGEDIR}${PREFIX}/bin +.endfor +.for FILE in lfe.1 lfescript.1 + ${INSTALL_MAN} ${WRKSRC}/doc/man/${FILE} \ + ${STAGEDIR}${MAN1PREFIX}/man/man1 +.endfor +.for FILE in lfe_lib.3 lfe_doc.3 lfe_clj.3 lfe_cl.3 lfe_gen.3 \ + lfe_io.3 lfe_macro.3 lfe_comp.3 lfe_bits.3 + ${INSTALL_MAN} ${WRKSRC}/doc/man/${FILE} \ + ${STAGEDIR}${MAN1PREFIX}/man/man3 +.endfor +.for FILE in lfe_guide.7 lfe_types.7 + ${INSTALL_MAN} ${WRKSRC}/doc/man/${FILE} \ + ${STAGEDIR}${MAN1PREFIX}/man/man7 +.endfor .include <bsd.port.mk> diff --git a/lang/lfe/distinfo b/lang/lfe/distinfo index ed1617c4681a..268282f12a1b 100644 --- a/lang/lfe/distinfo +++ b/lang/lfe/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1483226722 -SHA256 (rvirding-lfe-v1.2.1_GH0.tar.gz) = 1967c6d3f604ea3ba5013b021426d8a28f45eee47fd208109ef116af2e74ab23 -SIZE (rvirding-lfe-v1.2.1_GH0.tar.gz) = 312444 +TIMESTAMP = 1504794966 +SHA256 (rvirding-lfe-v1.3_GH0.tar.gz) = 1946c0df595ae49ac33fe583f359812dec6349da6acf43c1458534de3267036b +SIZE (rvirding-lfe-v1.3_GH0.tar.gz) = 333045 diff --git a/lang/lfe/files/patch-Makefile b/lang/lfe/files/patch-Makefile new file mode 100644 index 000000000000..09f35334c44b --- /dev/null +++ b/lang/lfe/files/patch-Makefile @@ -0,0 +1,15 @@ +--- Makefile.orig 2017-09-07 14:59:29 UTC ++++ Makefile +@@ -117,10 +117,9 @@ comp_opts.mk: + + -include comp_opts.mk + +-$(BINDIR)/lfe%: +- $(INSTALL_BIN) $@ $(DESTBINDIR) ++install: compile install-beam install-bin install-man + +-install: compile install-man ++install-beam: + rm -Rf $(DESTEBINDIR) + $(INSTALL_DIR) $(DESTEBINDIR) + $(INSTALL_DATA) $(EBINDIR)/$(APP_DEF) $(DESTEBINDIR) diff --git a/lang/lfe/pkg-plist b/lang/lfe/pkg-plist index 5f04a6958e2c..c2621ee880b1 100644 --- a/lang/lfe/pkg-plist +++ b/lang/lfe/pkg-plist @@ -1,8 +1,10 @@ bin/lfe bin/lfec +bin/lfedoc bin/lfescript lib/erlang/lib/lfe-%%VERSION%%/bin/lfe lib/erlang/lib/lfe-%%VERSION%%/bin/lfec +lib/erlang/lib/lfe-%%VERSION%%/bin/lfedoc lib/erlang/lib/lfe-%%VERSION%%/bin/lfescript lib/erlang/lib/lfe-%%VERSION%%/ebin/cl.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/clj.beam @@ -17,6 +19,7 @@ lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_env.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_eval.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_gen.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_init.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_internal.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_io.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_io_format.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_io_pretty.beam @@ -34,6 +37,7 @@ lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_qlc.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_scan.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_shell.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_trans.beam +lib/erlang/lib/lfe-%%VERSION%%/ebin/lfe_types.beam lib/erlang/lib/lfe-%%VERSION%%/ebin/lfescript.beam lib/erlang/lib/lfe-%%VERSION%%/include/cl.lfe lib/erlang/lib/lfe-%%VERSION%%/include/clj.lfe @@ -56,6 +60,7 @@ lib/erlang/lib/lfe-%%VERSION%%/src/lfe_env.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_eval.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_gen.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_init.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_internal.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_io.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_io_format.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_io_pretty.erl @@ -75,4 +80,18 @@ lib/erlang/lib/lfe-%%VERSION%%/src/lfe_qlc.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_scan.xrl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_shell.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfe_trans.erl +lib/erlang/lib/lfe-%%VERSION%%/src/lfe_types.erl lib/erlang/lib/lfe-%%VERSION%%/src/lfescript.erl +man/man1/lfe.1.gz +man/man1/lfescript.1.gz +man/man3/lfe_bits.3.gz +man/man3/lfe_cl.3.gz +man/man3/lfe_clj.3.gz +man/man3/lfe_comp.3.gz +man/man3/lfe_doc.3.gz +man/man3/lfe_gen.3.gz +man/man3/lfe_io.3.gz +man/man3/lfe_lib.3.gz +man/man3/lfe_macro.3.gz +man/man7/lfe_guide.7.gz +man/man7/lfe_types.7.gz |