source: trunk/dports/devel/ocaml-inifiles/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
4
5name                ocaml-inifiles
6version             1.2
7revision            5
8categories          devel ml
9maintainers         mww openmaintainer
10platforms           darwin
11license             BSD
12description         ini file parser for OCaml
13long_description    ${description}
14
15# original homepage at .mac is down
16homepage            http://caml.inria.fr/cgi-bin/hump.en.cgi?contrib=564
17master_sites        ${homepage}
18
19distname            inifiles-${version}
20
21checksums           md5     9deb802bdf98f5ead88598752d9ea5ac \
22                    sha1    215120d4957c2a1fabb869804ae1360aaf32f6ac \
23                    rmd160  977a0e72b7c247bedc83f87136572cca4b53bfe6
24
25depends_lib         port:ocaml port:ocaml-pcre
26
27use_configure       no
28
29use_parallel_build  no
30
31destroot {
32    set ocaml_site_path [exec ocamlfind printconf destdir]
33    xinstall -m 755 -d ${destroot}/${ocaml_site_path} \
34        ${destroot}${prefix}/share/doc/${name}
35    system "cd ${worksrcpath} && OCAMLFIND_INSTFLAGS=\"-destdir ${destroot}/${ocaml_site_path}\" make install "
36    xinstall -m 644 -W ${worksrcpath} COPYING ${destroot}${prefix}/share/doc/${name}/
37}
38
39livecheck.url       ${homepage}
40livecheck.type      regex
41livecheck.regex     Version:</td><td>(\[0-9\.\]+)
Note: See TracBrowser for help on using the repository browser.