[59421] trunk/dports/devel

avsm at macports.org avsm at macports.org
Wed Oct 14 15:00:27 PDT 2009


Revision: 59421
          http://trac.macports.org/changeset/59421
Author:   avsm at macports.org
Date:     2009-10-14 15:00:25 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
import caml-graph-1.3

Added Paths:
-----------
    trunk/dports/devel/caml-graph/
    trunk/dports/devel/caml-graph/Portfile
    trunk/dports/devel/caml-graph/files/
    trunk/dports/devel/caml-graph/files/patch-Makefile.in.diff

Added: trunk/dports/devel/caml-graph/Portfile
===================================================================
--- trunk/dports/devel/caml-graph/Portfile	                        (rev 0)
+++ trunk/dports/devel/caml-graph/Portfile	2009-10-14 22:00:25 UTC (rev 59421)
@@ -0,0 +1,39 @@
+# $Id$
+
+PortSystem          1.0
+name                caml-graph
+version             1.3
+distfiles           ocamlgraph-${version}.tar.gz
+worksrcdir          ocamlgraph-${version}
+categories          devel ml
+maintainers         avsm openmaintainer
+description         a graph library for OCaml
+long_description    It provides an easy-to-use graph data structure together with several \
+                    operations and algorithms over graphs, in Graph.Pack. It is a reasonably \
+                    efficient imperative data structure for directed graphs with vertices and \
+                    edges labeled with integers.
+
+homepage            http://ocamlgraph.lri.fr/
+platforms           darwin
+master_sites        http://ocamlgraph.lri.fr/download/
+checksums           md5     9bcff267d041d3caec5f4f8c514f9cc1 \
+                    sha1    79f1fe80c95a6521e19536b2b0834b0b77a89eb1 \
+                    rmd160  0a94c6b71cb5c833abfe913886d7b1a2e5cb730a
+
+livecheck.url       http://ocamlgraph.lri.fr/
+livecheck.type      regex
+livecheck.regex     {>ocamlgraph-(.*)\.tar\.gz}
+
+depends_lib         port:ocaml port:caml-findlib
+
+use_parallel_build  no
+patchfiles          patch-Makefile.in.diff
+
+set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
+
+destroot.env        OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir -ldconf ignore"
+destroot.target     install-findlib
+
+pre-destroot {
+    file mkdir $ocamlfind_destdir
+}

Added: trunk/dports/devel/caml-graph/files/patch-Makefile.in.diff
===================================================================
--- trunk/dports/devel/caml-graph/files/patch-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/devel/caml-graph/files/patch-Makefile.in.diff	2009-10-14 22:00:25 UTC (rev 59421)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2009-10-14 22:49:34.000000000 +0100
++++ Makefile.in	2009-10-14 22:49:52.000000000 +0100
+@@ -337,7 +337,7 @@
+ 		graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA) \
+ 		$(VIEWER_CMX) $(VIEWER_CMO) $(DGRAPH_CMX) $(DGRAPH_CMO)
+ else
+-	$(OCAMLFIND) install ocamlgraph META \
++	$(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) ocamlgraph META \
+ 		$(SRCDIR)/*.mli $(VIEWER_DIR)/*.mli $(DGRAPH_DIR)/*.mli \
+ 		graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA)
+ endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091014/3d3f9d6c/attachment.html>


More information about the macports-changes mailing list