Changeset 77989


Ignore:
Timestamp:
Apr 19, 2011, 2:50:47 AM (8 years ago)
Author:
ryandesign@…
Message:

rtmpdump: update to 2.3; support build_arch and universal builds; indicate license; see #25871

Location:
trunk/dports/www/rtmpdump
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/rtmpdump/Portfile

    r77954 r77989  
    55
    66name                rtmpdump
    7 version             2.2
    8 revision            1
     7version             2.3
    98categories          www net
    109platforms           darwin
     10license             GPL-2+
     11
    1112depends_lib         port:openssl
    1213
     
    2122master_sites        ${homepage}download/
    2223
    23 checksums           md5     1ce6753c95754d1a72b635d488757096 \
    24                     sha1    80ad4878b5b48c59cb6754fac31f811b8a7d399d \
    25                     rmd160  673e9baf426d8fe0d32471d101648660080e996d
     24checksums           sha1    b65ce7708ae79adb51d1f43dd0b6d987076d7c42 \
     25                    rmd160  1d48925e6567783806fa68819d6a695cd06138bc
    2626
    27 use_bzip2           yes
     27extract.suffix      .tgz
    2828
    29 post-patch {
    30     reinplace "s|CC=.*\$|CC=${configure.cc}|" ${worksrcpath}/Makefile
    31     reinplace "s|CXX=.*\$|CXX=${configure.cxx}|" ${worksrcpath}/Makefile
    32 }
     29patchfiles          patch-Makefile.diff \
     30                    patch-librtmp-Makefile.diff
     31
    3332use_configure       no
    3433
    35 build.target        osx
     34variant universal {}
     35if {[variant_isset universal]} {
     36    set archflags ${configure.universal_cflags}
     37} else {
     38    set archflags ${configure.cc_archflags}
     39}
     40
     41build.target        SYS=posix
     42build.args          prefix="${prefix}" CC="${configure.cc} ${archflags}"
    3643build.pre_args-delete -w
    3744
    38 destroot {
    39     xinstall -m 755 -W ${worksrcpath} rtmpdump rtmpsuck rtmpsrv rtmpgw ${destroot}${prefix}/bin
    40 }
     45destroot.args       prefix="${prefix}"
    4146
    4247livecheck.url       [lindex ${master_sites} 0]
Note: See TracChangeset for help on using the changeset viewer.