[40473] trunk/dports/multimedia/ffmpeg/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Thu Oct 2 11:33:52 PDT 2008


Revision: 40473
          http://trac.macports.org/changeset/40473
Author:   macsforever2000 at macports.org
Date:     2008-10-02 11:33:51 -0700 (Thu, 02 Oct 2008)
Log Message:
-----------
Fix for displaying version number. Closes ticket #16589.

Modified Paths:
--------------
    trunk/dports/multimedia/ffmpeg/Portfile

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2008-10-02 18:13:33 UTC (rev 40472)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2008-10-02 18:33:51 UTC (rev 40473)
@@ -4,7 +4,7 @@
 
 name		ffmpeg
 version		0.4.9-pre1
-revision	11
+revision	12
 categories	multimedia
 maintainers	acho at macports.org openmaintainer
 description	Digital VCR and streaming server
@@ -43,11 +43,19 @@
 
 set svn_rev 14381
 
+pre-fetch {
+    if {[file isdirectory ${distpath}/${svn_rev}]} {
+        if {![file isdirectory ${distpath}/${svn_rev}/trunk/.svn]} {
+             file delete -force ${distpath}/${svn_rev}
+        }
+    }
+}
+
 fetch {
     if {![file isdirectory ${distpath}/${svn_rev}]} {
         file mkdir ${distpath}/${svn_rev}
-        system "svn export -r${svn_rev} --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk ${distpath}/${svn_rev}/trunk"
-        system "svn export -r27349 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale"
+        system "svn co -r${svn_rev} --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk ${distpath}/${svn_rev}/trunk"
+        system "svn co -r27349 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale"
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081002/1fdf8b08/attachment.html 


More information about the macports-changes mailing list