Changeset 79909
- Timestamp:
- 06/29/11 00:45:36 (4 years ago)
- Location:
- trunk/dports/multimedia/ffmpeg-devel
- Files:
-
- 1 deleted
- 1 edited
-
Portfile (modified) (5 diffs)
-
files/patch-Makefile.diff (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/multimedia/ffmpeg-devel/Portfile
r77351 r79909 7 7 name ffmpeg-devel 8 8 conflicts ffmpeg 9 set svn_rev 25102 10 set swscale_rev 32106 11 version ${svn_rev} 9 set rev 9e17d051ac9b113b70980373b8489ca469505f3f 10 version 20110628 12 11 license nonfree GPL-2+ LGPL-2.1+ 13 12 categories multimedia … … 50 49 distfiles 51 50 52 worksrcdir trunk51 worksrcdir ffmpeg 53 52 54 53 depends_build port:pkgconfig \ 55 bin: svn:subversion\54 bin:git:git-core \ 56 55 port:gmake \ 57 56 port:texi2html … … 74 73 75 74 pre-fetch { 76 if {[file isdirectory ${distpath}/${ svn_rev}]} {77 if {![file isdirectory ${distpath}/${svn_rev}/trunk/.svn] || ![file exists ${distpath}/${svn_rev}/trunk/.complete]} {78 file delete -force ${distpath}/${ svn_rev}75 if {[file isdirectory ${distpath}/${rev}]} { 76 if {![file exists ${distpath}/${rev}/.complete]} { 77 file delete -force ${distpath}/${rev} 79 78 } 80 79 } … … 82 81 83 82 fetch { 84 if {![file isdirectory ${distpath}/${ svn_rev}]} {85 file mkdir ${distpath}/${ svn_rev}86 system " svn co --ignore-externals svn://svn.ffmpeg.org/ffmpeg/trunk@${svn_rev} ${distpath}/${svn_rev}/trunk"87 system " svn co svn://svn.ffmpeg.org/mplayer/trunk/libswscale@${swscale_rev} ${distpath}/${svn_rev}/trunk/libswscale"88 system "touch ${distpath}/${ svn_rev}/trunk/.complete"83 if {![file isdirectory ${distpath}/${rev}]} { 84 file mkdir ${distpath}/${rev}/ffmpeg 85 system "git clone --depth 1000 git://git.videolan.org/ffmpeg.git ${distpath}/${rev}/ffmpeg" 86 system "cd ${distpath}/${rev}/ffmpeg && git checkout -f ${rev}" 87 system "touch ${distpath}/${rev}/.complete" 89 88 } 90 89 } … … 97 96 98 97 extract { 99 file copy ${distpath}/${svn_rev}/trunk ${worksrcpath} 100 } 101 102 patchfiles patch-Makefile.diff 98 file copy ${distpath}/${rev}/ffmpeg ${worksrcpath} 99 } 103 100 104 101 configure.cflags-append -DHAVE_LRINTF ${configure.cppflags}
Note: See TracChangeset
for help on using the changeset viewer.

