[94767] trunk/dports/devel
mww at macports.org
mww at macports.org
Fri Jun 29 01:07:00 PDT 2012
Revision: 94767
https://trac.macports.org/changeset/94767
Author: mww at macports.org
Date: 2012-06-29 01:06:59 -0700 (Fri, 29 Jun 2012)
Log Message:
-----------
ocaml-batteries-devel: new port
Modified Paths:
--------------
trunk/dports/devel/ocaml-batteries/Portfile
Added Paths:
-----------
trunk/dports/devel/ocaml-batteries-devel/
trunk/dports/devel/ocaml-batteries-devel/Portfile
Removed Paths:
-------------
trunk/dports/devel/ocaml-batteries-devel/Portfile
Modified: trunk/dports/devel/ocaml-batteries/Portfile
===================================================================
--- trunk/dports/devel/ocaml-batteries/Portfile 2012-06-29 07:51:53 UTC (rev 94766)
+++ trunk/dports/devel/ocaml-batteries/Portfile 2012-06-29 08:06:59 UTC (rev 94767)
@@ -3,6 +3,7 @@
PortSystem 1.0
name ocaml-batteries
+conflicts ocaml-batteries-devel
version 1.4.3
categories devel ml
maintainers erickt openmaintainer
@@ -36,7 +37,7 @@
set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-build.target all doc
+build.target all doc qtest
destroot.target install install-doc
destroot.destdir DESTDIR=${ocamlfind_destdir} DOCROOT=${destroot}${prefix}/share/doc/${name}
Deleted: trunk/dports/devel/ocaml-batteries-devel/Portfile
===================================================================
--- trunk/dports/devel/ocaml-batteries/Portfile 2012-06-28 22:24:35 UTC (rev 94753)
+++ trunk/dports/devel/ocaml-batteries-devel/Portfile 2012-06-29 08:06:59 UTC (rev 94767)
@@ -1,50 +0,0 @@
-# $Id$
-
-PortSystem 1.0
-
-name ocaml-batteries
-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 http://forge.ocamlcore.org/frs/download.php/684/
-platforms darwin
-
-distname batteries-${version}
-
-checksums sha1 bb681690ab5a6f8b0b21c4de38349f07302eb4ba \
- rmd160 bdadb7ae9725abc9dce829458b519fa240588341
-
-depends_lib port:ocaml \
- port:ocaml-findlib \
- port:ocaml-type-conv \
- port:ocaml-sexplib \
- port:ocaml-bin-prot \
- port:ocaml-camomile \
- port:ocaml-zip \
- port:ocaml-ocamlnet \
- port:ocaml-ounit
-
-use_configure no
-use_parallel_build no
-
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-
-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
-}
-
-livecheck.type regex
-livecheck.regex "batteries-(.*?).tar.gz"
-
Copied: trunk/dports/devel/ocaml-batteries-devel/Portfile (from rev 94754, trunk/dports/devel/ocaml-batteries/Portfile)
===================================================================
--- trunk/dports/devel/ocaml-batteries-devel/Portfile (rev 0)
+++ trunk/dports/devel/ocaml-batteries-devel/Portfile 2012-06-29 08:06:59 UTC (rev 94767)
@@ -0,0 +1,52 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup ocaml 1.0
+
+name ocaml-batteries-devel
+conflicts ocaml-batteries
+version 2.0beta2
+categories devel ml
+license LGPL-2.1
+platforms darwin
+maintainers mww openmaintainer
+description A new O'Caml standard library -- BETA version
+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/
+
+fetch.type git
+git.url git://github.com/ocaml-batteries-team/batteries-included.git
+git.branch 0bdfe1bca5c5b9dea5590b426b199bc742c541db
+
+depends_lib port:ocaml \
+ port:ocaml-findlib \
+ port:ocaml-type-conv \
+ port:ocaml-sexplib \
+ port:ocaml-bin-prot \
+ port:ocaml-camomile \
+ port:ocaml-zip \
+ port:ocaml-ocamlnet \
+ port:ocaml-ounit
+
+patch {
+ reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile
+}
+
+use_configure no
+use_parallel_build no
+
+build.target all doc qtest
+
+destroot.target install install-doc
+destroot.destdir DESTDIR=${ocamlfind_destdir} DOCROOT=${destroot}${prefix}/share/doc/${name}
+
+pre-destroot {
+ file mkdir $ocamlfind_destdir
+}
+post-destroot {
+ system "ln -sf ${prefix}/lib/ocaml/site-lib/batteries/qtest ${destroot}${prefix}/bin/qtest"
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120629/b8841e7d/attachment-0001.html>
More information about the macports-changes
mailing list