Modified: trunk/dports/devel/ocamlify/Portfile (94775 => 94776)
--- 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
}
+