source: trunk/dports/science/ocaml-mpi/Portfile @ 111008

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

increase revision on ports depending on ocaml (which was updated to version 4.01.0)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 111008 2013-09-13 12:35:03Z mww@macports.org $
2
3PortSystem 1.0
4
5name                ocaml-mpi
6version             1.01
7revision            4
8categories          science devel ml
9maintainers         mww
10license             LGPL-2
11description         Caml bindings for a large subset of MPI functions
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/329/
18distname            ocamlmpi-${version}
19
20checksums           md5     31e86ecb812832eb9480e2a4c6981608 \
21                    sha1    4f836f02f7e8852ba72d4293aea43cf7a3438b0f \
22                    rmd160  c0a08090073c54e130cd2712c7d1cfbeb8d17793
23
24depends_lib         port:ocaml port:ocaml-findlib path:bin/mpicc:mpich
25
26patchfiles          Makefile.diff
27
28post-patch {
29    file copy ${filespath}/META ${worksrcpath}
30}
31
32use_configure       no
33use_parallel_build  no
34
35build.env           MPIINCDIR=${prefix}/include/mpich2 MPILIBDIR=${prefix}/lib
36build.target        all
37
38set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
39destroot.env        OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir -ldconf ignore" OCAMLFIND_STUBLIBS=${ocamlfind_destdir}/stublibs
40destroot.target     ocamlfind-install
41
42pre-destroot {
43    file mkdir $ocamlfind_destdir
44}
45
46livecheck.type      regex
47livecheck.url       http://forge.ocamlcore.org/frs/?group_id=135
48livecheck.regex     "ocamlmpi-(.*?).tar.gz"
Note: See TracBrowser for help on using the repository browser.