[59313] trunk/dports/devel

avsm at macports.org avsm at macports.org
Tue Oct 13 06:32:15 PDT 2009


Revision: 59313
          http://trac.macports.org/changeset/59313
Author:   avsm at macports.org
Date:     2009-10-13 06:32:13 -0700 (Tue, 13 Oct 2009)
Log Message:
-----------
initial import of caml-uuidm-0.9.3

Added Paths:
-----------
    trunk/dports/devel/caml-uuidm/
    trunk/dports/devel/caml-uuidm/Portfile
    trunk/dports/devel/caml-uuidm/files/
    trunk/dports/devel/caml-uuidm/files/patch-META.diff
    trunk/dports/devel/caml-uuidm/files/patch-Makefile.diff

Added: trunk/dports/devel/caml-uuidm/Portfile
===================================================================
--- trunk/dports/devel/caml-uuidm/Portfile	                        (rev 0)
+++ trunk/dports/devel/caml-uuidm/Portfile	2009-10-13 13:32:13 UTC (rev 59313)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem          1.0
+
+name                caml-uuidm
+version             0.9.3
+categories          devel ml
+maintainers         avsm 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
+use_parallel_build  no
+patchfiles          patch-Makefile.diff patch-META.diff
+
+livecheck.type      regex
+livecheck.url       http://erratique.ch/software/uuidm/releases
+livecheck.regex     \>uuidm-(.*)\.tbz

Added: trunk/dports/devel/caml-uuidm/files/patch-META.diff
===================================================================
--- trunk/dports/devel/caml-uuidm/files/patch-META.diff	                        (rev 0)
+++ trunk/dports/devel/caml-uuidm/files/patch-META.diff	2009-10-13 13:32:13 UTC (rev 59313)
@@ -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"

Added: trunk/dports/devel/caml-uuidm/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/caml-uuidm/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/devel/caml-uuidm/files/patch-Makefile.diff	2009-10-13 13:32:13 UTC (rev 59313)
@@ -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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091013/3cad9654/attachment.html>


More information about the macports-changes mailing list