1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name ocaml-shout |
---|
6 | version 0.2.6 |
---|
7 | categories devel ml |
---|
8 | maintainers toots@rastageeks.org |
---|
9 | description OCaml bindings for the libshout broadcasting library |
---|
10 | homepage http://savonet.sf.net/ |
---|
11 | platforms darwin |
---|
12 | master_sites sourceforge:savonet |
---|
13 | |
---|
14 | checksums md5 19c0287260b9c161ab05af16131de9a6 \ |
---|
15 | sha1 566debea660641679faa154bfaa17820394031f7 \ |
---|
16 | rmd160 e220599b32260d052c850366ece68d110b3fc1b4 |
---|
17 | |
---|
18 | depends_lib bin:camlc.opt:ocaml \ |
---|
19 | bin:ocamlfind:caml-findlib \ |
---|
20 | port:libshout2 |
---|
21 | |
---|
22 | build.args LIBDIRS=${prefix}/lib |
---|
23 | |
---|
24 | proc ocamlfind_destdir {} { |
---|
25 | # only bother calculating this darn thing once |
---|
26 | variable ocamlfind_destdir {} |
---|
27 | variable destroot |
---|
28 | variable prefix |
---|
29 | if {![string length $ocamlfind_destdir]} { |
---|
30 | set ocamlfind_destdir ${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir] |
---|
31 | } |
---|
32 | return $ocamlfind_destdir |
---|
33 | } |
---|
34 | |
---|
35 | pre-destroot { |
---|
36 | system "mkdir -p [ocamlfind_destdir]" |
---|
37 | reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '[ocamlfind_destdir]'#g" ${worksrcpath}/src/OCamlMakefile |
---|
38 | } |
---|
39 | |
---|