1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name ocaml-lame |
---|
6 | version 0.2.2 |
---|
7 | categories devel ml |
---|
8 | maintainers toots@rastageeks.org |
---|
9 | description OCaml bindings for the lame MPEG encoding library |
---|
10 | homepage http://savonet.sf.net/ |
---|
11 | platforms darwin |
---|
12 | master_sites sourceforge:savonet |
---|
13 | |
---|
14 | checksums md5 144d0d85ed951d9808cabf6c19f4b760 \ |
---|
15 | sha1 8d74a3d487e519570100cba625acfd68c1cc60c2 \ |
---|
16 | rmd160 e067da327586d2183f0aa5ed9be518618533b3e4 |
---|
17 | |
---|
18 | depends_lib bin:camlp4:ocaml \ |
---|
19 | bin:ocamlfind:caml-findlib \ |
---|
20 | port:lame |
---|
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 | |
---|