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