source: trunk/dports/devel/ocaml-ocamlmakefile/Portfile

Last change on this file was 98499, checked in by mww@…, 5 years ago

ocaml: version 4.00.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 98499 2012-10-07 11:42:35Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-ocamlmakefile
6version             6.37.0
7revision            2
8categories          devel ml
9maintainers         mww openmaintainer
10license             LGPL-2.1
11platforms           darwin
12supported_archs     noarch
13description         Automated compilation of complex OCaml-projects
14long_description    ${description}
15
16homepage            https://bitbucket.org/mmottl/ocaml-makefile
17master_sites        https://bitbucket.org/mmottl/ocaml-makefile/downloads/
18
19distname            ocaml-makefile-${version}
20
21checksums           rmd160  30ed58878aeec483c060ba161185f4655914ddc1 \
22                    sha256  99ff58080ed154cc4bd70f915fe4760dffb026a1c0447caa0b3bdb982b24b0a8
23
24depends_run         port:ocaml \
25                    port:ocaml-findlib
26
27use_configure       no
28
29build               {}
30
31destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/${name}/ \
33        ${destroot}${prefix}/share/doc/${name} \
34        ${destroot}${prefix}/share/examples/${name}
35    xinstall -m 644 -W ${worksrcpath} OCamlMakefile \
36        ${destroot}${prefix}/share/${name}
37    foreach d {calc camlp4 gtk idl threads} {
38        file copy ${worksrcpath}/${d} ${destroot}${prefix}/share/examples/${name}
39    }
40    xinstall -m 644 -W ${worksrcpath} CHANGES.txt COPYING.txt GPL.txt LGPL.txt \
41        README.md ${destroot}${prefix}/share/doc/${name}
42}
43
44livecheck.type      regex
45livecheck.url       ${master_sites}
46livecheck.regex     "ocaml-makefile-(\[0-9\.]+).tar.gz"
Note: See TracBrowser for help on using the repository browser.