Ticket #25869: wireshark-1.2.10.diff

File wireshark-1.2.10.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)

proposed patch

  • Portfile

     
    22
    33PortSystem 1.0
    44name            wireshark
    5 version         1.2.9
    6 revision        1
     5version         1.2.10
    76categories      net
    87maintainers     darkart.com:opendarwin.org
    98description     Graphical network analyzer and capture tool
     
    1817master_sites    http://www.wireshark.org/download/src/                  \
    1918                http://www.wireshark.org/download/src/all-versions/
    2019
    21 checksums           md5     a4240c36f1e668d85b703eacb7c0a95e \
    22                     sha1    6b31173a34c0050035516958e0b3ae83e83eac2c \
    23                     rmd160  d93be031cf01922dd1b23151f9a4c2581a99b1bf
     20checksums       md5     f8bc926956c13fcddb4df0601011ceef \
     21                sha1    db9028d6c547fb736f126a0cd0659222094b4c1b \
     22                rmd160  15fd1087b7f817902da50d49a819773dfd589a85
    2423
    2524use_bzip2       yes
    2625
     
    111110        configure.args-append   --disable-wireshark
    112111}
    113112
    114 #
    115 ##EOF
     113post-destroot {
     114        xinstall -d ${destroot}${prefix}/include/wireshark/epan/crypt/ \
     115                    ${destroot}${prefix}/include/wireshark/epan/dfilter/ \
     116                    ${destroot}${prefix}/include/wireshark/epan/dissectors/ \
     117                    ${destroot}${prefix}/include/wireshark/epan/ftypes/ \
     118                    ${destroot}${prefix}/include/wireshark/wiretap/
     119        xinstall -m 644 -W ${worksrcpath}/ color.h config.h register.h ${destroot}${prefix}/include/wireshark/
     120        eval xinstall -m 644 [glob ${worksrcpath}/epan/*.h] ${destroot}${prefix}/include/wireshark/epan/
     121        eval xinstall -m 644 [glob ${worksrcpath}/epan/crypt/*.h] ${destroot}${prefix}/include/wireshark/epan/crypt/
     122        eval xinstall -m 644 [glob ${worksrcpath}/epan/dfilter/*.h] ${destroot}${prefix}/include/wireshark/epan/dfilter/
     123        eval xinstall -m 644 [glob ${worksrcpath}/epan/dissectors/*.h] ${destroot}${prefix}/include/wireshark/epan/dissectors/
     124        eval xinstall -m 644 [glob ${worksrcpath}/epan/ftypes/*.h] ${destroot}${prefix}/include/wireshark/epan/ftypes/
     125        eval xinstall -m 644 [glob ${worksrcpath}/wiretap/*.h] ${destroot}${prefix}/include/wireshark/wiretap/
     126}