[86542] trunk/dports/devel/caml-hydro
mww at macports.org
mww at macports.org
Thu Oct 27 23:54:36 PDT 2011
Revision: 86542
http://trac.macports.org/changeset/86542
Author: mww at macports.org
Date: 2011-10-27 23:54:36 -0700 (Thu, 27 Oct 2011)
Log Message:
-----------
caml-hydro: add license; use ocaml group; inc. revision
Modified Paths:
--------------
trunk/dports/devel/caml-hydro/Portfile
trunk/dports/devel/caml-hydro/files/hydrogen
Modified: trunk/dports/devel/caml-hydro/Portfile
===================================================================
--- trunk/dports/devel/caml-hydro/Portfile 2011-10-28 06:49:56 UTC (rev 86541)
+++ trunk/dports/devel/caml-hydro/Portfile 2011-10-28 06:54:36 UTC (rev 86542)
@@ -1,11 +1,14 @@
# $Id$
PortSystem 1.0
+PortGroup ocaml 1.0
name caml-hydro
version 0.7.1
+revision 1
categories devel ml net
maintainers mww openmaintainer
+license BSD
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 \
@@ -30,8 +33,7 @@
port:omake
patch {
- set ocaml_site_path [exec ocamlfind printconf destdir]
- reinplace "s|ocamlfind install|ocamlfind install -destdir ${destroot}/${ocaml_site_path}|g" \
+ reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" \
${worksrcpath}/src/hydro/OMakefile ${worksrcpath}/src/hydrogen/OMakefile ${worksrcpath}/src/hydromon/OMakefile
}
@@ -40,12 +42,8 @@
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
+ reinplace "s|@OCAMLFIND@|${prefix}/bin/ocamlfind|g" ${destroot}${prefix}/bin/hydrogen
}
Modified: trunk/dports/devel/caml-hydro/files/hydrogen
===================================================================
--- trunk/dports/devel/caml-hydro/files/hydrogen 2011-10-28 06:49:56 UTC (rev 86541)
+++ trunk/dports/devel/caml-hydro/files/hydrogen 2011-10-28 06:54:36 UTC (rev 86542)
@@ -1,3 +1,3 @@
#!/bin/sh
-ocamlfind hydrogen/hydrogen $*
+ at OCAMLFIND@ hydrogen/hydrogen $*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111027/00844136/attachment.html>
More information about the macports-changes
mailing list