source: trunk/dports/net/libudns/Portfile

Last change on this file was 110110, checked in by ryandesign@…, 4 years ago

libudns: update to 0.2; fix universal variant; add modeline

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 110110 2013-08-26 11:20:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libudns
7version             0.2
8categories          net
9license             LGPL-2.1+
10platforms           darwin
11maintainers         nomaintainer
12description         DNS resolver library
13long_description    UDNS is a stub DNS resolver library with ability to \
14                    perform both syncronous and asyncronous DNS queries.
15
16homepage            http://www.corpit.ru/mjt/udns.html
17master_sites        http://www.corpit.ru/mjt/udns/
18distname            udns-${version}
19
20checksums           rmd160  41d090516ef2f67f4d9a4a11c1db5347bf9392c8 \
21                    sha256  558c7d7acc358e13f91f73ba7fef0ed094010716a8dcee286eef05d0ff264224
22
23patchfiles          patch-Makefile.in.diff
24
25configure.pre_args
26configure.universal_args-delete --disable-dependency-tracking
27
28destroot {
29    xinstall -W ${worksrcpath} dnsget ex-rdns rblcheck \
30        ${destroot}${prefix}/bin
31
32    xinstall -W ${worksrcpath} udns.h \
33        ${destroot}${prefix}/include
34    xinstall -W ${worksrcpath} libudns.a \
35        ${destroot}${prefix}/lib
36
37    xinstall -W ${worksrcpath} dnsget.1 rblcheck.1 \
38        ${destroot}${prefix}/share/man/man1
39    xinstall -W ${worksrcpath} udns.3 \
40        ${destroot}${prefix}/share/man/man3
41}
42
43livecheck.type      regex
44livecheck.regex     {version of the library is (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.