source: trunk/dports/net/ttcp/Portfile

Last change on this file was 97445, checked in by ryandesign@…, 5 years ago

unassign ports formerly maintained by fenner (#35567)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 97445 2012-09-06 06:07:31Z ryandesign@macports.org $
2PortSystem 1.0
3
4name            ttcp
5version         1.10
6categories      net
7platforms       darwin
8maintainers     nomaintainer
9description     Benchmarking tool for analysing TCP and UDP performance
10long_description        TTCP is a benchmarking tool for determining \
11 TCP and UDP performance between 2 systems. \
12 \
13 The program was created at the US Army Ballistics Research Lab (BRL) \
14 and is in the public domain. Feel free to distribute this program \
15 but please do leave the credit notices in the source and man page intact.
16master_sites    ftp://ftp.sgi.com/sgi/src/ttcp/
17dist_subdir     ttcp
18distfiles       ttcp.c ttcp.1 README
19checksums       ttcp.c md5 3d1b75f6116cc246a4def9788ce58c26 \
20                ttcp.1 md5 01d3a511a05dc8a0669f30c15ebaae82 \
21                README md5 6b1e5ff6247a9f284f3b58eb651b37a9
22
23pre-extract             { file mkdir ${worksrcpath} }
24extract.cmd             cp
25extract.pre_args        {}
26extract.post_args       ${worksrcdir}
27
28configure       {}
29build {
30        system "cd \"${worksrcpath}\" && cc -o ttcp ttcp.c"
31}
32destroot {
33        system "install ${worksrcpath}/ttcp ${destroot}${prefix}/bin"
34        system "install ${worksrcpath}/ttcp.1 ${destroot}${prefix}/share/man/man1"
35        system "install -d ${destroot}${prefix}/share/doc/ttcp"
36        system "install ${worksrcpath}/README ${destroot}${prefix}/share/doc/ttcp"
37}
Note: See TracBrowser for help on using the repository browser.