source: trunk/dports/devel/ocaml-zarith/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.7 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-zarith
7version             1.3
8revision            1
9categories          devel ml
10maintainers         mww openmaintainer
11license             LGPL-2
12platforms           darwin
13description         Arbitrary-precision integers for OCaml
14long_description    \
15        The Zarith library implements arithmetic and logical operations \
16        over arbitrary-precision integers. It uses GMP to efficiently \
17        implement arithmetic over big integers. Small integers are \
18        represented as Caml unboxed integers, for speed and space economy.
19homepage            http://forge.ocamlcore.org/projects/zarith/
20master_sites        http://forge.ocamlcore.org/frs/download.php/1471/
21distname            zarith-${version}
22extract.suffix      .tgz
23
24checksums           rmd160  aa376ea750a21ea4945d484fde4cb3a96e34ef05 \
25                    sha256  946687d6f032b96ab9db9661d876e39437bff783e0ad473ac463c06259b7a3d7
26
27depends_lib         port:ocaml port:ocaml-findlib port:gmp
28
29patchfiles          patch-configure.diff patch-caml_z_x86_64.S.diff
30
31configure.pre_args
32configure.args       -installdir ${ocamlfind_destdir} -ocamllibdir ${prefix}/lib/ocaml
33configure.cc_archflags
34configure.ld_archflags
35
36use_parallel_build  no
37
38post-destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
40    xinstall -m 644 -W ${worksrcpath} Changes LICENSE README \
41        ${destroot}${prefix}/share/doc/${name}
42}
43
44test.run            yes
45test.cmd            make test && ./test
46
47livecheck.type      regex
48livecheck.url       http://forge.ocamlcore.org/frs/?group_id=243
49livecheck.regex     "zarith-(\[0-9\\.\]+).tgz"
Note: See TracBrowser for help on using the repository browser.