[53344] trunk/dports/devel
erickt at macports.org
erickt at macports.org
Fri Jul 3 14:07:09 PDT 2009
Revision: 53344
http://trac.macports.org/changeset/53344
Author: erickt at macports.org
Date: 2009-07-03 14:07:08 -0700 (Fri, 03 Jul 2009)
Log Message:
-----------
Add a Portfile for ocaml batteries.
Added Paths:
-----------
trunk/dports/devel/caml-batteries/
trunk/dports/devel/caml-batteries/Portfile
Added: trunk/dports/devel/caml-batteries/Portfile
===================================================================
--- trunk/dports/devel/caml-batteries/Portfile (rev 0)
+++ trunk/dports/devel/caml-batteries/Portfile 2009-07-03 21:07:08 UTC (rev 53344)
@@ -0,0 +1,53 @@
+# $Id$
+
+PortSystem 1.0
+name caml-batteries
+version 20090405
+categories devel ml
+maintainers erickt openmaintainer
+description A new O'Caml standard library
+long_description OCaml Batteries included (or simply "Batteries") is a \
+ community-driven effort to standardize on an consistent, \
+ documented, and comprehensive development platform for the \
+ OCaml programming language.
+homepage http://batteries.forge.ocamlcore.org/
+platforms darwin
+master_sites http://forge.ocamlcore.org/frs/download.php/199
+
+distfiles batteries-${version}.tar.gz
+worksrcdir batteries-${version}
+
+checksums md5 4cdd4c6885a2213c6d9aff6b1e4b1da7 \
+ sha1 e5fdc8940d73296cadcae5a4d10d61f7ebf5e566 \
+ rmd160 cfda79b2ce4d8980e8bb553efbd972d5da402dc4
+
+depends_lib port:ocaml \
+ port:caml-findlib \
+ port:caml-type-conv \
+ port:caml-sexplib \
+ port:caml-bin-prot \
+ port:caml-camomile \
+ port:caml-camlzip \
+ port:caml-ocamlnet \
+ port:caml-ounit
+
+configure.pre_args
+configure.args --with-docroot=${prefix}/share/doc/caml-batteries
+build.target all opt top syntax
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.target install
+destroot.destdir DESTDIR=${ocamlfind_destdir}
+
+pre-destroot {
+ file mkdir $ocamlfind_destdir
+}
+
+livecheck.check regex
+livecheck.regex "bin-prot-release-(.*?).tar.gz"
+
+variant doc description {Install documentation} {
+ build.target-append doc
+ destroot.target-append install-doc
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090703/436f4d24/attachment-0001.html>
More information about the macports-changes
mailing list