[97106] trunk/dports/aqua

ryandesign at macports.org ryandesign at macports.org
Mon Aug 27 11:25:19 PDT 2012


Revision: 97106
          https://trac.macports.org/changeset/97106
Author:   ryandesign at macports.org
Date:     2012-08-27 11:25:18 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
TeXShop, TeXShop3: fix livecheck

Modified Paths:
--------------
    trunk/dports/aqua/TeXShop/Portfile
    trunk/dports/aqua/TeXShop3/Portfile

Modified: trunk/dports/aqua/TeXShop/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop/Portfile	2012-08-27 18:06:39 UTC (rev 97105)
+++ trunk/dports/aqua/TeXShop/Portfile	2012-08-27 18:25:18 UTC (rev 97106)
@@ -6,7 +6,7 @@
 
 name            TeXShop
 version         2.43
-
+set major       [lindex [split ${version} .] 0]
 categories      aqua editors
 license         GPL-2+
 maintainers     nomaintainer
@@ -79,5 +79,4 @@
 notes "If you intend to use the Lilypond engine, please copy ${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine to ~/Library/${name}/Engines/Lilypond.engine"
 
 livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     "${name} (\\d+\\.\\d+)"
+livecheck.regex     TeXShop \\(v (${major}\.\[0-9.\]+)\\)

Modified: trunk/dports/aqua/TeXShop3/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop3/Portfile	2012-08-27 18:06:39 UTC (rev 97105)
+++ trunk/dports/aqua/TeXShop3/Portfile	2012-08-27 18:25:18 UTC (rev 97106)
@@ -7,7 +7,7 @@
 name            TeXShop3
 conflicts	TeXShop
 version         3.11
-
+set major       [lindex [split ${version} .] 0]
 categories      aqua editors
 license         GPL-2+
 maintainers     jwa openmaintainer
@@ -63,5 +63,4 @@
 }
 
 livecheck.type      regex
-livecheck.url       http://pages.uoregon.edu/koch/texshop/version.html
-livecheck.regex     ${propername} Changes (\\d+\\.\\d+)
+livecheck.regex     TeXShop \\(v (${major}\.\[0-9.\]+)\\)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/386d26e2/attachment.html>


More information about the macports-changes mailing list