# $Id: Portfile 83199 2011-08-27 23:12:34Z ryandesign@macports.org $ PortSystem 1.0 name nsping version 0.8 revision 3 categories net maintainers nomaintainer description DNS ping long_description Nsping uses DNS queries to monitor reachability \ and operation of nameservers, as well as the latency \ of DNS queries. It does this by sending random recursive \ DNS queries to the nameserver (avoiding the effects of \ DNS caching) and measuring the amount of time between \ the sending of the query and the receipt of the response packet. platforms darwin master_sites http://distfiles.master.finkmirrors.net/ checksums md5 64785a50eb065a9b28ee33ec8c1ccab2 extract.post_args | gnutar -x use_configure no build.args CPPFLAGS="-DBIND_8_COMPAT" \ CC="${configure.cc}" \ CFLAGS="${configure.cflags} ${configure.cc_archflags}" \ LDFLAGS="${configure.ld_archflags}" build.target destroot { xinstall -m 555 -W ${worksrcpath} nsping ${destroot}${prefix}/bin xinstall -m 644 -c -W ${worksrcpath} nsping.8 ${destroot}${prefix}/share/man/man8 } if {${os.platform} == "darwin" && ${os.major} >= 10} { build.args-append LIBS=-lresolv }