Ticket #23841: Portfile

File Portfile, 1.2 KB (added by CaptSolo, 15 years ago)
Line 
1# $Id: Portfile 62182 2009-12-30 18:33:27Z nox@macports.org $
2
3PortSystem 1.0
4
5name                rtmpdump
6version             2.1d
7revision            0
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.
16
17homepage            http://rtmpdump.mplayerhq.hu/
18master_sites        http://rtmpdump.mplayerhq.hu/download/
19
20checksums           md5 0698ce0a23931e3ce4c7951b228b19c9
21
22#post-patch {
23#    reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile
24#    reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile
25#}
26use_configure       no
27
28destroot {
29    xinstall -m 755 -W ${worksrcpath} rtmpdump rtmpsuck rtmpsrv streams ${destroot}${prefix}/bin
30}
31
32livecheck.type      regex
33livecheck.url       http://rtmpdump.mplayerhq.hu/
34livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)