source: trunk/dports/devel/ocaml-zip/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.4 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                ocaml-zip
6version             1.04
7revision            4
8categories          devel ml
9maintainers         nomaintainer
10license             LGPL-2
11description         read and write ZIP, JAR and GZIP files from OCaml
12long_description    ${description}
13homepage            http://cristal.inria.fr/~xleroy/software.html
14platforms           darwin
15
16master_sites        http://caml.inria.fr/distrib/bazar-ocaml \
17                    https://forge.ocamlcore.org/frs/download.php/328/
18distname            camlzip-${version}
19
20checksums           md5     b3930f4f2e2563b9a5e1b17aa455e635 \
21                    sha1    43660307fba6243bf2e2e0c8c6ac078477c9d9f9 \
22                    rmd160  37a1aae1f84ee30c5f2f0ee2e4b603bf2b5bf397
23
24depends_lib         port:ocaml \
25                    port:ocaml-findlib \
26                    port:zlib
27
28patchfiles          Makefile.diff
29
30post-patch {
31    file copy ${filespath}/META ${worksrcpath}
32}
33
34use_configure       no
35use_parallel_build  no
36
37build.env           PREFIX=${prefix}
38build.target        all allopt
39
40set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
41destroot.env        OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir -ldconf ignore" OCAMLFIND_STUBLIBS=${ocamlfind_destdir}/stublibs
42destroot.target     ocamlfind-install
43
44pre-destroot {
45    file mkdir $ocamlfind_destdir
46}
47
48livecheck.type      regex
49livecheck.regex     "camlzip-(.*?).tar.gz"
Note: See TracBrowser for help on using the repository browser.