Ticket #28524: Portfile-caml-graph.diff
File Portfile-caml-graph.diff, 2.5 KB (added by fh@…, 14 years ago) |
---|
-
(a) /Users/herbrete/Downloads/Portfile.txt vs. (b) Portfile
a b 1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 5 name caml-graph 5 version 1.3 6 distname ocamlgraph-${version} 6 version 1.6 7 7 categories devel ml 8 maintainers nomaintainer 9 description a graph library for OCaml 10 long_description It provides an easy-to-use graph data structure together with several \ 11 operations and algorithms over graphs, in Graph.Pack. It is a reasonably \ 12 efficient imperative data structure for directed graphs with vertices and \ 13 edges labeled with integers. 8 maintainers 9 description OCaml graph library 10 long_description ${description} 14 11 15 homepage http://ocamlgraph.lri.fr /12 homepage http://ocamlgraph.lri.fr 16 13 platforms darwin 17 master_sites http://ocamlgraph.lri.fr/download/ 18 checksums md5 9bcff267d041d3caec5f4f8c514f9cc1 \ 19 sha1 79f1fe80c95a6521e19536b2b0834b0b77a89eb1 \ 20 rmd160 0a94c6b71cb5c833abfe913886d7b1a2e5cb730a 14 master_sites http://ocamlgraph.lri.fr/download 21 15 22 livecheck.url http://ocamlgraph.lri.fr/ 23 livecheck.type regex 24 livecheck.regex {>ocamlgraph-(.*)\.tar\.gz} 16 distname ocamlgraph-${version} 25 17 26 depends_lib port:ocaml port:caml-findlib 18 checksums md5 b66ad9942e5a3acddeeeaf69c09a0c26 \ 19 sha1 046ef1203ddacac39cc190ad32230b0aa8547268 \ 20 rmd160 be415f28e9d5f2e0e3b1bd2a58a19442d9976fe2 21 22 depends_lib port:ocaml \ 23 port:caml-findlib 24 25 # ocaml is not universal 26 universal_variant no 27 28 patchfiles patch-Makefile.in 27 29 28 30 use_parallel_build no 29 patchfiles patch-Makefile.in.diff30 31 31 set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib 32 livecheck.type regex 33 livecheck.regex {>ocamlgraph-(.*)\.tar\.gz} 32 34 33 destroot.env OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir -ldconf ignore" 34 destroot.target install-findlib 35 destroot.target-append install-findlib 35 36 36 37 pre-destroot { 37 file mkdir $ocamlfind_destdir 38 } 38 # Removes any previous ocamlfind installation that has not been cleaned 39 set destdir [exec ocamlfind printconf destdir] 40 if [file exist ${destdir}/ocamlgraph/META] { 41 exec ocamlfind remove ocamlgraph 2> /dev/null 42 } 43 } 44 No newline at end of file