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

sean at macports.org sean at macports.org
Thu Jan 23 12:16:01 PST 2014


Revision: 116396
          https://trac.macports.org/changeset/116396
Author:   sean at macports.org
Date:     2014-01-23 12:16:01 -0800 (Thu, 23 Jan 2014)
Log Message:
-----------
petsc-devel: add new port for development version of petsc

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

Modified: trunk/dports/math/petsc/Portfile
===================================================================
--- trunk/dports/math/petsc/Portfile	2014-01-23 20:15:54 UTC (rev 116395)
+++ trunk/dports/math/petsc/Portfile	2014-01-23 20:16:01 UTC (rev 116396)
@@ -16,10 +16,6 @@
                     of scientific applications modeled by partial differential equations. \
                     It employs the MPI standard for all message-passing communication.
 
-notes               "Add the following line to your .bash_profile if you plan to use\
-                    the PETSC makefile rules in $prefix/lib/petsc/conf: \n\
-                    \texport PETSC_DIR=${prefix}/lib/petsc"
-
 platforms           darwin
 universal_variant   no
 
@@ -30,12 +26,6 @@
 
 depends_build       port:cmake
 
-configure.args      --prefix=${prefix}/lib/petsc \
-                    --with-valgrind=0 \
-                    --with-mpi=0 \
-                    --with-fc=0 \
-                    --with-shared-libraries
-
 pre-configure {
     configure.args-append \
         --CC="${configure.cc}" \
@@ -57,6 +47,28 @@
 
 }
 
+subport petsc-devel {
+    bitbucket.setup     petsc petsc 06283fd4323c
+    version             3.4.99
+    name                petsc-devel
+
+    checksums           rmd160  69b0d37f0ec1ecb324f9f38f31fdfbcf801275d1 \
+                        sha256  0d95e3df912803ad28bed74336fcb193d493657683ba4d21cec4fcdc12ed129b
+
+    # until bitbucket can livecheck a specific branch, manually check
+    livecheck.type      none
+}
+
+notes               "Add the following line to your .bash_profile if you plan to use\
+                    the PETSC makefile rules in $prefix/lib/petsc/conf: \n\
+                    \texport PETSC_DIR=${prefix}/lib/${name}"
+
+configure.args      --prefix=${prefix}/lib/${name} \
+                    --with-valgrind=0 \
+                    --with-mpi=0 \
+                    --with-fc=0 \
+                    --with-shared-libraries
+
 variant accelerate description {Use Accelerate framework for LAPACK} conflicts atlas {
     configure.args-append --with-blas-lapack-lib=/System/Library/Frameworks/Accelerate.framework/Versions/Current/Accelerate
 }
@@ -163,4 +175,4 @@
     default_variants +accelerate
 }
 
-destroot.destdir    DESTDIR=${destroot}${prefix}/lib/petsc
+destroot.destdir    DESTDIR=${destroot}${prefix}/lib/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140123/38f60fd2/attachment.html>


More information about the macports-changes mailing list