[53342] trunk/dports/devel

erickt at macports.org erickt at macports.org
Fri Jul 3 14:07:04 PDT 2009


Revision: 53342
          http://trac.macports.org/changeset/53342
Author:   erickt at macports.org
Date:     2009-07-03 14:07:03 -0700 (Fri, 03 Jul 2009)
Log Message:
-----------
Add a portfile for the OCaml project bin-prot.

Added Paths:
-----------
    trunk/dports/devel/caml-bin-prot/
    trunk/dports/devel/caml-bin-prot/Portfile

Added: trunk/dports/devel/caml-bin-prot/Portfile
===================================================================
--- trunk/dports/devel/caml-bin-prot/Portfile	                        (rev 0)
+++ trunk/dports/devel/caml-bin-prot/Portfile	2009-07-03 21:07:03 UTC (rev 53342)
@@ -0,0 +1,35 @@
+# $Id$
+
+PortSystem          1.0
+name                caml-bin-prot
+version             1.2.10
+categories          devel ml
+maintainers         erickt openmaintainer
+description         A binary protocol generator
+homepage            http://ocaml.janestreet.com/?q=node/13
+platforms           darwin
+master_sites        http://www.janestreet.com/ocaml
+
+distfiles           bin-prot-release-${version}.tar.gz
+worksrcdir          bin-prot-release-${version}
+
+checksums           md5     ad3fc9fe56e1c7c6252cd5773947ea04 \
+                    sha1    8cb2d87754d6e41a3c2221657f238fb7c726974a \
+                    rmd160  57b04b87dae398a1ce61f7736e3a92b7516cfc60
+
+depends_lib         port:ocaml port:caml-findlib port:caml-ounit
+
+use_configure       no
+
+build.env           PREFIX=${prefix}
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.env        OCAMLFIND_INSTFLAGS="-ldconf ignore -destdir $ocamlfind_destdir"
+
+pre-destroot {
+    file mkdir $ocamlfind_destdir
+}
+
+livecheck.check     regex
+livecheck.regex     "bin-prot-release-(.*?).tar.gz"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090703/c3c3aa3f/attachment.html>


More information about the macports-changes mailing list