Ticket #29346: dnstop.patch

File dnstop.patch, 1.1 KB (added by arhbkb@…, 13 years ago)
  • ports/net/dnstop/Portfile

    old new  
    33PortSystem 1.0
    44
    55name              dnstop
    6 version           20090128
     6version           20110502
    77categories        net
    88platforms         darwin
    99maintainers       pmq openmaintainer
     
    1414homepage          http://dnstop.measurement-factory.com
    1515master_sites      ${homepage}/src
    1616
    17 checksums         md5 827a0d2020b157b925411dd30b6feff3
     17checksums         md5 28cb54f3780b27e15df8924235e4e37b
    1818depends_lib       port:libpcap port:ncurses
    1919
    20 patchfiles        patch-hashtbl.h.diff
    21 
    22 post-configure {
    23     # using the short form it'll pick up the /usr/lib one
    24     reinplace "s|-lcurses|-lncurses|" ${worksrcpath}/Makefile
    25 }
    26 
    27 build.env         LDFLAGS=${configure.ldflags} \
    28                   CPPFLAGS="${configure.cppflags} -I${prefix}/include/ncurses"
    29 
    3020destroot {
    3121    xinstall -W ${worksrcpath} ${name} ${destroot}${prefix}/bin/
    3222    xinstall -W ${worksrcpath} ${name}.8 ${destroot}${prefix}/share/man/man8/