# $Id$ PortSystem 1.0 name ocaml-mad version 0.3.4 revision 4 categories devel ml audio license GPL-2 maintainers rastageeks.org:toots description OCaml bindings for libmad MPEG audio decoding library long_description $description homepage http://savonet.sf.net/ platforms darwin master_sites sourceforge:savonet checksums md5 b3f638b6894a1d606d9972e1c5f92fac \ sha1 090d71e8551572ce2562bac86e3efd8b79f42355 \ rmd160 75bf5b5946c29a5cb7e9689be4ef5fa00e66e9b7 depends_build port:pkgconfig depends_lib port:ocaml \ port:ocaml-findlib \ port:libmad configure.pkg_config ${prefix}/bin/pkg-config build.args LIBDIRS=${prefix}/lib 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 }