[95657] trunk/dports/lang
mww at macports.org
mww at macports.org
Wed Jul 18 13:41:08 PDT 2012
Revision: 95657
https://trac.macports.org/changeset/95657
Author: mww at macports.org
Date: 2012-07-18 13:41:07 -0700 (Wed, 18 Jul 2012)
Log Message:
-----------
ocaml-js_of_ocaml: new port
Added Paths:
-----------
trunk/dports/lang/ocaml-js_of_ocaml/
trunk/dports/lang/ocaml-js_of_ocaml/Portfile
Added: trunk/dports/lang/ocaml-js_of_ocaml/Portfile
===================================================================
--- trunk/dports/lang/ocaml-js_of_ocaml/Portfile (rev 0)
+++ trunk/dports/lang/ocaml-js_of_ocaml/Portfile 2012-07-18 20:41:07 UTC (rev 95657)
@@ -0,0 +1,40 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup ocaml 1.0
+
+name ocaml-js_of_ocaml
+version 1.2
+categories lang devel www ml
+platforms darwin
+license LGPL-2
+maintainers mww openmaintainer
+description Js_of_ocaml is a compiler of OCaml bytecode to Javascript
+long_description \
+ Js_of_ocaml is a compiler of OCaml bytecode to Javascript. It makes it \
+ possible to run Ocaml programs in a Web browser.
+homepage http://ocsigen.org/js_of_ocaml/
+master_sites http://ocsigen.org/download/
+distname js_of_ocaml-${version}
+checksums rmd160 9a10c83330ce3fa7030f3941f1f44067f3df60f5 \
+ sha256 c391c760c3581b1ed9589c55be787bb17441482d054f1653f25418bce79ea41b
+
+depends_lib port:ocaml port:ocaml-findlib port:ocaml-deriving-ocsigen port:ocaml-lwt
+
+configure {
+ reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile
+}
+
+use_parallel_build no
+build.target all doc
+build.args BINDIR=${prefix}/bin
+
+destroot.destdir BINDIR=${destroot}${prefix}/bin
+
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE README TODO.txt VERSION \
+ ${destroot}${prefix}/share/doc/${name}
+ file copy ${worksrcpath}/doc/api-html \
+ ${destroot}${prefix}/share/doc/${name}/api
+}
Property changes on: trunk/dports/lang/ocaml-js_of_ocaml/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120718/668e53c2/attachment.html>
More information about the macports-changes
mailing list