[68777] trunk/dports/devel

mww at macports.org mww at macports.org
Sun Jun 13 05:42:34 PDT 2010


Revision: 68777
          http://trac.macports.org/changeset/68777
Author:   mww at macports.org
Date:     2010-06-13 05:42:29 -0700 (Sun, 13 Jun 2010)
Log Message:
-----------
new port caml-hydro, an ICE implementation for OCaml

Added Paths:
-----------
    trunk/dports/devel/caml-hydro/
    trunk/dports/devel/caml-hydro/Portfile
    trunk/dports/devel/caml-hydro/files/
    trunk/dports/devel/caml-hydro/files/hydrogen

Added: trunk/dports/devel/caml-hydro/Portfile
===================================================================
--- trunk/dports/devel/caml-hydro/Portfile	                        (rev 0)
+++ trunk/dports/devel/caml-hydro/Portfile	2010-06-13 12:42:29 UTC (rev 68777)
@@ -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
+}
+


Property changes on: trunk/dports/devel/caml-hydro/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: trunk/dports/devel/caml-hydro/files/hydrogen
===================================================================
--- trunk/dports/devel/caml-hydro/files/hydrogen	                        (rev 0)
+++ trunk/dports/devel/caml-hydro/files/hydrogen	2010-06-13 12:42:29 UTC (rev 68777)
@@ -0,0 +1,3 @@
+#!/bin/sh
+ocamlfind hydrogen/hydrogen $*
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100613/3fa8f1b7/attachment.html>


More information about the macports-changes mailing list