[92067] trunk/dports/devel

landonf at macports.org landonf at macports.org
Mon Apr 16 21:34:26 PDT 2012


Revision: 92067
          https://trac.macports.org/changeset/92067
Author:   landonf at macports.org
Date:     2012-04-16 21:34:25 -0700 (Mon, 16 Apr 2012)
Log Message:
-----------
Add port for ocamlmod: http://forge.ocamlcore.org/projects/ocamlmod/

Added Paths:
-----------
    trunk/dports/devel/ocamlmod/
    trunk/dports/devel/ocamlmod/Portfile

Added: trunk/dports/devel/ocamlmod/Portfile
===================================================================
--- trunk/dports/devel/ocamlmod/Portfile	                        (rev 0)
+++ trunk/dports/devel/ocamlmod/Portfile	2012-04-17 04:34:25 UTC (rev 92067)
@@ -0,0 +1,32 @@
+# $Id: $
+
+PortSystem          1.0
+
+name                ocamlmod
+version             0.0.1
+platforms           darwin
+categories          devel
+maintainers         landonf openmaintainer
+license             LGPL-2.1
+description         Generate OCaml modules from source files
+long_description    ${description}
+homepage            http://forge.ocamlcore.org/projects/ocamlmod/
+master_sites        http://forge.ocamlcore.org/frs/download.php/623/
+
+checksums           md5     2eb2eb97642ab56c5d68bd04697c904f \
+                    sha1    154ed9f4d73629c4b66d17d0cd85445b8fea0197 \
+                    rmd160  6a7b25d7d0ea74cb0d9d8f03e7440c93e0dcdd67
+depends_lib         port:ocaml
+
+use_configure       no
+
+build.env           PREFIX=${prefix}
+use_parallel_build  no
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.env        OCAMLFIND_DESTDIR="$ocamlfind_destdir"
+
+destroot {
+	xinstall -m 755 "${worksrcpath}/_build/src/ocamlmod" "${destpath}${prefix}/bin"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120416/47175b87/attachment.html>


More information about the macports-changes mailing list