mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name tcping
|
|
version 0.2
|
|
categories net
|
|
license GPL-2
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
description ping on TCP-level
|
|
long_description Like ping but on TCP-level. It connects to a host \
|
|
(incl. portnumber) and disconnects. It then measures how \
|
|
long this takes giving you an idea of the latency of the \
|
|
tcp-service you're testing.
|
|
|
|
homepage https://www.vanheusden.com/tcping/
|
|
master_sites ${homepage}
|
|
extract.suffix .tgz
|
|
checksums rmd160 30a7810d41ea07a50f9704d75b487881e1ca4140 \
|
|
sha256 976c41fb6ded7bf07cca31d83863fc134838bc9f1283faf88df86bdef5f18abc
|
|
|
|
use_configure no
|
|
|
|
variant universal {}
|
|
|
|
build.args CC="${configure.cc}" \
|
|
CFLAGS="${configure.cflags} [get_canonical_archflags cc] -Wall" \
|
|
LDFLAGS="[get_canonical_archflags ld]"
|
|
|
|
destroot {
|
|
xinstall -m 755 ${worksrcpath}/tcping ${destroot}${prefix}/bin
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 -W ${worksrcpath} license.txt readme.txt \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|