Ticket #19188: Portfile

File Portfile, 1.3 KB (added by CaptSolo, 16 years ago)
Line 
1# $Id: Portfile 38489 2008-07-22 13:25:12Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                rtmpdump
6version             1.4
7categories          www net
8platforms           darwin
9maintainers         captsolo@gmail.com openmaintainer@macports.com
10description         a tool for downloading RTMP streaming media
11long_description    A small dumper for media content streamed over \
12                    the RTMP protocol. Supplying an rtmp url will result \
13                    in a dumped flv file, which can be played or transcoded \
14                    using ffmpeg/mplayer, etc. The script for downloading \
15                    BBC iPlayer streams is included.
16
17homepage            http://sourceforge.net/projects/rtmpdump/
18master_sites        sourceforge
19distname            ${name}-v${version}
20worksrcdir          ${name}
21
22checksums           md5 09fef2e674f7579088d966aac5d08736
23
24patchfiles          patch-bytes.h.diff
25use_configure       no
26
27variant nodebug description {Build with NODEBUG flag (silences some debug messages when downloading)} {
28    patchfiles-append          patch-log.h.diff
29}
30 
31destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/bin
33    xinstall -m 755 ${worksrcpath}/rtmpdump ${destroot}${prefix}/bin
34    xinstall -m 755 ${worksrcpath}/get_iplayer ${destroot}${prefix}/bin
35}