source: trunk/dports/net/netwox/Portfile

Last change on this file was 125984, checked in by mf2k@…, 3 years ago

add aop ctris cyrus-imapd cyrus-sasl2 fbg FreeSOLID gift GTorrentViewer latex2rtf logsurfer lurker mapm netwag netwib netwox rtf2latex rtf2latex2e tcl-tls toppler xmfract: Ports abandoned by jmpp. (#44809)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 125984 2014-10-01 14:38:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name       netwox
6version    5.30.0
7set        NetWVers 530
8categories          net
9license         GPL-2
10platforms           darwin
11maintainers         nomaintainer
12
13description         Toolbox with several features to test an Ethernet/IP network.
14long_description            Netwox is a toolbox containing 197 tools implemented from \
15                            the Network Library netwib. They help to find and solve \
16                            network problems with common techniques such as sniffing and \
17                            spoffing, analazing DNS, FTP, HTTP, IRC, NNTP, SMTP, SNMP, \
18                            SYSLOG, TELNET and TFTP traffic, scans, ping and traceroute, \
19                            client/servers implementations, etc.
20
21homepage        http://www.laurentconstantin.com/
22master_sites    ${homepage}common/netw/${name}/download/v5/ \
23                http://www.mirrors.wiretapped.net/security/packet-construction/${name}
24extract.suffix  .tgz
25distfiles       ${distname}-src${extract.suffix} \
26                ${distname}-doc_html${extract.suffix}
27checksums       ${distname}-src${extract.suffix} md5 4fb5e2d21ce6fac6f6442f3d9556e3e6 \
28                ${distname}-doc_html${extract.suffix} md5 7d1899ebdf45862d4e230371048d860b
29
30depends_lib     lib:libnetwib${NetWVers}:netwib
31
32worksrcdir      ${distname}-src/src
33
34pre-configure   {
35                reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/config.dat
36                reinplace "s|\\(NETWOXDEF_PROGCC_INC=\\)\"\"|\\1-I${prefix}/include|g" ${worksrcpath}/config.dat
37                reinplace "s|\\(NETWOXDEF_PROGCC_LIB=\\)\"\"|\\1-L${prefix}/lib|g" ${worksrcpath}/config.dat
38                reinplace "s|man|share/man|g" ${worksrcpath}/config.dat
39                reinplace "s|share/man1|man1|g" ${worksrcpath}/config.dat
40}
41
42configure.pre_args      {}
43configure.cmd           ./genemake
44
45post-destroot   {
46                xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
47                file copy ${workpath}/${distname}-doc_html ${destroot}${prefix}/share/doc/${name}/html
48                xinstall -m 644 -v -W ${worksrcpath}/../doc/ changelog.txt credits.txt \
49                guidestyle.txt todo.txt toollist.txt ${destroot}${prefix}/share/doc/${name}/
50}
51
52post-activate   {
53                ui_msg "\nFull html documentation is installed as part of the port at:\n
54                ${prefix}/share/doc/${name}/html/\n"
55}
Note: See TracBrowser for help on using the repository browser.