# $Id$ PortSystem 1.0 PortGroup ocaml 1.0 name ocaml-cgi version 0.8 revision 3 categories www devel ml platforms darwin maintainers mww openmaintainer license LGPL-2 description OCaml CGI Library long_description ${description} homepage http://www.lri.fr/~filliatr/ftp/ocaml/cgi/ master_sites http://www.lri.fr/~filliatr/ftp/ocaml/cgi/ distname cgi-${version} checksums md5 87e1e239dfb9af15f6c8ed469dca313a \ sha1 33c1640d4616fd7e83cf0a383a52740bfe518434 \ rmd160 be81fa7893a63946066759e33eaa31f1a8da67e2 depends_lib port:ocaml patchfiles patch-Makefile.in.diff post-patch { reinplace "s|@OCAMLLIB@|${ocamlfind_dir}/cgi|g" ${worksrcpath}/Makefile.in } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} CHANGES COPYING LGPL README \ ${destroot}${prefix}/share/doc/${name}/ xinstall -m 644 ${filespath}/META \ ${destroot}${ocamlfind_dir}/cgi } livecheck.type regex livecheck.url ${master_sites} livecheck.regex cgi-(\[0-9\\\.\]+)${extract.suffix}