source: trunk/dports/net/netwox/Portfile @ 9272

Last change on this file since 9272 was 9272, checked in by jmpp, 16 years ago

Bug:
Submitted by: jmpp@
Reviewed by: jmpp@
Approved by: jmpp@
Obtained from:

Change maintainer address to my brand new @opendarwin.org one, woot!
Add NetWVers variable of my own to help keep the three ports in the NetW bundle in synch
Use ${NetWVers} variable in dependency declarations rather than explicit numbers
Move html documentation from share/doc/${name} to share/doc/${name}/html
General re-tabbing
Uprev the Portfile

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1# $Id: Portfile,v 1.3 2004/11/13 01:36:49 jmpp Exp $
2
3PortSystem 1.0
4
5name       netwox
6version    5.26.0
7revision   1
8set        NetWVers 526
9categories          net
10platforms           darwin
11maintainers         jmpp@opendarwin.org
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 8d60e6da6cf01a7c057f1c509603ffc6 \
28                ${distname}-doc_html${extract.suffix} md5 9b0262be758e8bf6f89b32784f350683
29
30depends_lib     lib:libnetwib${NetWVers}:netwib
31
32worksrcdir      ${distname}-src/src
33
34pre-configure   {
35                cd ${worksrcpath}
36                reinplace "s|/usr/local|${prefix}|g" config.dat
37                reinplace "s|man|share/man|g" config.dat
38                reinplace "s|share/man1|man1|g" config.dat
39}
40
41configure.pre_args      {}
42configure.cmd           ./genemake
43
44post-destroot   {
45                xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
46                file copy ${workpath}/${distname}-doc_html ${destroot}${prefix}/share/doc/${name}/html
47                xinstall -m 644 -v -W ${worksrcpath}/../doc/ changelog.txt credits.txt \
48                guidestyle.txt todo.txt toollist.txt ${destroot}${prefix}/share/doc/${name}/
49}
50
Note: See TracBrowser for help on using the repository browser.