# $Id$ PortSystem 1.0 name ocaml-soundtouch version 0.1.4 categories devel ml audio multimedia maintainers rastageeks.org:toots description OCaml bindings for the soundtouch library long_description This port contains an O'Caml interface for sound \ stretching library, otherwise known as libsoundtouch. homepage http://savonet.sf.net/ platforms darwin master_sites sourceforge:savonet checksums md5 b4ee834b79f1d7a2b452fd55f093cf70 \ sha1 186dbad0444835a1d3f0db0c00997773a9a3bad5 \ rmd160 583c5bdd2e1fbb3dbc60c183e622516bc9d74a79 depends_build port:pkgconfig depends_lib port:ocaml \ port:ocaml-findlib \ port:soundtouch patchfiles configure.diff build.args LIBDIRS=${prefix}/lib post-configure { reinplace "s#ACLIBS = #ACLIBS = -lstdc++ #" ${worksrcpath}/src/Makefile reinplace "s#-lBPM##" ${worksrcpath}/src/Makefile } pre-destroot { set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]" file mkdir $ocamlfind_destdir reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '$ocamlfind_destdir'#g" \ ${worksrcpath}/src/OCamlMakefile }