Revision: 89742 http://trac.macports.org/changeset/89742 Author: jwa@macports.org Date: 2012-02-08 10:12:07 -0800 (Wed, 08 Feb 2012) Log Message: ----------- improve livecheck Modified Paths: -------------- trunk/dports/python/py-wxpython/Portfile Modified: trunk/dports/python/py-wxpython/Portfile =================================================================== --- trunk/dports/python/py-wxpython/Portfile 2012-02-08 17:29:07 UTC (rev 89741) +++ trunk/dports/python/py-wxpython/Portfile 2012-02-08 18:12:07 UTC (rev 89742) @@ -55,6 +55,10 @@ } } -livecheck.type regex -livecheck.url ${homepage} -livecheck.regex wxPython (2\\.\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+) +if {$subport == $name} { + livecheck.type regex + livecheck.url ${homepage} + livecheck.regex wxPython(?: | \\(classic\\) )(2\\.\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+) +} else { + livecheck.type none +}
participants (1)
-
jwa@macports.org