[84925] trunk/dports/math
mww at macports.org
mww at macports.org
Tue Oct 4 12:37:55 PDT 2011
Revision: 84925
http://trac.macports.org/changeset/84925
Author: mww at macports.org
Date: 2011-10-04 12:37:54 -0700 (Tue, 04 Oct 2011)
Log Message:
-----------
new port: math/ocaml-buddy
Added Paths:
-----------
trunk/dports/math/ocaml-buddy/
trunk/dports/math/ocaml-buddy/Portfile
trunk/dports/math/ocaml-buddy/files/
trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff
Added: trunk/dports/math/ocaml-buddy/Portfile
===================================================================
--- trunk/dports/math/ocaml-buddy/Portfile (rev 0)
+++ trunk/dports/math/ocaml-buddy/Portfile 2011-10-04 19:37:54 UTC (rev 84925)
@@ -0,0 +1,36 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup ocaml 1.0
+
+name ocaml-buddy
+version 0.5
+categories math devel ml
+maintainers mww openmaintainer
+license LGPL-3+
+description OCaml bindings for buddy
+long_description ${description}
+homepage http://code.google.com/p/ocaml-extlib/
+platforms darwin
+
+master_sites macports
+
+checksums md5 f2ff18ff385c304615348255755c8e3d \
+ rmd160 1d9c0c3ea330c877a36c38c46c1acb7be96475a0 \
+ sha256 2d08be2d7188797eb5837ba651507f00608ea2e675fc93deb1a36b4c37a41a3f
+use_bzip2 yes
+
+depends_lib port:ocaml port:caml-findlib port:buddy
+
+patchfiles patch-myocamlbuild.ml.diff
+
+configure {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/myocamlbuild.ml
+}
+
+use_parallel_build no
+
+build.target all opt
+
+destroot.args LIBDIR=${ocamlfind_destdir}
+
Property changes on: trunk/dports/math/ocaml-buddy/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff
===================================================================
--- trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff (rev 0)
+++ trunk/dports/math/ocaml-buddy/files/patch-myocamlbuild.ml.diff 2011-10-04 19:37:54 UTC (rev 84925)
@@ -0,0 +1,11 @@
+--- myocamlbuild.ml 2011-10-04 20:44:28.000000000 +0200
++++ myocamlbuild.ml 2011-10-04 21:13:42.000000000 +0200
+@@ -44,7 +44,7 @@
+
+ (* When one link an OCaml library/binary/package, one should use -linkpkg *)
+ flag ["ocaml"; "link"] & A"-linkpkg";
+- flag ["c"; "compile"; "gcc"] (S[A"-cc"; A"gcc"; A"-ccopt"; A"-fPIC"]);
++ flag ["c"; "compile"; "gcc"] (S[A"-cc"; A"gcc"; A"-ccopt"; A"-fPIC"; A"-ccopt"; A"-I at PREFIX@/include"; A"-ccopt"; A"-L at PREFIX@/lib"; A"-ccopt"; A"-lbuddy"; A"-ccopt"; A"-fnested-functions"]);
+ flag ["cc"; "compile"; "g++"] (S[A"-cc"; A"g++"; A"-ccopt"; A"-fPIC"]);
+ (* flag ["ocamlmklib"] (S[A"-lminisat"; A"-oc"; A"minisat_stubs" ]); *)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111004/ebe91582/attachment-0001.html>
More information about the macports-changes
mailing list