[131468] trunk/dports/devel/ocaml-react
mww at macports.org
mww at macports.org
Mon Jan 12 06:55:13 PST 2015
Revision: 131468
https://trac.macports.org/changeset/131468
Author: mww at macports.org
Date: 2015-01-12 06:55:13 -0800 (Mon, 12 Jan 2015)
Log Message:
-----------
ocaml-react: version 1.2.0
Modified Paths:
--------------
trunk/dports/devel/ocaml-react/Portfile
Removed Paths:
-------------
trunk/dports/devel/ocaml-react/files/
Modified: trunk/dports/devel/ocaml-react/Portfile
===================================================================
--- trunk/dports/devel/ocaml-react/Portfile 2015-01-12 14:51:05 UTC (rev 131467)
+++ trunk/dports/devel/ocaml-react/Portfile 2015-01-12 14:55:13 UTC (rev 131468)
@@ -4,8 +4,7 @@
PortGroup ocaml 1.0
name ocaml-react
-version 0.9.4
-revision 2
+version 1.2.0
categories devel ml
license BSD
maintainers mww openmaintainer
@@ -24,11 +23,40 @@
depends_lib port:ocaml
-checksums rmd160 64fc6c80cb4ff1c52daa89dda0d774297f900b6c \
- sha256 466ad4e2e7ff57c93c4e51511f53f2bdf32df46354458f4a158cd13bf3fbd4ab
+checksums rmd160 07a2621d5bef6c6509b80d7385393fbcded5139c \
+ sha256 887aaea9191870bc0f37f945c02ec4c90497d949cd4dedc3d565c3fbec7ad04e
-use_oasis yes
+use_configure no
+build {
+ # from 'opam'
+ system "cd ${worksrcpath} && ${ocaml} pkg/git.ml"
+ system "cd ${worksrcpath} && ${ocaml} pkg/build.ml native=true native-dynlink=true"
+}
+
livecheck.type regex
livecheck.url http://erratique.ch/software/react/releases/
livecheck.regex react-(\[0-9.\]+)${extract.suffix}
+
+set docdir ${destroot}${prefix}/share/doc/${name}
+set libdir ${destroot}${ocamlfind_dir}/react
+destroot {
+ # from 'react.install'
+ xinstall -m 0755 -d ${docdir} ${libdir}
+ xinstall -m 0644 "${worksrcpath}/_build/CHANGES.md" "${docdir}/CHANGES.md"
+ xinstall -m 0644 "${worksrcpath}/_build/README.md" "${docdir}/README.md"
+
+ xinstall -m 0644 "${worksrcpath}/_build/pkg/META" "${libdir}/META"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.a" "${libdir}/react.a"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.cma" "${libdir}/react.cma"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.cmi" "${libdir}/react.cmi"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.cmti" "${libdir}/react.cmti"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.cmx" "${libdir}/react.cmx"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.cmxa" "${libdir}/react.cmxa"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.cmxs" "${libdir}/react.cmxs"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react.mli" "${libdir}/react.mli"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react_top.a" "${libdir}/react_top.a"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react_top.cma" "${libdir}/react_top.cma"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react_top.cmxa" "${libdir}/react_top.cmxa"
+ xinstall -m 0644 "${worksrcpath}/_build/src/react_top.cmxs" "${libdir}/react_top.cmxs"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150112/7ad591c7/attachment.html>
More information about the macports-changes
mailing list