[94776] trunk/dports/devel/ocamlify/Portfile

mww at macports.org mww at macports.org
Fri Jun 29 09:08:47 PDT 2012


Revision: 94776
          https://trac.macports.org/changeset/94776
Author:   mww at macports.org
Date:     2012-06-29 09:08:47 -0700 (Fri, 29 Jun 2012)
Log Message:
-----------
ocamlify: use ocaml portgroup

Modified Paths:
--------------
    trunk/dports/devel/ocamlify/Portfile

Modified: trunk/dports/devel/ocamlify/Portfile
===================================================================
--- trunk/dports/devel/ocamlify/Portfile	2012-06-29 16:02:23 UTC (rev 94775)
+++ trunk/dports/devel/ocamlify/Portfile	2012-06-29 16:08:47 UTC (rev 94776)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           ocaml 1.0
 
 name                ocamlify
 version             0.0.1
@@ -22,16 +23,9 @@
                     rmd160  0a796a55491749b0677a5f956a6ed261b6bac408
 depends_lib         port:ocaml
 
-use_configure       no
+use_oasis yes
 
-build.env           PREFIX=${prefix}
-build.target        build
-use_parallel_build  no
-
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-
-destroot.env        OCAMLFIND_DESTDIR="$ocamlfind_destdir"
-
-destroot {
-	xinstall -m 755 "${worksrcpath}/_build/src/ocamlify" "${destpath}${prefix}/bin"
+pre-destroot {
+    reinplace "s|^prefix.*|prefix=\"${destroot}${prefix}\"|g" ${worksrcpath}/setup.data
 }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120629/a069aaeb/attachment.html>


More information about the macports-changes mailing list