[36509] trunk/dports/multimedia/ffmpeg/Portfile
raimue at macports.org
raimue at macports.org
Sun May 4 14:35:07 PDT 2008
Revision: 36509
http://trac.macosforge.org/projects/macports/changeset/36509
Author: raimue at macports.org
Date: 2008-05-04 14:35:07 -0700 (Sun, 04 May 2008)
Log Message:
-----------
multimedia/ffmpeg:
Rewritten fetch/extract phase to avoid fetching multiple times.
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg/Portfile
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2008-05-04 21:35:03 UTC (rev 36508)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2008-05-04 21:35:07 UTC (rev 36509)
@@ -38,12 +38,19 @@
worksrcdir trunk
depends_build bin:svn:subversion
+set svn_rev 12276
+
fetch {
- system "svn export -r12276 --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk ${worksrcpath}/"
- system "svn export -r26183 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${worksrcpath}/libswscale"
+ 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 -r26183 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale"
+ }
}
-extract {}
+extract {
+ file copy ${distpath}/${svn_rev}/trunk ${worksrcpath}
+}
platforms darwin
configure.cflags-append -DHAVE_LRINTF ${configure.cppflags}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080504/6bf5f3dd/attachment.html
More information about the macports-changes
mailing list