Skip to content
Permalink
Browse files

Fix for displaying version number. Closes ticket https://trac.macport…

  • Loading branch information
mf2k committed Oct 2, 2008
1 parent 6c1f4b9 commit b50a51112af64bdf1d3135a0a227656566b28902
Showing with 11 additions and 3 deletions.
  1. +11 −3 multimedia/ffmpeg/Portfile
@@ -4,7 +4,7 @@ PortSystem 1.0

name ffmpeg
version 0.4.9-pre1
revision 11
revision 12
categories multimedia
maintainers acho@macports.org openmaintainer
description Digital VCR and streaming server
@@ -43,11 +43,19 @@ configure.compiler gcc-4.0

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"
}
}

0 comments on commit b50a511

Please sign in to comment.
You can’t perform that action at this time.