source: trunk/dports/devel/ocaml-batteries-devel/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-batteries-devel
7conflicts           ocaml-batteries
8version             2.0beta2
9revision            5
10categories          devel ml
11license             LGPL-2.1
12platforms           darwin
13maintainers         mww openmaintainer
14description         A new O'Caml standard library -- BETA version
15long_description    OCaml Batteries included (or simply Batteries) is a \
16                    community-driven effort to standardize on an consistent, \
17                    documented, and comprehensive development platform for the \
18                    OCaml programming language.
19homepage            http://batteries.forge.ocamlcore.org/
20
21fetch.type          git
22git.url             git://github.com/ocaml-batteries-team/batteries-included.git
23git.branch          0bdfe1bca5c5b9dea5590b426b199bc742c541db
24
25depends_lib         port:ocaml \
26                    port:ocaml-findlib \
27                    port:ocaml-type-conv \
28                    port:ocaml-sexplib \
29                    port:ocaml-bin-prot \
30                    port:ocaml-camomile \
31                    port:ocaml-zip \
32                    port:ocaml-ocamlnet \
33                    port:ocaml-ounit
34
35patch {
36    reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile
37}
38
39use_configure no
40use_parallel_build no
41
42build.target        all doc qtest
43
44destroot.target     install install-doc
45destroot.destdir    DESTDIR=${ocamlfind_destdir} DOCROOT=${destroot}${prefix}/share/doc/${name}
46
47pre-destroot {
48    file mkdir $ocamlfind_destdir
49}
50post-destroot {
51    system "ln -sf ${prefix}/lib/ocaml/site-lib/batteries/qtest ${destroot}${prefix}/bin/qtest"
52}
53
Note: See TracBrowser for help on using the repository browser.