categories ocaml devel audio
maintainers {rastageeks.org:toots @toots}
description OCaml bindings for the vorbis audio library
long_description $description
homepage http://savonet.sf.net/
master_sites sourceforge:savonet
checksums rmd160 8839597a07c4d8bb3af7803c165fabbfd43df59d \
sha256 9bc313628a269eebb33db531119e90da75f37fe9ceb5a20143fbf6dc9df67782
depends_build port:pkgconfig
configure.pkg_config ${prefix}/bin/pkg-config
configure.env-append OCAMLFIND=${ocamlfind_wrapper} USER=macports
build.args LIBDIRS=${prefix}/lib
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