[94775] trunk/dports/devel/ocamlmod/Portfile

mww at macports.org mww at macports.org
Fri Jun 29 09:02:24 PDT 2012


Revision: 94775
          https://trac.macports.org/changeset/94775
Author:   mww at macports.org
Date:     2012-06-29 09:02:23 -0700 (Fri, 29 Jun 2012)
Log Message:
-----------
ocamlmod: version 0.0.3

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

Modified: trunk/dports/devel/ocamlmod/Portfile
===================================================================
--- trunk/dports/devel/ocamlmod/Portfile	2012-06-29 15:26:06 UTC (rev 94774)
+++ trunk/dports/devel/ocamlmod/Portfile	2012-06-29 16:02:23 UTC (rev 94775)
@@ -1,9 +1,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           ocaml 1.0
 
 name                ocamlmod
-version             0.0.1
+version             0.0.3
 platforms           darwin
 categories          devel
 maintainers         landonf openmaintainer
@@ -11,22 +12,15 @@
 description         Generate OCaml modules from source files
 long_description    ${description}
 homepage            http://forge.ocamlcore.org/projects/ocamlmod/
-master_sites        http://forge.ocamlcore.org/frs/download.php/623/
+master_sites        http://forge.ocamlcore.org/frs/download.php/856/
 
-checksums           md5     2eb2eb97642ab56c5d68bd04697c904f \
-                    sha1    154ed9f4d73629c4b66d17d0cd85445b8fea0197 \
-                    rmd160  6a7b25d7d0ea74cb0d9d8f03e7440c93e0dcdd67
+checksums           rmd160  a0a6c80cdc3b0c204ee02879d5c4d13accee611d \
+                    sha256  23740d023c38b0aa8d8010d8df3ba69b1b93a5c5ebdd5ef5058ced18f88cbb70
 depends_lib         port:ocaml
 
-use_configure       no
+use_oasis           yes
 
-build.env           PREFIX=${prefix}
-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/ocamlmod" "${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/b4a4eaea/attachment-0001.html>


More information about the macports-changes mailing list