[44160] trunk/dports/devel/darwinbuild/Portfile

wsiegrist at apple.com wsiegrist at apple.com
Mon Dec 22 12:36:23 PST 2008


Revision: 44160
          http://trac.macports.org/changeset/44160
Author:   wsiegrist at apple.com
Date:     2008-12-22 12:36:23 -0800 (Mon, 22 Dec 2008)
Log Message:
-----------
darwinbuild: automatically set revision from svn

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

Modified: trunk/dports/devel/darwinbuild/Portfile
===================================================================
--- trunk/dports/devel/darwinbuild/Portfile	2008-12-22 20:00:44 UTC (rev 44159)
+++ trunk/dports/devel/darwinbuild/Portfile	2008-12-22 20:36:23 UTC (rev 44160)
@@ -24,6 +24,9 @@
 fetch.type	svn
 svn.url		http://svn.macosforge.org/repository/darwinbuild/trunk/
 svn.tag		HEAD
+set svninfo 	[exec svn info ${svn.url}]
+set svnret 	[regexp {Last Changed Rev: (\d+)} $svninfo svnline svnrev]
+revision	$svnrev
 
 worksrcdir	trunk
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081222/0a02b7d0/attachment.html>


More information about the macports-changes mailing list