Commits

Mitsuhiro Nakamura committed 39a6b1f

Update devel/ocaml-core with a bug fix for devel/ocaml-res.

  • Participants
  • Parent commits fac67f0

Comments (0)

Files changed (5)

devel/caml-core/Portfile

-# $Id: Portfile 77747 2011-04-11 04:32:35Z jmr@macports.org $
-
-PortSystem          1.0
-
-name                caml-core
-version             107.01
-categories          devel ml
-platforms           darwin
-maintainers         mww openmaintainer
-description         Jane Street's alternative to the standard OCaml library
-license             LGPL-2.1
-long_description    ${description}
-homepage            http://www.janestreet.com/ocaml/
-master_sites        ${homepage}
-checksums           md5     375d8f46e47d44e1de35cf36b78b9c8e \
-                    sha1    ef4443939cb42f5778912608d3023a669b06d44f \
-                    rmd160  5a496d71ac40bd709675e12a90233956a7a9309d
-
-distname            core-${version}
-
-depends_lib         port:ocaml port:caml-findlib port:caml-sexplib \
-                    port:caml-res port:caml-bin-prot port:caml-fieldslib
-
-use_configure       no
-
-build.env           PREFIX=${prefix}
-use_parallel_build  no
-
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-
-destroot.env        OCAMLFIND_DESTDIR="$ocamlfind_destdir"
-
-pre-destroot {
-    xinstall -m 755 -d $ocamlfind_destdir/stublibs
-}
-
-platform darwin {
-    patchfiles-append lib_zone.ml.diff
-}

devel/caml-core/files/lib_zone.ml.diff

---- lib/zone.ml.orig	2011-10-28 19:30:49.000000000 +0900
-+++ lib/zone.ml	2011-10-28 19:30:54.000000000 +0900
-@@ -387,7 +387,7 @@
-   let default () =
-     {
-       full = false;
--      basedir = "/usr/share/zoneinfo/posix";
-+      basedir = "/usr/share/zoneinfo";
-       table = String.Table.create ~size:11 ();
-     }
- 

devel/ocaml-core/Portfile

+# $Id: Portfile 77747 2011-04-11 04:32:35Z jmr@macports.org $
+
+PortSystem          1.0
+
+name                ocaml-core
+version             107.01
+categories          devel ml
+platforms           darwin
+maintainers         mww openmaintainer
+description         Jane Street's alternative to the standard OCaml library
+license             LGPL-2.1
+long_description    ${description}
+homepage            http://www.janestreet.com/ocaml/
+master_sites        ${homepage}
+checksums           md5     375d8f46e47d44e1de35cf36b78b9c8e \
+                    sha1    ef4443939cb42f5778912608d3023a669b06d44f \
+                    rmd160  5a496d71ac40bd709675e12a90233956a7a9309d
+
+distname            core-${version}
+
+depends_lib         port:ocaml port:ocaml-findlib port:ocaml-sexplib \
+                    port:ocaml-res port:ocaml-bin-prot port:ocaml-fieldslib
+
+use_configure       no
+
+build.env           PREFIX=${prefix}
+use_parallel_build  no
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.env        OCAMLFIND_DESTDIR="$ocamlfind_destdir"
+
+pre-destroot {
+    xinstall -m 755 -d $ocamlfind_destdir/stublibs
+}
+
+platform darwin {
+    patchfiles-append lib_zone.ml.diff
+}

devel/ocaml-core/files/lib_zone.ml.diff

+--- lib/zone.ml.orig	2011-10-28 19:30:49.000000000 +0900
++++ lib/zone.ml	2011-10-28 19:30:54.000000000 +0900
+@@ -387,7 +387,7 @@
+   let default () =
+     {
+       full = false;
+-      basedir = "/usr/share/zoneinfo/posix";
++      basedir = "/usr/share/zoneinfo";
+       table = String.Table.create ~size:11 ();
+     }
+ 

devel/ocaml-res/Portfile

+# $Id: Portfile 88532 2012-01-04 02:11:35Z mww@macports.org $
+
+PortSystem          1.0
+PortGroup ocaml 1.0
+
+name                ocaml-res
+version             3.2.0
+distname            release-${version}
+worksrcdir          res-${distname}
+categories          devel ml
+maintainers         mww openmaintainer
+license             LGPL-2.1
+description         OCaml library for automatically resizing contiguous memory (arrays and strings)
+long_description	${description}
+homepage            http://www.ocaml.info/home/ocaml_sources.html
+platforms           darwin
+master_sites        http://hg.ocaml.info/release/res/archive/
+checksums           md5     df4fde25845f364ddb687cdc79c00677 \
+                    sha1    5f48566d7e134557239c34d4c968d50e2c2b451c \
+                    rmd160  50e45fc35ed9f8e111725ea39f39415766eff219
+use_bzip2           yes
+
+livecheck.type      regex
+livecheck.regex     "res/archive/release-(\\d+(?:\\.\\d+)*).tar.bz2"
+
+depends_lib         port:ocaml port:ocaml-findlib
+
+use_configure       no
+
+build.env           PREFIX=${prefix}
+use_parallel_build  no
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.env        OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir"
+