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

Last change on this file since 77954 was 77954, checked in by jmr@…, 9 years ago

rtmpdump: fails with make -w

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 77954 2011-04-18 06:15:14Z jmr@macports.org $
3
4PortSystem 1.0
5
6name                rtmpdump
7version             2.2
8revision            1
9categories          www net
10platforms           darwin
11depends_lib         port:openssl
12
13maintainers         gmail.com:captsolo openmaintainer
14description         a tool for downloading RTMP streaming media
15long_description    A small dumper for media content streamed over \
16                    the RTMP protocol. Supplying an rtmp url will result \
17                    in a dumped flv file, which can be played or transcoded \
18                    using ffmpeg/mplayer, etc.
19
20homepage            http://rtmpdump.mplayerhq.hu/
21master_sites        ${homepage}download/
22
23checksums           md5     1ce6753c95754d1a72b635d488757096 \
24                    sha1    80ad4878b5b48c59cb6754fac31f811b8a7d399d \
25                    rmd160  673e9baf426d8fe0d32471d101648660080e996d
26
27use_bzip2           yes
28
29post-patch {
30    reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile
31    reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile
32}
33use_configure       no
34
35build.target        osx
36build.pre_args-delete -w
37
38destroot {
39    xinstall -m 755 -W ${worksrcpath} rtmpdump rtmpsuck rtmpsrv rtmpgw ${destroot}${prefix}/bin
40}
41
42livecheck.url       [lindex ${master_sites} 0]
43livecheck.type      regex
44livecheck.regex     ${name}-(\[0-9a-z.\]+)\\.
Note: See TracBrowser for help on using the repository browser.