# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 name caml-calendar version 2.0.4 maintainers recoil.org:anil description Objective Caml interface for calendar functions long_description An OCaml interface for managing dates and times. categories devel ml distname calendar-${version} homepage http://www.lri.fr/~signoles/prog.en.html master_sites http://www.lri.fr/~signoles/prog/calendar/ platforms darwin checksums md5 f460b1f0544d6c29b9d6517ef8a4b282 post-patch { set ocaml_site_path [exec ${prefix}/bin/ocamlfind printconf destdir] reinplace "s|\$(CAMLFIND) install|\$(CAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \ ${worksrcpath}/Makefile.in } pre-destroot { set ocaml_site_path [exec ocamlfind printconf destdir] file mkdir ${destroot}/${ocaml_site_path} } depends_lib port:ocaml \ port:caml-findlib