source: trunk/dports/net/nsping/Portfile

Last change on this file was 134318, checked in by ionic@…, 5 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
RevLine 
[134318]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
[20347]2# $Id: Portfile 134318 2015-03-22 06:42:51Z ionic@macports.org $
[2127]3
[1454]4PortSystem 1.0
[30628]5
[32650]6name                    nsping
7version                 0.8
[134318]8revision                4
[32650]9categories              net
[110185]10license                 GPL-1
[32650]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.
[2419]19
[32650]20platforms               darwin
[36370]21master_sites            http://distfiles.master.finkmirrors.net/
[2419]22
[32650]23checksums               md5 64785a50eb065a9b28ee33ec8c1ccab2
[84067]24
25patchfiles              patch-dprintf.diff
26
[32834]27use_configure           no
[84066]28
29variant universal {}
30
[83178]31build.args              CPPFLAGS="-DBIND_8_COMPAT" \
32                        CC="${configure.cc}" \
[84066]33                        CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
34                        LDFLAGS="[get_canonical_archflags ld]"
[1666]35build.target
[134318]36destroot                { xinstall -m 755 -W ${worksrcpath} nsping ${destroot}${prefix}/bin
[32836]37                          xinstall -m 644 -c -W ${worksrcpath} nsping.8 ${destroot}${prefix}/share/man/man8 }
[83178]38
[114325]39if {${os.platform} eq "darwin" && ${os.major} >= 10} {
[83178]40    build.args-append LIBS=-lresolv
41}
Note: See TracBrowser for help on using the repository browser.