[99749] trunk/dports/science/clhep/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Nov 15 15:24:06 PST 2012
Revision: 99749
https://trac.macports.org/changeset/99749
Author: macsforever2000 at macports.org
Date: 2012-11-15 15:24:06 -0800 (Thu, 15 Nov 2012)
Log Message:
-----------
clhep: Delete old library symlinks that may exist from old versions of clhep. (#36866)
Modified Paths:
--------------
trunk/dports/science/clhep/Portfile
Modified: trunk/dports/science/clhep/Portfile
===================================================================
--- trunk/dports/science/clhep/Portfile 2012-11-15 22:02:30 UTC (rev 99748)
+++ trunk/dports/science/clhep/Portfile 2012-11-15 23:24:06 UTC (rev 99749)
@@ -39,5 +39,16 @@
}
}
+# clean the files bypassing destroot (a bug in 2.1.2.5)
+# may be removed in November 2013
+pre-activate {
+ foreach afile {lib/libCLHEP.a lib/libCLHEP.dylib} {
+ set filepath ${prefix}/${afile}
+ if {[registry_file_registered ${filepath}] == "0"} {
+ catch {delete ${filepath}}
+ }
+ }
+}
+
livecheck.type regex
livecheck.regex {<b>([0-9.]+)</b>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121115/f44f2f02/attachment.html>
More information about the macports-changes
mailing list