# -*- 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 84550 2011-09-27 21:05:11Z snc@macports.org $ PortSystem 1.0 name rtmpdump version 2.3 categories www net platforms darwin license GPL-2+ depends_lib port:openssl 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. homepage http://rtmpdump.mplayerhq.hu/ master_sites ${homepage}download/ checksums sha1 b65ce7708ae79adb51d1f43dd0b6d987076d7c42 \ rmd160 1d48925e6567783806fa68819d6a695cd06138bc extract.suffix .tgz patchfiles patch-Makefile.diff \ patch-librtmp-Makefile.diff use_configure no variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.target SYS=posix build.args prefix="${prefix}" CC="${configure.cc} ${archflags}" build.pre_args-delete -w destroot.args prefix="${prefix}" livecheck.url [lindex ${master_sites} 0] livecheck.type regex livecheck.regex ${name}-(\[0-9a-z.\]+)\\.