[22532] trunk/dports/lang/gcc42/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Mar 4 10:30:50 PST 2007


Revision: 22532
          http://trac.macosforge.org/projects/macports/changeset/22532
Author:   mww at macports.org
Date:     2007-03-04 10:30:49 -0800 (Sun, 04 Mar 2007)

Log Message:
-----------
better use livecheck(regex) for the BETA snapshots

Modified Paths:
--------------
    trunk/dports/lang/gcc42/Portfile

Modified: trunk/dports/lang/gcc42/Portfile
===================================================================
--- trunk/dports/lang/gcc42/Portfile	2007-03-04 18:25:16 UTC (rev 22531)
+++ trunk/dports/lang/gcc42/Portfile	2007-03-04 18:30:49 UTC (rev 22532)
@@ -93,6 +93,10 @@
 				--with-ar=${prefix}/bin/odar
 }
 
-livecheck.check	moddate
-livecheck.url	http://gcc.gnu.org/gcc-4.2/
+# for the BETA snapshots, use regex on the ftp url
+livecheck.check	regex
+livecheck.url	ftp://gcc.gnu.org/pub/gcc/snapshots/
+livecheck.regex	LATEST-4.2 -> (4.2-\[0-9\]+)
+#livecheck.check	moddate
+#livecheck.url	http://gcc.gnu.org/gcc-4.2/
 

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


More information about the macports-changes mailing list