source: trunk/dports/www/rtmpdump/Portfile @ 50620

Last change on this file since 50620 was 50620, checked in by raimue@…, 11 years ago

www/rtmpdump:
Fix build for Tiger, closes #19386

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50620 2009-05-05 08:03:19Z raimue@macports.org $
2
3PortSystem 1.0
4
5name                rtmpdump
6version             1.4
7revision            1
8categories          www net
9platforms           darwin
10maintainers         gmail.com:captsolo openmaintainer
11description         a tool for downloading RTMP streaming media
12long_description    A small dumper for media content streamed over \
13                    the RTMP protocol. Supplying an rtmp url will result \
14                    in a dumped flv file, which can be played or transcoded \
15                    using ffmpeg/mplayer, etc. The script for downloading \
16                    BBC iPlayer streams is included.
17
18homepage            http://sourceforge.net/projects/rtmpdump/
19master_sites        sourceforge
20distname            ${name}-v${version}
21worksrcdir          ${name}
22
23checksums           md5 09fef2e674f7579088d966aac5d08736
24
25patchfiles          patch-bytes.h.diff patch-bytes.cpp.diff
26post-patch {
27    reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile
28    reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile
29}
30use_configure       no
31
32variant nodebug description {Build with NODEBUG flag (silences some debug messages when downloading)} {
33    patchfiles-append          patch-log.h.diff
34}
35 
36destroot {
37    xinstall -m 755 -W ${worksrcpath} rtmpdump get_iplayer ${destroot}${prefix}/bin
38}
Note: See TracBrowser for help on using the repository browser.