source: trunk/dports/www/ocaml-cgi/Portfile

Last change on this file was 137992, checked in by mww@…, 2 years ago

inc. revision to rebuild library dependents of ocaml (ocaml update to version 4.02.2)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ocaml 1.0
5
6name                ocaml-cgi
7version             0.8
8revision            3
9categories          www devel ml
10platforms           darwin
11maintainers         mww openmaintainer
12license             LGPL-2
13description         OCaml CGI Library
14long_description    ${description}
15
16homepage            http://www.lri.fr/~filliatr/ftp/ocaml/cgi/
17master_sites        http://www.lri.fr/~filliatr/ftp/ocaml/cgi/
18distname            cgi-${version}
19
20checksums           md5     87e1e239dfb9af15f6c8ed469dca313a \
21                    sha1    33c1640d4616fd7e83cf0a383a52740bfe518434 \
22                    rmd160  be81fa7893a63946066759e33eaa31f1a8da67e2
23
24depends_lib         port:ocaml
25
26patchfiles          patch-Makefile.in.diff
27post-patch {
28    reinplace "s|@OCAMLLIB@|${ocamlfind_dir}/cgi|g" ${worksrcpath}/Makefile.in
29}
30
31post-destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
33    xinstall -m 644 -W ${worksrcpath} CHANGES COPYING LGPL README \
34        ${destroot}${prefix}/share/doc/${name}/
35    xinstall -m 644 ${filespath}/META \
36        ${destroot}${ocamlfind_dir}/cgi
37}
38
39livecheck.type      regex
40livecheck.url       ${master_sites}
41livecheck.regex     cgi-(\[0-9\\\.\]+)${extract.suffix}
42
Note: See TracBrowser for help on using the repository browser.