source: trunk/dports/devel/ocaml-getopt/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.5 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-getopt
6version             20040811
7revision            6
8categories          devel ml
9maintainers         mww openmaintainer
10platforms           darwin
11license             BSD
12description         getopt command line parser for OCaml
13long_description    ${description}
14
15homepage            http://alain.frisch.fr/soft.html
16master_sites        http://alain.frisch.fr/info/
17
18distname            getopt-${version}
19
20checksums           rmd160  c13cfe1f8940a759a479e56c1cbdb9a110048a1b \
21                    sha256  cb53317e026867e732276feff392031831d7cbed1d4b49a764971d6bab1fff2a
22
23depends_lib         port:ocaml \
24                    port:ocaml-findlib \
25                    port:ocaml-extlib
26
27patchfiles          patch-Makefile
28
29worksrcdir          getopt
30
31use_configure       no
32
33build.target        allopt
34
35pre-destroot {
36    set ocaml_site_path [exec ocamlfind printconf destdir]
37    xinstall -m 755 -d ${destroot}/${ocaml_site_path} \
38        ${destroot}${prefix}/share/doc/ \
39        ${destroot}${prefix}/share/examples/${name}
40    file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
41    xinstall -m 644 -W ${worksrcpath} COPYING Changes README \
42        ${destroot}${prefix}/share/doc/${name}
43    xinstall -m 644 ${worksrcpath}/sample.ml \
44        ${destroot}${prefix}/share/examples/${name}
45}
46
47livecheck.type      regex
48livecheck.url       ${homepage}
49livecheck.regex     getopt-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.