source: trunk/dports/devel/caml-calendar/Portfile @ 38689

Last change on this file since 38689 was 38689, checked in by landonf@…, 11 years ago

Port broken; Update to 2.0, add findlib support.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 977 bytes
Line 
1# $Id: Portfile 38689 2008-07-29 00:08:45Z landonf@macports.org $
2
3PortSystem          1.0
4name                caml-calendar
5version             2.0.4
6maintainers         anil@recoil.org
7description         Objective Caml interface for calendar functions
8long_description    An OCaml interface for managing dates and times.
9
10categories          devel ml
11
12distname            calendar-${version}
13
14homepage            http://www.lri.fr/~signoles/prog.en.html
15master_sites        http://www.lri.fr/~signoles/prog/calendar/
16
17platforms           darwin
18
19checksums           md5 f460b1f0544d6c29b9d6517ef8a4b282
20
21post-patch {
22    set ocaml_site_path [exec ${prefix}/bin/ocamlfind printconf destdir]
23
24    reinplace       "s|\$(CAMLFIND) install|\$(CAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \
25        ${worksrcpath}/Makefile.in
26}
27
28pre-destroot {
29    set ocaml_site_path [exec ocamlfind printconf destdir]
30    file mkdir ${destroot}/${ocaml_site_path}
31}
32
33depends_lib         port:ocaml \
34                    port:caml-findlib
Note: See TracBrowser for help on using the repository browser.