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

Last change on this file since 90159 was 90159, checked in by mww@…, 6 years ago

ocaml-hydro: fix regex

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 90159 2012-02-24 15:29:00Z mww@macports.org $
2
3PortSystem          1.0
4PortGroup ocaml 1.0
5
6name                ocaml-hydro
7version             0.7.1
8revision            2
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           md5     df2d15e50a28cfda14cc86ef4f19adc2 \
25                    sha1    0c444fbc593e0e0d45eff2f18dc4fc64d4791a81 \
26                    rmd160  e61fa9f3c7a4a7d7d970a90eb50152977f3af5d1
27
28
29depends_lib         port:ocaml \
30                    port:ocaml-findlib \
31                    port:ocaml-pcre \
32                    port:ocaml-ocamlnet \
33                    port:omake
34
35patch {
36    reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" \
37        ${worksrcpath}/src/hydro/OMakefile ${worksrcpath}/src/hydrogen/OMakefile ${worksrcpath}/src/hydromon/OMakefile
38}
39
40use_configure       no
41
42build.target        all opt
43use_parallel_build  no
44
45post-destroot {
46    xinstall -m 755 ${filespath}/hydrogen ${destroot}${prefix}/bin
47    reinplace "s|@OCAMLFIND@|${prefix}/bin/ocamlfind|g" ${destroot}${prefix}/bin/hydrogen
48}
49
50livecheck.type      regex
51livecheck.regex     hydro-(\[0-9\.\]+)\.tar\.gz
Note: See TracBrowser for help on using the repository browser.