source: trunk/dports/net/tcping/Portfile

Last change on this file was 139998, checked in by khindenburg@…, 23 months ago

tcping: update to 0.2 #48634

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 139998 2015-09-05 21:03:26Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    tcping
6version                 0.2
7categories              net
8license                 GPL-2
9platforms               darwin
10maintainers             nomaintainer
11description             ping on TCP-level
12long_description        Like ping but on TCP-level. It connects to a host \
13                                        (incl. portnumber) and disconnects. It then measures how \
14                                        long this takes giving you an idea of the latency of the \
15                                        tcp-service you're testing.
16
17homepage                http://www.vanheusden.com/tcping/
18master_sites    ${homepage}
19extract.suffix  .tgz
20checksums               rmd160 30a7810d41ea07a50f9704d75b487881e1ca4140 \
21                                sha256 976c41fb6ded7bf07cca31d83863fc134838bc9f1283faf88df86bdef5f18abc
22
23use_configure   no
24
25variant universal {}
26
27build.args              CC="${configure.cc}" \
28                                CFLAGS="${configure.cflags} [get_canonical_archflags cc] -Wall" \
29                                LDFLAGS="[get_canonical_archflags ld]"
30
31destroot        {
32        xinstall -m 755 ${worksrcpath}/tcping ${destroot}${prefix}/bin
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
34        xinstall -m 644 -W ${worksrcpath} license.txt readme.txt \
35                ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.