Skip to content
Permalink
Browse files

new port caml-hydro, an ICE implementation for OCaml

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@68777 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Jun 13, 2010
1 parent b3a343a commit 60f0d8ab6b742fe1c934483e204a0ec3cdb889fe
Showing with 54 additions and 0 deletions.
  1. +51 −0 devel/caml-hydro/Portfile
  2. +3 −0 devel/caml-hydro/files/hydrogen
@@ -0,0 +1,51 @@
# $Id$

PortSystem 1.0

name caml-hydro
version 0.7.1
categories devel ml net
maintainers mww openmaintainer
description Hydro is an implementation of ICE, the object-oriented RPC protocol
long_description Hydro is an independent implementation of ICE, the \
object-oriented RPC protocol by ZeroC, for the O'Caml \
programming language. ZeroC sees ICE as a superior \
successor to CORBA.

homepage http://oss.wink.com/hydro/
platforms darwin
master_sites ${homepage}

distname hydro-${version}

checksums md5 df2d15e50a28cfda14cc86ef4f19adc2 \
sha1 0c444fbc593e0e0d45eff2f18dc4fc64d4791a81 \
rmd160 e61fa9f3c7a4a7d7d970a90eb50152977f3af5d1


depends_lib port:ocaml \
port:caml-findlib \
port:caml-pcre \
port:caml-ocamlnet \
port:omake

patch {
set ocaml_site_path [exec ocamlfind printconf destdir]
reinplace "s|ocamlfind install|ocamlfind install -destdir ${destroot}/${ocaml_site_path}|g" \
${worksrcpath}/src/hydro/OMakefile ${worksrcpath}/src/hydrogen/OMakefile ${worksrcpath}/src/hydromon/OMakefile
}

use_configure no

build.target all opt
use_parallel_build no

pre-destroot {
set ocaml_site_path [exec ocamlfind printconf destdir]
file mkdir ${destroot}${ocaml_site_path}/stublibs
}

post-destroot {
xinstall -m 755 ${filespath}/hydrogen ${destroot}${prefix}/bin
}

@@ -0,0 +1,3 @@
#!/bin/sh
ocamlfind hydrogen/hydrogen $*

0 comments on commit 60f0d8a

Please sign in to comment.
You can’t perform that action at this time.