[84193] trunk/dports/devel/caml-batteries/Portfile

mww at macports.org mww at macports.org
Mon Sep 19 23:35:36 PDT 2011


Revision: 84193
          http://trac.macports.org/changeset/84193
Author:   mww at macports.org
Date:     2011-09-19 23:35:36 -0700 (Mon, 19 Sep 2011)
Log Message:
-----------
caml-batteries: version 1.4.1; add license key; always install documentation;

Modified Paths:
--------------
    trunk/dports/devel/caml-batteries/Portfile

Modified: trunk/dports/devel/caml-batteries/Portfile
===================================================================
--- trunk/dports/devel/caml-batteries/Portfile	2011-09-20 06:19:04 UTC (rev 84192)
+++ trunk/dports/devel/caml-batteries/Portfile	2011-09-20 06:35:36 UTC (rev 84193)
@@ -4,22 +4,23 @@
 
 name                caml-batteries
 epoch               1
-version             1.3.0
+version             1.4.1
 categories          devel ml
 maintainers         erickt openmaintainer
+license             LGPL-2.1
 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/
-master_sites        https://forge.ocamlcore.org/frs/download.php/560
+master_sites        http://forge.ocamlcore.org/frs/download.php/684/
 platforms           darwin
 
 distname            batteries-${version}
 
-checksums           sha1   afd5fbb6c0424fb08e9a66790679401c8e003cc4 \
-                    rmd160 00ae9372648ee9e927a6edd581b56e84fa54a79f
+checksums           sha1    bb681690ab5a6f8b0b21c4de38349f07302eb4ba \
+                    rmd160  bdadb7ae9725abc9dce829458b519fa240588341
 
 depends_lib         port:ocaml \
                     port:caml-findlib \
@@ -32,12 +33,15 @@
                     port:caml-ounit
 
 use_configure       no
+use_parallel_build  no
 
 set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
 
-destroot.target     install
-destroot.destdir    DESTDIR=${ocamlfind_destdir}
+build.target        all doc
 
+destroot.target     install install-doc
+destroot.destdir    DESTDIR=${ocamlfind_destdir} DOCROOT=${destroot}${prefix}/share/doc/${name}
+
 pre-destroot {
     file mkdir $ocamlfind_destdir
 }
@@ -45,7 +49,3 @@
 livecheck.type      regex
 livecheck.regex     "batteries-(.*?).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/20110919/3daeaf5e/attachment-0001.html>


More information about the macports-changes mailing list