# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 146517 2016-03-10 17:49:28Z raimue@macports.org $ PortSystem 1.0 name rtmpdump version 2.4 revision 2 categories www net platforms darwin maintainers gmail.com:captsolo openmaintainer license GPL-2+ 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. homepage http://rtmpdump.mplayerhq.hu/ master_sites ${homepage}download/ checksums rmd160 a8cf22e88e544061f15769e758754b028f1be7ff \ sha256 0be975011d116bbdf1befad2a984ac83d09b1061c86550326a7ec496d2f188fc depends_lib path:lib/libssl.dylib:openssl worksrcdir ${name} patchfiles patch-Makefile.diff \ patch-librtmp-Makefile.diff use_configure no variant universal {} build.args prefix="${prefix}" CC="${configure.cc} [get_canonical_archflags cc]" build.pre_args-delete -w pre-destroot { destroot.args [join ${build.args}] } post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} COPYING README ChangeLog ${destroot}${prefix}/share/doc/${name} } platform darwin { build.args-append SYS=darwin } livecheck.url [lindex ${master_sites} 0] livecheck.type regex livecheck.regex ${name}-(\[0-9a-z.\]+)\\.