[93425] trunk/dports/devel/ocaml-uuidm

mww at macports.org mww at macports.org
Tue May 22 06:27:50 PDT 2012


Revision: 93425
          https://trac.macports.org/changeset/93425
Author:   mww at macports.org
Date:     2012-05-22 06:27:50 -0700 (Tue, 22 May 2012)
Log Message:
-----------
ocaml-uuidm: version 0.9.4

Modified Paths:
--------------
    trunk/dports/devel/ocaml-uuidm/Portfile

Added Paths:
-----------
    trunk/dports/devel/ocaml-uuidm/files/patch-setup.ml.diff

Removed Paths:
-------------
    trunk/dports/devel/ocaml-uuidm/files/patch-META.diff
    trunk/dports/devel/ocaml-uuidm/files/patch-Makefile.diff

Modified: trunk/dports/devel/ocaml-uuidm/Portfile
===================================================================
--- trunk/dports/devel/ocaml-uuidm/Portfile	2012-05-22 09:57:41 UTC (rev 93424)
+++ trunk/dports/devel/ocaml-uuidm/Portfile	2012-05-22 13:27:50 UTC (rev 93425)
@@ -1,9 +1,10 @@
 # $Id$
 
-PortSystem          1.0
+PortSystem 1.0
+PortGroup ocaml 1.0
 
 name                ocaml-uuidm
-version             0.9.3
+version             0.9.4
 categories          devel ml
 maintainers         nomaintainer
 description         RFC 4122-compliant UUID library for OCaml
@@ -18,16 +19,14 @@
 use_bzip2           yes
 extract.suffix      .tbz
 
-checksums           md5     b33a5a7400f3f57fa78d31443ecf2438 \
-                    sha1    fe0e91710e21baf386670dbedca71e59a71eaa15 \
-                    rmd160  0063eaa85baaaf22308c9e22b04f552b4f107982
+checksums           md5     9c0b2a4e25ea4c5c07fde342aa20b6fd \
+                    sha1    c54843e074f658ff135ade04c11009074b4280d6 \
+                    rmd160  025e9aa3d08ed9b69ea5844667c12041dceccf38
 
-depends_lib         port:ocaml \
-                    port:ocaml-findlib
+use_oasis yes
 
-use_configure       no
-use_parallel_build  no
-patchfiles          patch-Makefile.diff patch-META.diff
+patchfiles          patch-setup.ml.diff
+post-patch { reinplace "s|@destroot@|${destroot}|g" ${worksrcpath}/setup.ml }
 
 livecheck.type      regex
 livecheck.url       http://erratique.ch/software/uuidm/releases

Deleted: trunk/dports/devel/ocaml-uuidm/files/patch-META.diff
===================================================================
--- trunk/dports/devel/ocaml-uuidm/files/patch-META.diff	2012-05-22 09:57:41 UTC (rev 93424)
+++ trunk/dports/devel/ocaml-uuidm/files/patch-META.diff	2012-05-22 13:27:50 UTC (rev 93425)
@@ -1,10 +0,0 @@
---- src/META.orig	2009-02-04 00:49:08.000000000 +0000
-+++ src/META	2009-02-04 00:49:17.000000000 +0000
-@@ -1,5 +1,4 @@
- version = "0.9.3"
- description = "Universally unique identifiers (UUIDs) for OCaml"
--archive(byte) = "uuidm.cmo"
--archive(native) = "uuidm.cmx"
--directory = "+uuidm"
-+archive(byte) = "uuidm.cma"
-+archive(native) = "uuidm.cmxa"

Deleted: trunk/dports/devel/ocaml-uuidm/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/ocaml-uuidm/files/patch-Makefile.diff	2012-05-22 09:57:41 UTC (rev 93424)
+++ trunk/dports/devel/ocaml-uuidm/files/patch-Makefile.diff	2012-05-22 13:27:50 UTC (rev 93425)
@@ -1,16 +0,0 @@
---- Makefile.orig	2009-02-04 00:25:50.000000000 +0000
-+++ Makefile	2009-02-04 00:28:57.000000000 +0000
-@@ -0,0 +1,13 @@
-+all:
-+	cd src; \
-+	ocamlc -c uuidm.mli uuidm.ml; \
-+	ocamlopt -c uuidm.ml; \
-+	ocamlopt -a -o uuidm.cmxa uuidm.cmx; \
-+	ocamlc -c -g uuidm.ml; \
-+	ocamlc -a -g -o uuidm.cma uuidm.cmo
-+
-+install:
-+	cd src; D=${DESTDIR}/`ocamlfind printconf destdir`; \
-+	mkdir -p $$D; \
-+	ocamlfind install -destdir $$D \
-+	  uuidm META uuidm.mli uuidm.cmi uuidm.cma uuidm.cmxa uuidm.a

Added: trunk/dports/devel/ocaml-uuidm/files/patch-setup.ml.diff
===================================================================
--- trunk/dports/devel/ocaml-uuidm/files/patch-setup.ml.diff	                        (rev 0)
+++ trunk/dports/devel/ocaml-uuidm/files/patch-setup.ml.diff	2012-05-22 13:27:50 UTC (rev 93425)
@@ -0,0 +1,18 @@
+--- setup.ml	2012-03-17 11:26:44.000000000 +0100
++++ setup.ml	2012-05-22 15:22:43.000000000 +0200
+@@ -2965,14 +2965,7 @@
+       (fun () -> s_ "PS documentation")
+       (fun () -> "$docdir")
+   
+-  let destdir =
+-    p "destdir"
+-      (fun () -> s_ "Prepend a path when installing package")
+-      (fun () ->
+-         raise
+-           (PropList.Not_set
+-              ("destdir",
+-               Some (s_ "undefined by construct"))))
++  let destdir _ = "@destroot@"
+   
+   let findlib_version =
+     var_define
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120522/52dd2a93/attachment.html>


More information about the macports-changes mailing list