[37145] trunk/dports/devel
erickt at macports.org
erickt at macports.org
Tue May 27 12:27:23 PDT 2008
Revision: 37145
http://trac.macosforge.org/projects/macports/changeset/37145
Author: erickt at macports.org
Date: 2008-05-27 12:27:20 -0700 (Tue, 27 May 2008)
Log Message:
-----------
Add portfiles for the ocaml sexplib and type-conv libraries.
Added Paths:
-----------
trunk/dports/devel/caml-sexplib/
trunk/dports/devel/caml-sexplib/Portfile
trunk/dports/devel/caml-type-conv/
trunk/dports/devel/caml-type-conv/Portfile
Added: trunk/dports/devel/caml-sexplib/Portfile
===================================================================
--- trunk/dports/devel/caml-sexplib/Portfile (rev 0)
+++ trunk/dports/devel/caml-sexplib/Portfile 2008-05-27 19:27:20 UTC (rev 37145)
@@ -0,0 +1,33 @@
+# $Id$
+
+PortSystem 1.0
+name caml-sexplib
+version 3.7.4
+distfiles sexplib310-${version}.tar.gz
+worksrcdir sexplib310-${version}
+categories devel ml
+maintainers erickt openmaintainer
+description Automated code generation for converting OCaml-values to S-expressions
+homepage http://www.ocaml.info/home/ocaml_sources.html
+platforms darwin
+master_sites http://www.ocaml.info/ocaml_sources
+ checksums md5 35d5822515e98bd62510ecebccc25c12 \
+ sha1 97187a87cf8c7097034c369ea877ef295668f7c9 \
+ rmd160 5b199009d71966e35c149450b0ef04e068778697
+
+livecheck.check regex
+livecheck.regex "sexplib-(.*?).tar.gz"
+
+depends_lib port:ocaml port:caml-findlib
+
+use_configure no
+
+build.env PREFIX=${prefix}
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.env OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir"
+
+pre-destroot {
+ file mkdir $ocamlfind_destdir
+}
Added: trunk/dports/devel/caml-type-conv/Portfile
===================================================================
--- trunk/dports/devel/caml-type-conv/Portfile (rev 0)
+++ trunk/dports/devel/caml-type-conv/Portfile 2008-05-27 19:27:20 UTC (rev 37145)
@@ -0,0 +1,33 @@
+# $Id$
+
+PortSystem 1.0
+name caml-type-conv
+version 1.5.0
+distfiles type-conv-${version}.tar.gz
+worksrcdir type-conv-${version}
+categories devel ml
+maintainers erickt openmaintainer
+description Mini library required for some other preprocessing libraries (OCaml 3.10 and newer)
+homepage http://www.ocaml.info/home/ocaml_sources.html
+platforms darwin
+master_sites http://www.ocaml.info/ocaml_sources
+ checksums md5 4d6b3b2f6b54e1d5e2d4c704a9005de3 \
+ sha1 39b9d8ed414eb7616ee382bc360c2a75919a103e \
+ rmd160 e5e2a513e60a34363383ed1e71b689aed0412682
+
+livecheck.check regex
+livecheck.regex "type-conv-(.*?).tar.gz"
+
+depends_lib port:ocaml port:caml-findlib
+
+use_configure no
+
+build.env PREFIX=${prefix}
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.env OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir"
+
+pre-destroot {
+ file mkdir $ocamlfind_destdir
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080527/f73baf4d/attachment.htm
More information about the macports-changes
mailing list