[85824] trunk/dports/multimedia/ffmpeg-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Oct 16 09:02:35 PDT 2011


Revision: 85824
          http://trac.macports.org/changeset/85824
Author:   ryandesign at macports.org
Date:     2011-10-16 09:02:34 -0700 (Sun, 16 Oct 2011)
Log Message:
-----------
ffmpeg-devel: don't override the fetch phase; see wiki:PortfileRecipes#fetchwithgetparams; share dist_subdir with ffmpeg

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

Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile	2011-10-16 16:02:11 UTC (rev 85823)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile	2011-10-16 16:02:34 UTC (rev 85824)
@@ -46,10 +46,9 @@
 
 platforms       darwin
 homepage        http://www.ffmpeg.org/
-master_sites
+master_sites    "http://git.videolan.org/gitweb.cgi?p=ffmpeg.git;a=snapshot;h=${git_branch};sf=tgz;dummy="
+dist_subdir     ffmpeg
 
-depends_fetch   port:curl
-
 depends_build   port:pkgconfig \
                 port:gmake \
                 port:texi2html
@@ -79,15 +78,6 @@
 
 checksums       rmd160  8047d9a808415e52524a41bd0f4e634a8a810023
 
-fetch {
-    set filename ${distname}${extract.suffix}
-    set filepath ${distpath}/${filename}
-    if {![file exists ${filepath}]} {
-        ui_msg "--->  Attempting to fetch snapshot ${filename} from git repository."
-        system "curl -o ${filepath} 'http://git.videolan.org/gitweb.cgi?p=ffmpeg.git;a=snapshot;h=${git_branch};sf=tgz'"
-    }
-}
-
 build.cmd       ${prefix}/bin/gmake
 build.env-append V=1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111016/4d9fdb85/attachment.html>


More information about the macports-changes mailing list