# $Id$ PortSystem 1.0 name ocaml-magic version 0.7.3 revision 4 categories devel ml sysutils license LGPL-2.1 maintainers rastageeks.org:toots description OCaml bindings for the libmagic file MIME detection library long_description OCaml Magic is a binding to libmagic. It tries to \ classify files using various tests (filesystem tests, \ magic number tests, and language tests). homepage http://savonet.sf.net/ platforms darwin master_sites sourceforge checksums md5 5b8a4d149fe8ce095ab8115f2e49beba \ sha1 1722b189b2d530d313e990a21d94c39749edeb7e \ rmd160 f4ab1763f84ecd95656a85d100fb9d63b53f5868 depends_lib port:ocaml \ port:ocaml-findlib \ port:file build.args INCDIRS=${prefix}/include 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}/OCamlMakefile }