[87440] trunk/dports/math/slepc/Portfile
mmoll at macports.org
mmoll at macports.org
Mon Nov 21 08:52:41 PST 2011
Revision: 87440
http://trac.macports.org/changeset/87440
Author: mmoll at macports.org
Date: 2011-11-21 08:52:41 -0800 (Mon, 21 Nov 2011)
Log Message:
-----------
math/slepc: update to 3.2-p2, add error message saying that port needs to be deactivated before an upgrade
Modified Paths:
--------------
trunk/dports/math/slepc/Portfile
Modified: trunk/dports/math/slepc/Portfile
===================================================================
--- trunk/dports/math/slepc/Portfile 2011-11-21 16:11:37 UTC (rev 87439)
+++ trunk/dports/math/slepc/Portfile 2011-11-21 16:52:41 UTC (rev 87440)
@@ -3,8 +3,7 @@
PortSystem 1.0
name slepc
-version 3.2-p0
-revision 1
+version 3.2-p2
license LGPL
categories math science
maintainers mmoll
@@ -26,9 +25,9 @@
distname ${name}-${version}
universal_variant no
-checksums md5 a1ff6a872b0aeafbe271b58993c33e24 \
- sha1 45006947078373a8a4b481e87da8a2bf2f828cab \
- rmd160 5a7d2f239cb71ba1178796fd36824324beeb7bfa
+checksums md5 05eb2a7545761f14e174f4f1161aea67 \
+ sha1 8e43d1c84a56cdafdec3515b7fdb784dc11839fb \
+ rmd160 2fe082228b19a16e2fa5e6fbbe4581c8cf3815a3
depends_lib-append port:petsc
@@ -37,6 +36,13 @@
destroot.env-append PETSC_DIR=${prefix}/lib/petsc PETSC_ARCH=arch-installed-petsc SLEPC_DIR=${worksrcpath}
destroot.cmd-append SLEPC_DESTDIR=${destroot}${prefix}/lib/petsc
+pre-build {
+ if {[file exists ${prefix}/lib/petsc/lib/libslepc.a]} {
+ ui_error "slepc must be deactivated before upgrade."
+ error "Please run `sudo port deactivate slepc` and try again."
+ }
+}
+
variant arpack description {compile with ARPACK support} {
pre-fetch {
if {![file exists ${prefix}/lib/libparpack.a]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111121/b42b5391/attachment.html>
More information about the macports-changes
mailing list