source: trunk/dports/devel/ocaml-zarith/Portfile @ 131486

Last change on this file since 131486 was 131486, checked in by mww@…, 4 years ago

ocaml-zarith: version 1.3

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