# $Id$ PortSystem 1.0 name ocaml-calendar version 2.0.4 maintainers nomaintainer 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://calendar.forge.ocamlcore.org/ master_sites http://forge.ocamlcore.org/frs/download.php/171/ platforms darwin checksums md5 f460b1f0544d6c29b9d6517ef8a4b282 \ sha1 60917d141a79b07b3bf4289ef906e97bd657814a \ rmd160 23c2a5a8d030cdf19d4d98b7b7bdf67d87146b59 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:ocaml-findlib livecheck.type regex livecheck.regex {calendar-(\d+(?:\.\d+)*)}