source: trunk/dports/net/nsping/Portfile @ 83199

Last change on this file since 83199 was 83199, checked in by ryandesign@…, 9 years ago

nsping: remove unnecessary directory creation commands

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 83199 2011-08-27 23:12:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    nsping
6version                 0.8
7revision                3
8categories              net
9maintainers             nomaintainer
10description             DNS ping
11long_description        Nsping uses DNS queries to monitor reachability \
12                        and operation of nameservers, as well as the latency \
13                        of DNS queries. It does this by sending random recursive \
14                        DNS queries to the nameserver (avoiding the effects of \
15                        DNS caching) and measuring the amount of time between \
16                        the sending of the query and the receipt of the response packet.
17
18platforms               darwin
19master_sites            http://distfiles.master.finkmirrors.net/
20
21checksums               md5 64785a50eb065a9b28ee33ec8c1ccab2
22extract.post_args       | gnutar -x
23use_configure           no
24build.args              CPPFLAGS="-DBIND_8_COMPAT" \
25                        CC="${configure.cc}" \
26                        CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
27                        LDFLAGS="${configure.ld_archflags}"
28build.target
29destroot                { xinstall -m 555 -W ${worksrcpath} nsping ${destroot}${prefix}/bin
30                          xinstall -m 644 -c -W ${worksrcpath} nsping.8 ${destroot}${prefix}/share/man/man8 }
31
32if {${os.platform} == "darwin" && ${os.major} >= 10} {
33    build.args-append LIBS=-lresolv
34}
Note: See TracBrowser for help on using the repository browser.