[84770] trunk/dports/devel/caml-lwt/Portfile
mww at macports.org
mww at macports.org
Sat Oct 1 03:43:32 PDT 2011
Revision: 84770
http://trac.macports.org/changeset/84770
Author: mww at macports.org
Date: 2011-10-01 03:43:31 -0700 (Sat, 01 Oct 2011)
Log Message:
-----------
caml-lwt: use ocaml portgroup
Modified Paths:
--------------
trunk/dports/devel/caml-lwt/Portfile
Modified: trunk/dports/devel/caml-lwt/Portfile
===================================================================
--- trunk/dports/devel/caml-lwt/Portfile 2011-10-01 10:43:10 UTC (rev 84769)
+++ trunk/dports/devel/caml-lwt/Portfile 2011-10-01 10:43:31 UTC (rev 84770)
@@ -1,10 +1,11 @@
# $Id$
PortSystem 1.0
+PortGroup ocaml 1.0
name caml-lwt
version 2.3.1
-revision 1
+revision 2
distname lwt-${version}
categories devel ml
maintainers mww openmaintainer
@@ -23,29 +24,11 @@
rmd160 379ac57f13c22860354120b0d42d0efdf351a041
use_parallel_build no
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+use_oasis yes
+use_oasis_doc yes
-# cheat the system by providing a thin ocamlfind-wrapper that obeys destdir
-post-extract {
- system -W ${worksrcpath} "echo ${prefix}/bin/ocamlfind \\$* -destdir ${ocamlfind_destdir} -ldconf ignore > ocamlfind"
- system -W ${worksrcpath} "chmod +x ocamlfind"
-}
+configure.args-append "--enable-react --enable-ssl --override docdir ${destroot}${prefix}/share/doc/${name}"
-configure { system -W ${worksrcpath} "${prefix}/bin/ocaml setup.ml -configure --enable-react --enable-ssl --override prefix ${destroot}${prefix} --override docdir ${destroot}${prefix}/share/doc/${name}" }
-post-configure {
- reinplace "s|${prefix}/bin/ocamlfind|${worksrcpath}/ocamlfind|g" ${worksrcpath}/setup.data
-}
-
-build {
- system -W ${worksrcpath} "${prefix}/bin/ocaml setup.ml -build"
- system -W ${worksrcpath} "${prefix}/bin/ocaml setup.ml -doc"
-}
-
-destroot {
- xinstall -d -m 755 ${ocamlfind_destdir}
- system -W ${worksrcpath} "${prefix}/bin/ocaml setup.ml -install"
-}
-
livecheck.type regex
livecheck.url http://ocsigen.org/download/
livecheck.version ${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111001/62ae712c/attachment.html>
More information about the macports-changes
mailing list