source: trunk/dports/net/trafshow/Portfile

Last change on this file was 145680, checked in by khindenburg@…, 22 months ago

libesmtp, joe, airport, trafshow: set nomaintainer #50077

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 145680 2016-02-12 21:42:33Z ryandesign@macports.org $
2
3PortSystem 1.0
4name                    trafshow
5version                 5.2.3
6revision                2
7categories              net
8maintainers             nomaintainer
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 {
33        xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath}
34}
35
36configure.cflags-append   "-I${prefix}/include"
37post-configure          {       reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/colormask.c
38                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.c
39                                reinplace "s;%%PREFIX%%;${prefix};g" ${worksrcpath}/trafshow.1 }
40
41destroot                {       xinstall -W ${worksrcpath} -m 755 -s -c trafshow ${destroot}${prefix}/bin
42                                xinstall -W ${worksrcpath} -m 755 -s -c trafshow.1 ${destroot}${prefix}/share/man/man1
43                                xinstall -W ${worksrcpath} -b -m 755 -s -c .trafshow ${destroot}${prefix}/etc/trafshow.default }
Note: See TracBrowser for help on using the repository browser.