source: trunk/dports/devel/ocaml-hydro/Portfile

Last change on this file was 137992, checked in by mww@…, 2 years ago

inc. revision to rebuild library dependents of ocaml (ocaml update to version 4.02.2)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ocaml 1.0
5
6name                ocaml-hydro
7version             0.7.1
8revision            6
9categories          devel ml net
10maintainers         mww openmaintainer
11license             BSD
12description         Hydro is an implementation of ICE, the object-oriented RPC protocol
13long_description    Hydro is an independent implementation of ICE, the \
14                    object-oriented RPC protocol by ZeroC, for the O'Caml \
15                    programming language. ZeroC sees ICE as a superior \
16                    successor to CORBA.
17
18homepage            http://oss.wink.com/hydro/
19platforms           darwin
20master_sites        ${homepage}
21
22distname            hydro-${version}
23
24checksums           rmd160  e61fa9f3c7a4a7d7d970a90eb50152977f3af5d1 \
25                    sha256  0ce9389100be03ee1ae48809cedce3711aba7b9bf008516fc90ab958d77fbcac
26
27depends_lib         port:ocaml \
28                    port:ocaml-findlib \
29                    port:ocaml-pcre \
30                    port:ocaml-ocamlnet \
31                    port:omake
32
33patch {
34    reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" \
35        ${worksrcpath}/src/hydro/OMakefile ${worksrcpath}/src/hydrogen/OMakefile ${worksrcpath}/src/hydromon/OMakefile
36}
37
38use_configure       no
39
40build.target        all opt
41use_parallel_build  no
42
43post-destroot {
44    xinstall -m 755 ${filespath}/hydrogen ${destroot}${prefix}/bin
45    reinplace "s|@OCAMLFIND@|${prefix}/bin/ocamlfind|g" ${destroot}${prefix}/bin/hydrogen
46}
47
48livecheck.type      regex
49livecheck.regex     hydro-(\[0-9\.\]+)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.