Last change
on this file was
137992,
checked in by mww@…, 4 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.6 KB
|
Rev | Line | |
---|
[78632] | 1 | # $Id: Portfile 137992 2015-06-24 16:17:51Z mww@macports.org $ |
---|
[74953] | 2 | |
---|
| 3 | PortSystem 1.0 |
---|
[84184] | 4 | |
---|
[88542] | 5 | name ocaml-mpi |
---|
[74953] | 6 | version 1.01 |
---|
[137992] | 7 | revision 7 |
---|
[74953] | 8 | categories science devel ml |
---|
| 9 | maintainers mww |
---|
[84184] | 10 | license LGPL-2 |
---|
[74953] | 11 | description Caml bindings for a large subset of MPI functions |
---|
| 12 | long_description ${description} |
---|
| 13 | homepage http://cristal.inria.fr/~xleroy/software.html |
---|
| 14 | platforms darwin |
---|
| 15 | |
---|
| 16 | master_sites http://caml.inria.fr/distrib/bazar-ocaml \ |
---|
| 17 | https://forge.ocamlcore.org/frs/download.php/329/ |
---|
| 18 | distname ocamlmpi-${version} |
---|
| 19 | |
---|
| 20 | checksums md5 31e86ecb812832eb9480e2a4c6981608 \ |
---|
| 21 | sha1 4f836f02f7e8852ba72d4293aea43cf7a3438b0f \ |
---|
| 22 | rmd160 c0a08090073c54e130cd2712c7d1cfbeb8d17793 |
---|
| 23 | |
---|
[111271] | 24 | depends_lib port:ocaml port:ocaml-findlib path:bin/mpicc-mp:mpich-default |
---|
[74953] | 25 | |
---|
| 26 | patchfiles Makefile.diff |
---|
| 27 | |
---|
| 28 | post-patch { |
---|
| 29 | file copy ${filespath}/META ${worksrcpath} |
---|
| 30 | } |
---|
| 31 | |
---|
| 32 | use_configure no |
---|
| 33 | use_parallel_build no |
---|
| 34 | |
---|
[111343] | 35 | if {[file exists ${prefix}/lib/mpich-mp-devel]} then { |
---|
| 36 | build.env MPIINCDIR=${prefix}/include MPILIBDIR=${prefix}/lib/mpich-mp-devel |
---|
| 37 | } else { |
---|
[111271] | 38 | build.env MPIINCDIR=${prefix}/include MPILIBDIR=${prefix}/lib/mpich-mp |
---|
| 39 | } |
---|
| 40 | |
---|
[74953] | 41 | build.target all |
---|
| 42 | |
---|
| 43 | set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib |
---|
| 44 | destroot.env OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir -ldconf ignore" OCAMLFIND_STUBLIBS=${ocamlfind_destdir}/stublibs |
---|
| 45 | destroot.target ocamlfind-install |
---|
| 46 | |
---|
| 47 | pre-destroot { |
---|
| 48 | file mkdir $ocamlfind_destdir |
---|
| 49 | } |
---|
| 50 | |
---|
| 51 | livecheck.type regex |
---|
[86492] | 52 | livecheck.url http://forge.ocamlcore.org/frs/?group_id=135 |
---|
| 53 | livecheck.regex "ocamlmpi-(.*?).tar.gz" |
---|
Note: See
TracBrowser
for help on using the repository browser.