[151154] trunk/dports/lang/jython/Portfile
cal at macports.org
cal at macports.org
Mon Aug 8 15:33:06 PDT 2016
Revision: 151154
https://trac.macports.org/changeset/151154
Author: cal at macports.org
Date: 2016-08-08 15:33:06 -0700 (Mon, 08 Aug 2016)
Log Message:
-----------
jython: Fix issue while upgrading from 2.5.2
Closes #51981
Modified Paths:
--------------
trunk/dports/lang/jython/Portfile
Modified: trunk/dports/lang/jython/Portfile
===================================================================
--- trunk/dports/lang/jython/Portfile 2016-08-08 22:09:54 UTC (rev 151153)
+++ trunk/dports/lang/jython/Portfile 2016-08-08 22:33:06 UTC (rev 151154)
@@ -4,6 +4,7 @@
name jython
version 2.7.0
+revision 1
categories lang python java
platforms darwin
maintainers nomaintainer
@@ -55,6 +56,11 @@
system "chmod +x ${destroot}${prefix}/bin/${name}"
}
+pre-activate {
+ # Delete cache files left over from old installation
+ file delete -force -- ${prefix}/share/java/${name}/cachedir
+}
+
variant installer description {Use installer, rather than building from source} {
fetch.type standard
distname ${name}-installer-${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160808/7015fe51/attachment.html>
More information about the macports-changes
mailing list