# $Id$ PortSystem 1.0 name caml-getopt version 20040811 revision 2 categories devel ml maintainers mww openmaintainer platforms darwin license BSD description getopt command line parser for OCaml long_description ${description} homepage http://alain.frisch.fr/soft.html master_sites http://alain.frisch.fr/info/ distname getopt-${version} checksums md5 3e9f5de83475c05141c6e281f49994d6 \ sha1 ae0e548d24530c19f4c6715cb715fc470b12dff0 \ rmd160 c13cfe1f8940a759a479e56c1cbdb9a110048a1b depends_lib port:ocaml \ port:caml-findlib \ port:caml-extlib \ patchfiles patch-Makefile worksrcdir getopt use_configure no build.target allopt pre-destroot { set ocaml_site_path [exec ocamlfind printconf destdir] xinstall -m 755 -d ${destroot}/${ocaml_site_path} \ ${destroot}/${prefix}/share/doc/ \ ${destroot}/${prefix}/share/examples/${name} file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING Changes README \ ${destroot}/${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/sample.ml \ ${destroot}${prefix}/share/examples/${name} }