[83156] trunk/dports/science/mpich2/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Aug 26 10:54:29 PDT 2011


Revision: 83156
          http://trac.macports.org/changeset/83156
Author:   ryandesign at macports.org
Date:     2011-08-26 10:54:29 -0700 (Fri, 26 Aug 2011)
Log Message:
-----------
mpich2: whitespace changes / reformatting only

Modified Paths:
--------------
    trunk/dports/science/mpich2/Portfile

Modified: trunk/dports/science/mpich2/Portfile
===================================================================
--- trunk/dports/science/mpich2/Portfile	2011-08-26 17:46:16 UTC (rev 83155)
+++ trunk/dports/science/mpich2/Portfile	2011-08-26 17:54:29 UTC (rev 83156)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+
 name                mpich2
 version             1.4.1
 license             BSD
@@ -9,14 +10,16 @@
 platforms           darwin
 maintainers         eborisch \
                     openmaintainer
+
 description         Message Passing Interface (MPI) Library
-long_description \
-   MPICH2 is an implementation of the Message-Passing Interface (MPI). The \
-   goals of MPICH2 are to provide an MPI implementation for important \
-   platforms, including clusters, SMPs, and massively parallel processors. \
-   It also provides a vehicle for MPI implementation research and for \
-   developing new and better parallel programming environments.
 
+long_description    MPICH2 is an implementation of the Message-Passing \
+                    Interface (MPI). The goals of MPICH2 are to provide an \
+                    MPI implementation for important platforms, including \
+                    clusters, SMPs, and massively parallel processors. It \
+                    also provides a vehicle for MPI implementation research \
+                    and for developing new and better parallel programming \
+                    environments.
 
 homepage            http://www.mcs.anl.gov/research/projects/mpich2/
 master_sites        ${homepage}downloads/tarballs/${version}/
@@ -27,18 +30,18 @@
 
 # Don't build if lammpi is around.
 pre-configure {
-if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} {
-      ui_error "Cannot co-exist with lammpi; please deactivate lammpi before configuring."
-      return -code error
+    if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} {
+        ui_error "Cannot co-exist with lammpi; please deactivate lammpi before configuring."
+        return -code error
     }
 }
 
 pre-build {
     if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} {
-  ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building."
-  return -code error
+        ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building."
+        return -code error
+    }
 }
-}
 
 # Puts all entries in <prefix>/share into appropriate mpich2 subdirs
 destroot.args       PACKAGE=mpich2
@@ -116,18 +119,18 @@
     configure.compiler      macports-gcc-4.2
 }
 
-if {[ variant_isset gcc42 ] || 
-    [ variant_isset gcc43 ] || 
-    [ variant_isset gcc44 ] || 
+if {[ variant_isset gcc42 ] ||
+    [ variant_isset gcc43 ] ||
+    [ variant_isset gcc44 ] ||
     [ variant_isset gcc45 ]} {
     configure.args-append   --enable-f77 --enable-fc
-    configure.args-delete   --disable-f77 --disable-fc 
+    configure.args-delete   --disable-f77 --disable-fc
 }
 
 variant system_gcc description {
     Use system gcc (no Fortran)
 } conflicts gcc42 gcc43 gcc44 gcc45 llvm clang {
-    configure.compiler      gcc-4.2 
+    configure.compiler      gcc-4.2
 }
 
 variant llvm description {
@@ -138,7 +141,7 @@
 
 variant clang description {
     Use clang
-} conflicts gcc42 gcc43 gcc44 gcc45 system_gcc llvm { 
+} conflicts gcc42 gcc43 gcc44 gcc45 system_gcc llvm {
     configure.compiler      clang
     configure.cxx           clang++
     configure.cflags-append -w
@@ -165,4 +168,3 @@
 
 livecheck.type      regex
 livecheck.regex     ${name}-(\[0-9.p\]+)${extract.suffix}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110826/abb96a20/attachment-0001.html>


More information about the macports-changes mailing list