source: trunk/dports/net/trafshow/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name                    trafshow
5version                 5.2.3
6revision                1
7categories              net
8maintainers             noses.com:noses
9description             continuous network traffic display
10long_description        TrafShow continuously displays the information regarding \
11                        packet traffic on the configured network interface that \
12                        matches the boolean  expression. It periodically sorts \
13                        and updates this information. It may be useful for locating \
14                        suspicious network traffic on the net.
15homepage                http://soft.risp.ru/trafshow/index_en.shtml
16platforms               darwin
17master_sites            ftp://ftp.nsk.su/pub/RinetSoftware/
18checksums               md5 0b2f0bb23b7832138b7d841437b9e182 \
19                                                sha1 1c68f603f12357e932c83de850366c9b46e53d89 \
20                                                rmd160 f1ae068f898160f16ae9b3cb5f9d73ae3aece6cb
21depends_lib             port:libtool \
22                        port:libpcap \
23                                        port:ncurses
24extract.suffix          .tgz
25patchfiles              patch-domain_resolver.c patch-colormask.c patch-trafshow.c patch-trafshow.1 \
26                        patch-configure
27build.target            trafshow
28
29fetch.user      anonymous
30fetch.password  -macports@
31
32pre-configure           {       if {[file exists ${prefix}/share/libtool/config/config.guess]} {
33                                        copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
34                                } else {
35                                        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
36                                }
37                        }
38
39configure.cflags-append   "-I${prefix}/include"
40post-configure          {       reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c
41                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.c
42                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.1 }
43
44destroot                {       xinstall -W ${worksrcpath} -m 755 -s -c trafshow ${destroot}/${prefix}/bin
45                                xinstall -W ${worksrcpath} -m 755 -s -c trafshow.1 ${destroot}/${prefix}/share/man/man1
46                                xinstall -W ${worksrcpath} -b -m 755 -s -c .trafshow ${destroot}/${prefix}/etc/trafshow.default }
Note: See TracBrowser for help on using the repository browser.