# $Id: Portfile 50620 2009-05-05 08:03:19Z raimue@macports.org $ PortSystem 1.0 name rtmpdump version 1.4 revision 1 categories www net platforms darwin maintainers gmail.com:captsolo openmaintainer description a tool for downloading RTMP streaming media long_description A small dumper for media content streamed over \ the RTMP protocol. Supplying an rtmp url will result \ in a dumped flv file, which can be played or transcoded \ using ffmpeg/mplayer, etc. The script for downloading \ BBC iPlayer streams is included. homepage http://sourceforge.net/projects/rtmpdump/ master_sites sourceforge distname ${name}-v${version} worksrcdir ${name} checksums md5 09fef2e674f7579088d966aac5d08736 patchfiles patch-bytes.h.diff patch-bytes.cpp.diff post-patch { reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile } use_configure no variant nodebug description {Build with NODEBUG flag (silences some debug messages when downloading)} { patchfiles-append patch-log.h.diff } destroot { xinstall -m 755 -W ${worksrcpath} rtmpdump get_iplayer ${destroot}${prefix}/bin }