[113359] trunk/dports/devel/otx/Portfile

ecronin at macports.org ecronin at macports.org
Thu Nov 14 06:20:01 PST 2013


Revision: 113359
          https://trac.macports.org/changeset/113359
Author:   ecronin at macports.org
Date:     2013-11-14 06:20:01 -0800 (Thu, 14 Nov 2013)
Log Message:
-----------
otx: fix version number

Previous commit changed svn.revision but not the actual Port version.
Put the svn rev in the version number not the Portfile revision.
Fix the livecheck to check svn trunk

Modified Paths:
--------------
    trunk/dports/devel/otx/Portfile

Modified: trunk/dports/devel/otx/Portfile
===================================================================
--- trunk/dports/devel/otx/Portfile	2013-11-14 13:47:15 UTC (rev 113358)
+++ trunk/dports/devel/otx/Portfile	2013-11-14 14:20:01 UTC (rev 113359)
@@ -4,9 +4,8 @@
 PortGroup xcode 1.0
 
 name                otx
-version             0.16b
-# setting revision to svn.revision was a bad idea...
-revision            557
+svn.revision        560
+version             0.16b-r${svn.revision}
 categories          devel sysutils
 license             public-domain
 maintainers         nomaintainer
@@ -20,13 +19,10 @@
     adding comments that describe member variables, function calls, static data \
     and more.
 homepage            http://otx.osxninja.com/
-# master_sites        
+# master_sites
 fetch.type          svn
 svn.url             http://otx.osxninja.com/builds/trunk/
-svn.revision        560
 
-# checksums           md5 MD5SUM \
-#                     sha1 SHA1SUM
 worksrcdir          trunk
 
 supported_archs     i386 ppc
@@ -38,5 +34,6 @@
 
 # depends on otool but that's not part of MacPorts
 livecheck.type      regex
-livecheck.regex     {<a href="files/otx.dmg">otx (.*?)</a>}
-livecheck.version   ${version}
+livecheck.url       ${svn.url}
+livecheck.regex     Revision (\\d+):
+livecheck.version   ${svn.revision}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131114/d8ab44b0/attachment.html>


More information about the macports-changes mailing list