Changeset 79614
- Timestamp:
- 06/20/11 08:30:12 (4 years ago)
- Location:
- trunk/dports/science/mpich2
- Files:
-
- 1 deleted
- 1 edited
-
Portfile (modified) (5 diffs)
-
files/patch-Makefile.in (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/mpich2/Portfile
r79613 r79614 4 4 PortSystem 1.0 5 5 name mpich2 6 version 1.3.2p1 7 revision 1 6 version 1.4 8 7 categories science parallel net 9 8 platforms darwin … … 18 17 developing new and better parallel programming environments. 19 18 19 20 20 homepage http://www.mcs.anl.gov/research/projects/mpich2/ 21 21 master_sites ${homepage}downloads/tarballs/${version}/ 22 22 23 checksums md5 ae512ce9da2e8a3cc7c344712349eceb\24 sha1 1ab05a516c82d622747b137cec83ae549aa3bebe\25 rmd160 33a7f55f9f5521133b89d06c4d4388d4938ff8d423 checksums md5 cf7f8c12161b0af3f111e33c6d15f5c6 \ 24 sha1 011028456e268b013c55a00dfe51f4bc905c1c48 \ 25 rmd160 ecd60567d80ad08ecd06e8fe8cfaeb626941f768 26 26 27 # Puts all entries in <prefix>/share into appropriate mpich2 subdirs 28 destroot.args PACKAGE=mpich2 27 29 patchfiles patch-src-util-createshlib.in 28 30 … … 40 42 "F90FLAGS='' F90=''" \ 41 43 --with-pm=hydra \ 42 --enable-shared 44 --enable-shared \ 45 --enable-base-cache 43 46 44 47 universal_variant no … … 46 49 use_parallel_build no 47 50 48 variant g95 description {Enable Fortran 77 and Fortran 90 bindings using g95} conflicts gcc42 gcc43 gcc44 gcc45 { 49 depends_lib-append port:g95 50 configure.f77 "${prefix}/bin/g95" 51 configure.fflags "-i4" 52 configure.f90 "${prefix}/bin/g95" 53 configure.f90flags "-i4" 51 variant gcc45 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45} conflicts gcc42 gcc43 gcc44 llvm { 52 depends_lib-append port:gcc45 53 configure.compiler macports-gcc-4.5 54 } 55 56 variant gcc44 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44} conflicts gcc42 gcc43 gcc45 llvm { 57 depends_lib-append port:gcc44 58 configure.compiler macports-gcc-4.4 59 } 60 61 variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts gcc42 gcc44 gcc45 llvm { 62 depends_lib-append port:gcc43 63 configure.compiler macports-gcc-4.3 64 } 65 66 variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts gcc43 gcc44 gcc45 llvm { 67 depends_lib-append port:gcc42 68 configure.compiler macports-gcc-4.2 69 } 70 71 if {[ variant_isset gcc42 ] || 72 [ variant_isset gcc43 ] || 73 [ variant_isset gcc44 ] || 74 [ variant_isset gcc45 ]} { 54 75 configure.args-append --enable-f77 --enable-fc 55 76 configure.args-delete --disable-f77 --disable-fc 56 77 } 57 78 58 variant gcc45 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc45} conflicts g95 gcc42 gcc43 gcc44 { 59 depends_lib-append port:gcc45 60 configure.compiler macports-gcc-4.5 61 configure.args-append --enable-f77 --enable-fc 62 configure.args-delete --disable-f77 --disable-fc 63 } 64 65 variant gcc44 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc44} conflicts g95 gcc42 gcc43 gcc45 { 66 depends_lib-append port:gcc44 67 configure.compiler macports-gcc-4.4 68 configure.args-append --enable-f77 --enable-fc 69 configure.args-delete --disable-f77 --disable-fc 70 } 71 72 variant gcc43 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc43} conflicts g95 gcc42 gcc44 gcc45 { 73 depends_lib-append port:gcc43 74 configure.compiler macports-gcc-4.3 75 configure.args-append --enable-f77 --enable-fc 76 configure.args-delete --disable-f77 --disable-fc 77 } 78 79 variant gcc42 description {Enable Fortran 77 and Fortran 90 bindings using gfortran from gcc42} conflicts g95 gcc43 gcc44 gcc45 { 80 depends_lib-append port:gcc42 81 configure.compiler macports-gcc-4.2 82 configure.args-append --enable-f77 --enable-fc 83 configure.args-delete --disable-f77 --disable-fc 79 variant llvm description {Use llvm-gcc} conflicts gcc42 gcc43 gcc44 gcc45 { 80 configure.compiler llvm-gcc-4.2 84 81 } 85 82 … … 93 90 } 94 91 95 variant python25 conflicts python26 python27 description {Use Python 2.5} {96 depends_lib-append port:python2597 configure.args-append --with-python=${prefix}/bin/python2.598 }99 variant python26 conflicts python25 python27 description {Use Python 2.6} {100 depends_lib-append port:python26101 configure.args-append --with-python=${prefix}/bin/python2.6102 }103 variant python27 conflicts python25 python26 description {Use Python 2.7} {104 depends_lib-append port:python27105 configure.args-append --with-python=${prefix}/bin/python2.7106 }107 if {![variant_isset python25] && ![variant_isset python26]} {108 default_variants +python27109 }110 111 92 variant default_mpi description {Install as defalt MPI -- conflict with OpenMPI} { 112 93 configure.args-delete --includedir=${prefix}/include/${name} 113 }114 115 post-destroot {116 # Fix misplaced documentation directories117 foreach d {jumpshot-4 www4} {118 move ${destroot}${prefix}/share/doc/${d} ${destroot}${prefix}/share/doc/${name}/${d}119 }120 121 # Fix misplaced examples directories122 xinstall -d ${destroot}${prefix}/share/examples/${name}123 foreach p {collchk graphics logging} {124 move ${destroot}${prefix}/share/examples_${p} ${destroot}${prefix}/share/examples/${name}/${p}125 }126 127 # Remove questionable scripts128 foreach f {mpecheckinstall mpeuninstall} {129 delete ${destroot}${prefix}/sbin/${f}130 }131 94 } 132 95
Note: See TracChangeset
for help on using the changeset viewer.

