source: trunk/dports/net/nsping/Portfile

Last change on this file was 134318, checked in by ionic@…, 3 years ago

Mass-update: add modeline where appropriate, change binary install permissions to 755. Fixes: #47229.

Affects:

mp3_check
iozone
nbench-byte
cvsdiff2patch
cursive
geekcode
ski
vms-empire
wtf
thirdeye
jikespg
aget
ddclient
ipsvd
mudix
nsping
rabbitmq-server
tcptrace
tnftpd
ksh93
buffer
dtach
keychain
chmdump
rfcdiff
webredirect
abclock

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 134318 2015-03-22 06:42:51Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                    nsping
7version                 0.8
8revision                4
9categories              net
10license                 GPL-1
11maintainers             nomaintainer
12description             DNS ping
13long_description        Nsping uses DNS queries to monitor reachability \
14                        and operation of nameservers, as well as the latency \
15                        of DNS queries. It does this by sending random recursive \
16                        DNS queries to the nameserver (avoiding the effects of \
17                        DNS caching) and measuring the amount of time between \
18                        the sending of the query and the receipt of the response packet.
19
20platforms               darwin
21master_sites            http://distfiles.master.finkmirrors.net/
22
23checksums               md5 64785a50eb065a9b28ee33ec8c1ccab2
24
25patchfiles              patch-dprintf.diff
26
27use_configure           no
28
29variant universal {}
30
31build.args              CPPFLAGS="-DBIND_8_COMPAT" \
32                        CC="${configure.cc}" \
33                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
34                        LDFLAGS="[get_canonical_archflags ld]"
35build.target
36destroot                { xinstall -m 755 -W ${worksrcpath} nsping ${destroot}${prefix}/bin
37                          xinstall -m 644 -c -W ${worksrcpath} nsping.8 ${destroot}${prefix}/share/man/man8 }
38
39if {${os.platform} eq "darwin" && ${os.major} >= 10} {
40    build.args-append LIBS=-lresolv
41}
Note: See TracBrowser for help on using the repository browser.