[28161] trunk/dports

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 23 02:57:51 PDT 2007


Revision: 28161
          http://trac.macosforge.org/projects/macports/changeset/28161
Author:   ryandesign at macports.org
Date:     2007-08-23 02:57:51 -0700 (Thu, 23 Aug 2007)

Log Message:
-----------
add livecheck, thanks to Simon Ruderich. See #12484

Modified Paths:
--------------
    trunk/dports/audio/a52dec/Portfile
    trunk/dports/audio/aacgain/Portfile
    trunk/dports/audio/alac_decoder/Portfile
    trunk/dports/databases/adodb/Portfile
    trunk/dports/devel/alex/Portfile
    trunk/dports/devel/allegro/Portfile
    trunk/dports/graphics/aalib/Portfile
    trunk/dports/graphics/agave/Portfile
    trunk/dports/www/ajp-wsgi/Portfile

Modified: trunk/dports/audio/a52dec/Portfile
===================================================================
--- trunk/dports/audio/a52dec/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/audio/a52dec/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -17,3 +17,7 @@
 checksums        md5 caa9f5bc44232dc8aeea773fea56be80
 
 configure.args   --enable-shared --mandir=${prefix}/share/man
+
+# normal sourceforge livecheck isn't working because the rss feed isn't set:
+livecheck.check  regex
+livecheck.regex  "a52dec-(.+) "

Modified: trunk/dports/audio/aacgain/Portfile
===================================================================
--- trunk/dports/audio/aacgain/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/audio/aacgain/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -22,3 +22,6 @@
 platform darwin {
 	configure.env   CFLAGS=-DHAS_LRINTF
 }
+
+livecheck.check regex
+livecheck.regex "Version (.+) is now available"

Modified: trunk/dports/audio/alac_decoder/Portfile
===================================================================
--- trunk/dports/audio/alac_decoder/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/audio/alac_decoder/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -32,3 +32,6 @@
 	xinstall -m 444 ${worksrcpath}/README \
 		${destroot}${prefix}/share/doc/${name}
 }
+
+livecheck.check regex
+livecheck.regex "<li><b>(.+)</b>"

Modified: trunk/dports/databases/adodb/Portfile
===================================================================
--- trunk/dports/databases/adodb/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/databases/adodb/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -27,3 +27,7 @@
 	system "cp ${worksrcpath}/docs/* ${destroot}${docsdir}"
 	system "cp ${worksrcpath}/cute_icons_for_site/*.* ${destroot}${docsdir}/cute_icons_for_site"
 }
+
+livecheck.distname adodb-php-4-and-5
+set my-version [string map {. ""} ${version}]
+livecheck.version "adodb-${my-version}-for-php"

Modified: trunk/dports/devel/alex/Portfile
===================================================================
--- trunk/dports/devel/alex/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/devel/alex/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -32,3 +32,5 @@
                   system "runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
                 }
 
+livecheck.check regex
+livecheck.regex "version (.+) released"

Modified: trunk/dports/devel/allegro/Portfile
===================================================================
--- trunk/dports/devel/allegro/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/devel/allegro/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -21,3 +21,6 @@
 build.args	PREFIX=${prefix}
 destroot.target	install install-man
 destroot.args	PREFIX=${prefix}
+
+livecheck.check regex
+livecheck.regex " (\\S+) released!"

Modified: trunk/dports/graphics/aalib/Portfile
===================================================================
--- trunk/dports/graphics/aalib/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/graphics/aalib/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -42,3 +42,5 @@
         configure.args-delete   --with-x=no
         configure.args-append   --with-x
 }
+
+livecheck.distname aa-lib

Modified: trunk/dports/graphics/agave/Portfile
===================================================================
--- trunk/dports/graphics/agave/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/graphics/agave/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -23,3 +23,6 @@
 post-activate   {
     system "scrollkeeper-update"
 }
+
+livecheck.check regex
+livecheck.regex "agave-(.+?)\\.tar"

Modified: trunk/dports/www/ajp-wsgi/Portfile
===================================================================
--- trunk/dports/www/ajp-wsgi/Portfile	2007-08-23 09:38:32 UTC (rev 28160)
+++ trunk/dports/www/ajp-wsgi/Portfile	2007-08-23 09:57:51 UTC (rev 28161)
@@ -55,3 +55,6 @@
    depends_lib-append port:python25
 }
 
+livecheck.check regex
+livecheck.url   "${master_sites}?C=M;O=D"
+livecheck.regex "${name}-(\[0-9.\]+)\\.tar"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070823/b9663884/attachment.html


More information about the macports-changes mailing list