Changeset 79930
- Timestamp:
- 06/29/11 10:26:39 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/multimedia/ffmpeg-devel/Portfile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/multimedia/ffmpeg-devel/Portfile
r79910 r79930 7 7 name ffmpeg-devel 8 8 conflicts ffmpeg 9 set rev 9e17d051ac9b113b70980373b8489ca469505f3f10 9 version 20110628 11 10 license nonfree GPL-2+ LGPL-2.1+ … … 13 12 maintainers devans openmaintainer 14 13 14 fetch.type git 15 git.url git://git.videolan.org/ffmpeg.git 16 git.branch 9e17d051ac9b113b70980373b8489ca469505f3f 17 15 18 description FFmpeg is a complete solution to play, record, convert and \ 16 19 stream audio and video. … … 46 49 platforms darwin 47 50 homepage http://www.ffmpeg.org/ 48 master_sites49 distfiles50 51 worksrcdir ffmpeg52 53 depends_fetch bin:git:git-core54 51 55 52 depends_build port:pkgconfig \ … … 72 69 port:zlib 73 70 74 75 pre-fetch {76 if {[file isdirectory ${distpath}/${rev}]} {77 if {![file exists ${distpath}/${rev}/.complete]} {78 file delete -force ${distpath}/${rev}79 }80 }81 }82 83 fetch {84 if {![file isdirectory ${distpath}/${rev}]} {85 file mkdir ${distpath}/${rev}/ffmpeg86 system "git clone --depth 1000 git://git.videolan.org/ffmpeg.git ${distpath}/${rev}/ffmpeg"87 system "cd ${distpath}/${rev}/ffmpeg && git checkout -f ${rev}"88 system "touch ${distpath}/${rev}/.complete"89 }90 }91 92 #93 71 # enable auto configure of mmx and related Intel optimizations by default 94 72 # requires Xcode 3.1 or better on Leopard 95 73 # 96 74 minimum_xcodeversions {9 3.1} 97 98 extract {99 file copy ${distpath}/${rev}/ffmpeg ${worksrcpath}100 }101 75 102 76 configure.cflags-append -DHAVE_LRINTF ${configure.cppflags}
Note: See TracChangeset
for help on using the changeset viewer.

