Ticket #18786: devel--caml-uuidm.patch

File devel--caml-uuidm.patch, 3.0 KB (added by Damien.Pollet@…, 16 years ago)
  • devel/caml-uuidm/Portfile

    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
     3PortSystem          1.0
     4
     5name                caml-uuidm
     6version             0.9.3
     7categories          devel ml
     8maintainers         anil@recoil.org openmaintainer
     9description         RFC 4122-compliant UUID library for OCaml
     10long_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.
     13homepage            http://erratique.ch/software/uuidm/
     14platforms           darwin
     15master_sites        http://erratique.ch/software/uuidm/releases
     16
     17distname            uuidm-${version}
     18use_bzip2           yes
     19extract.suffix      .tbz
     20
     21checksums           md5     b33a5a7400f3f57fa78d31443ecf2438 \
     22                    sha1    fe0e91710e21baf386670dbedca71e59a71eaa15 \
     23                    rmd160  0063eaa85baaaf22308c9e22b04f552b4f107982
     24
     25depends_lib         port:ocaml \
     26                    port:caml-findlib \
     27
     28use_configure       no
     29
     30patchfiles          patch-Makefile.diff patch-META.diff
  • devel/caml-uuidm/files/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"
  • devel/caml-uuidm/files/patch-Makefile.diff

    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