[93915] trunk/dports/devel/ocaml-bin-prot/Portfile
mww at macports.org
mww at macports.org
Mon Jun 4 05:46:47 PDT 2012
Revision: 93915
https://trac.macports.org/changeset/93915
Author: mww at macports.org
Date: 2012-06-04 05:46:47 -0700 (Mon, 04 Jun 2012)
Log Message:
-----------
ocaml-bin-prot: version 108.00.01
Modified Paths:
--------------
trunk/dports/devel/ocaml-bin-prot/Portfile
Modified: trunk/dports/devel/ocaml-bin-prot/Portfile
===================================================================
--- trunk/dports/devel/ocaml-bin-prot/Portfile 2012-06-04 12:45:44 UTC (rev 93914)
+++ trunk/dports/devel/ocaml-bin-prot/Portfile 2012-06-04 12:46:47 UTC (rev 93915)
@@ -1,9 +1,9 @@
# $Id$
PortSystem 1.0
+PortGroup ocaml 1.0
name ocaml-bin-prot
-version 2.0.7
-revision 1
+version 108.00.01
categories devel ml
maintainers erickt openmaintainer
license {BSD LGPL-2}
@@ -17,39 +17,18 @@
homepage http://ocaml.janestreet.com/?q=node/13
platforms darwin
-master_sites http://forge.ocamlcore.org/frs/download.php/724/
+master_sites https://bitbucket.org/yminsky/ocaml-core/downloads/
-distname bin-prot-${version}
+distname bin_prot-${version}
-checksums md5 26288c780ffee9a7199613d75762a1fc \
- sha1 d51eb4edd716c4a40e557cd987e8698882fda5e4 \
- rmd160 5cfd34d19d94492393dfa7d80dbaa6b2bb86dca1
+checksums rmd160 0ffc748430c4f96271a55560e3e4865c6a87c2d0 \
+ sha256 fff4872f820e51188310f443274ed696096a94b0f8ce291d074038e19fc7574e
-post-patch {
- # deal with C99 semantics of inline
- if {${configure.compiler} == "clang"} {
- reinplace "s|inline||g" ${worksrcpath}/lib/common_stubs.c \
- ${worksrcpath}/lib/read_stubs.c ${worksrcpath}/lib/write_stubs.c
- }
-}
-
depends_lib port:ocaml port:ocaml-findlib port:ocaml-ounit port:ocaml-type-conv
-use_configure no
-use_parallel_build no
+use_oasis yes
-build.env PREFIX=${prefix}
-
test.run yes
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-
-destroot.env OCAMLFIND_LDCONF="ignore" \
- OCAMLFIND_DESTDIR="$ocamlfind_destdir"
-
-pre-destroot {
- file mkdir ${ocamlfind_destdir}/stublibs
-}
-
livecheck.type regex
livecheck.regex "bin-prot-(.*?).tar.gz"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120604/76e9d108/attachment.html>
More information about the macports-changes
mailing list