# $Id: Portfile 111008 2013-09-13 12:35:03Z mww@macports.org $ PortSystem 1.0 name ocaml-soundtouch version 0.1.7 revision 3 categories devel ml audio multimedia license LGPL-2.1 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 rmd160 dbd84b9f0e7db058027a94a4db77b70b124d9335 \ sha256 be4d6c3ec944d23def1f08f61f20e466e107f9adf34e6b956651842c70ebd73c depends_build port:pkgconfig depends_lib port:ocaml \ port:ocaml-findlib \ port:soundtouch 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 }