Files

45 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
name libudns
version 0.4
categories net
license LGPL-2.1+
platforms darwin
maintainers nomaintainer
description DNS resolver library
long_description UDNS is a stub DNS resolver library with ability to \
perform both syncronous and asyncronous DNS queries.
homepage http://www.corpit.ru/mjt/udns.html
master_sites http://www.corpit.ru/mjt/udns/
distname udns-${version}
checksums rmd160 49de30814b3c3687438b529354d2fcfdaaa4e6f0 \
sha256 115108dc791a2f9e99e150012bcb459d9095da2dd7d80699b584ac0ac3768710
patchfiles patch-Makefile.in.diff \
implicit.patch
configure.pre_args
configure.universal_args-delete --disable-dependency-tracking
destroot {
xinstall -W ${worksrcpath} dnsget ex-rdns rblcheck \
${destroot}${prefix}/bin
xinstall -W ${worksrcpath} udns.h \
${destroot}${prefix}/include
xinstall -W ${worksrcpath} libudns.a \
${destroot}${prefix}/lib
xinstall -W ${worksrcpath} dnsget.1 rblcheck.1 \
${destroot}${prefix}/share/man/man1
xinstall -W ${worksrcpath} udns.3 \
${destroot}${prefix}/share/man/man3
}
livecheck.type regex
livecheck.regex {version of the library is (\d+(?:\.\d+)*)}