[71908] trunk/dports/math/petsc/Portfile

mmoll at macports.org mmoll at macports.org
Sun Sep 26 08:40:45 PDT 2010


Revision: 71908
          http://trac.macports.org/changeset/71908
Author:   mmoll at macports.org
Date:     2010-09-26 08:40:42 -0700 (Sun, 26 Sep 2010)
Log Message:
-----------
math/petsc: fix copy/paste error

Modified Paths:
--------------
    trunk/dports/math/petsc/Portfile

Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile	2010-09-26 15:07:30 UTC (rev 71907)
+++ trunk/dports/math/petsc/Portfile	2010-09-26 15:40:42 UTC (rev 71908)
@@ -33,20 +33,18 @@
 		--with-mpiexec=${prefix}/bin/openmpiexec
 build.env-append    PETSC_DIR=${worksrcpath} PETSC_ARCH=darwin
 post-destroot {
-    post-destroot {
-       reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/lib/petsc/conf/RDict.db \
-                                                      ${destroot}${prefix}/lib/petsc/conf/petscrules \
-                                                      ${destroot}${prefix}/lib/petsc/conf/petscvariables \
-                                                      ${destroot}${prefix}/lib/petsc/conf/reconfigure-darwin.py \
-                                                      ${destroot}${prefix}/lib/petsc/conf/rules \
-                                                      ${destroot}${prefix}/lib/petsc/conf/test \
-                                                      ${destroot}${prefix}/lib/petsc/conf/variables \
-                                                      ${destroot}${prefix}/lib/petsc/include/petscconf.h
-       reinplace "s|${worksrcpath}|${prefix}/petsc|g" ${destroot}${prefix}/lib/petsc/include/petscconf.h \
-                                                      ${destroot}${prefix}/lib/petsc/include/petscmachineinfo.h \
-                                                      ${destroot}${prefix}/lib/petsc/conf/petscvariables \
-                                                      ${destroot}${prefix}/lib/petsc/conf/RDict.db
-    }
+   reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/lib/petsc/conf/RDict.db \
+                                                  ${destroot}${prefix}/lib/petsc/conf/petscrules \
+                                                  ${destroot}${prefix}/lib/petsc/conf/petscvariables \
+                                                  ${destroot}${prefix}/lib/petsc/conf/reconfigure-darwin.py \
+                                                  ${destroot}${prefix}/lib/petsc/conf/rules \
+                                                  ${destroot}${prefix}/lib/petsc/conf/test \
+                                                  ${destroot}${prefix}/lib/petsc/conf/variables \
+                                                  ${destroot}${prefix}/lib/petsc/include/petscconf.h
+   reinplace "s|${worksrcpath}|${prefix}/petsc|g" ${destroot}${prefix}/lib/petsc/include/petscconf.h \
+                                                  ${destroot}${prefix}/lib/petsc/include/petscmachineinfo.h \
+                                                  ${destroot}${prefix}/lib/petsc/conf/petscvariables \
+                                                  ${destroot}${prefix}/lib/petsc/conf/RDict.db
 }
 
 # disabled for now; no mpi support in fftw port yet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100926/41d9d9b8/attachment.html>


More information about the macports-changes mailing list