diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-uuidm/Portfile devel/caml-uuidm/Portfile
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-uuidm/Portfile	1970-01-01 01:00:00.000000000 +0100
+++ devel/caml-uuidm/Portfile	2009-04-13 15:40:52.000000000 +0200
@@ -0,0 +1,30 @@
+# $Id$
+
+PortSystem          1.0
+
+name                caml-uuidm
+version             0.9.3
+categories          devel ml
+maintainers         anil@recoil.org openmaintainer
+description         RFC 4122-compliant UUID library for OCaml
+long_description    Uuidm is an OCaml module implementing 128 bits universally \
+                    unique identifiers version 3, 5 (name based with MD5, SHA-1 \
+                    hashing) and 4 (random based) according to RFC 4122.
+homepage            http://erratique.ch/software/uuidm/
+platforms           darwin
+master_sites        http://erratique.ch/software/uuidm/releases
+
+distname            uuidm-${version}
+use_bzip2           yes
+extract.suffix      .tbz
+
+checksums           md5     b33a5a7400f3f57fa78d31443ecf2438 \
+                    sha1    fe0e91710e21baf386670dbedca71e59a71eaa15 \
+                    rmd160  0063eaa85baaaf22308c9e22b04f552b4f107982
+
+depends_lib         port:ocaml \
+                    port:caml-findlib \
+
+use_configure       no
+
+patchfiles          patch-Makefile.diff patch-META.diff
diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-uuidm/files/patch-META.diff devel/caml-uuidm/files/patch-META.diff
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-uuidm/files/patch-META.diff	1970-01-01 01:00:00.000000000 +0100
+++ devel/caml-uuidm/files/patch-META.diff	2009-04-13 15:40:52.000000000 +0200
@@ -0,0 +1,10 @@
+--- 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"
diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-uuidm/files/patch-Makefile.diff devel/caml-uuidm/files/patch-Makefile.diff
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-uuidm/files/patch-Makefile.diff	1970-01-01 01:00:00.000000000 +0100
+++ devel/caml-uuidm/files/patch-Makefile.diff	2009-04-13 15:40:52.000000000 +0200
@@ -0,0 +1,16 @@
+--- 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

