diff -ruN /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/caml-uuidm/Portfile devel/caml-uuidm/Portfile
old
|
new
|
|
| 1 | # $Id$ |
| 2 | |
| 3 | PortSystem 1.0 |
| 4 | |
| 5 | name caml-uuidm |
| 6 | version 0.9.3 |
| 7 | categories devel ml |
| 8 | maintainers anil@recoil.org openmaintainer |
| 9 | description RFC 4122-compliant UUID library for OCaml |
| 10 | long_description Uuidm is an OCaml module implementing 128 bits universally \ |
| 11 | unique identifiers version 3, 5 (name based with MD5, SHA-1 \ |
| 12 | hashing) and 4 (random based) according to RFC 4122. |
| 13 | homepage http://erratique.ch/software/uuidm/ |
| 14 | platforms darwin |
| 15 | master_sites http://erratique.ch/software/uuidm/releases |
| 16 | |
| 17 | distname uuidm-${version} |
| 18 | use_bzip2 yes |
| 19 | extract.suffix .tbz |
| 20 | |
| 21 | checksums md5 b33a5a7400f3f57fa78d31443ecf2438 \ |
| 22 | sha1 fe0e91710e21baf386670dbedca71e59a71eaa15 \ |
| 23 | rmd160 0063eaa85baaaf22308c9e22b04f552b4f107982 |
| 24 | |
| 25 | depends_lib port:ocaml \ |
| 26 | port:caml-findlib \ |
| 27 | |
| 28 | use_configure no |
| 29 | |
| 30 | 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
old
|
new
|
|
| 1 | --- src/META.orig 2009-02-04 00:49:08.000000000 +0000 |
| 2 | +++ src/META 2009-02-04 00:49:17.000000000 +0000 |
| 3 | @@ -1,5 +1,4 @@ |
| 4 | version = "0.9.3" |
| 5 | description = "Universally unique identifiers (UUIDs) for OCaml" |
| 6 | -archive(byte) = "uuidm.cmo" |
| 7 | -archive(native) = "uuidm.cmx" |
| 8 | -directory = "+uuidm" |
| 9 | +archive(byte) = "uuidm.cma" |
| 10 | +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
old
|
new
|
|
| 1 | --- Makefile.orig 2009-02-04 00:25:50.000000000 +0000 |
| 2 | +++ Makefile 2009-02-04 00:28:57.000000000 +0000 |
| 3 | @@ -0,0 +1,13 @@ |
| 4 | +all: |
| 5 | + cd src; \ |
| 6 | + ocamlc -c uuidm.mli uuidm.ml; \ |
| 7 | + ocamlopt -c uuidm.ml; \ |
| 8 | + ocamlopt -a -o uuidm.cmxa uuidm.cmx; \ |
| 9 | + ocamlc -c -g uuidm.ml; \ |
| 10 | + ocamlc -a -g -o uuidm.cma uuidm.cmo |
| 11 | + |
| 12 | +install: |
| 13 | + cd src; D=${DESTDIR}/`ocamlfind printconf destdir`; \ |
| 14 | + mkdir -p $$D; \ |
| 15 | + ocamlfind install -destdir $$D \ |
| 16 | + uuidm META uuidm.mli uuidm.cmi uuidm.cma uuidm.cmxa uuidm.a |