diff options
author | Martin Matuska <mm@FreeBSD.org> | 2008-05-23 23:39:53 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2008-05-23 23:39:53 +0000 |
commit | cdf7199842ec6c2ad73ee7909dbc256c83192feb (patch) | |
tree | 68346435a7085ca2c158df67ef53e1dbbfde3e47 /dns/udns | |
parent | f54916ba26e3d42db9791b4e06eabbff7ec020f0 (diff) | |
download | ports-cdf7199842ec6c2ad73ee7909dbc256c83192feb.tar.gz ports-cdf7199842ec6c2ad73ee7909dbc256c83192feb.zip |
Notes
Diffstat (limited to 'dns/udns')
-rw-r--r-- | dns/udns/Makefile | 70 | ||||
-rw-r--r-- | dns/udns/distinfo | 3 | ||||
-rw-r--r-- | dns/udns/pkg-descr | 4 | ||||
-rw-r--r-- | dns/udns/pkg-plist | 6 |
4 files changed, 83 insertions, 0 deletions
diff --git a/dns/udns/Makefile b/dns/udns/Makefile new file mode 100644 index 000000000000..6b2b8e7184c9 --- /dev/null +++ b/dns/udns/Makefile @@ -0,0 +1,70 @@ +# New ports collection makefile for: udns +# Date created: Sat May 24, 2008 +# Whom: Martin Matuska <mm@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= udns +PORTVERSION= 0.0.9 +CATEGORIES= dns +MASTER_SITES= http://www.corpit.ru/mjt/udns/ +DISTNAME= ${PORTNAME}_${PORTVERSION} + +MAINTAINER= mm@FreeBSD.org +COMMENT= DNS resolver library with sync and async queries + +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} + +HAS_CONFIGURE= yes +USE_LDCONFIG= yes + +OPTIONS= IPV6 "Enable IPv6 support" on + +ALL_TARGET= staticlib shared + +PORTDOCS= * + +CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" + +SHLIB_MAJOR= 0 + +MAN1= dnsget.1 rblcheck.1 +MAN3= udns.3 + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + +post-build: + @cd ${WRKSRC} && ${STRIP_CMD} dnsget_s ex-rdns_s rblcheck_s + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/libudns.so.${SHLIB_MAJOR} \ + ${PREFIX}/lib/libudns.so.${SHLIB_MAJOR} + ${LN} -sf ${PREFIX}/lib/libudns.so.${SHLIB_MAJOR} \ + ${PREFIX}/lib/libudns.so + ${INSTALL_DATA} ${WRKSRC}/udns.h ${PREFIX}/include/udns.h + ${INSTALL_DATA} ${WRKSRC}/libudns.a ${PREFIX}/lib/libudns.a + ${INSTALL_PROGRAM} ${WRKSRC}/dnsget_s ${PREFIX}/bin/dnsget + ${INSTALL_PROGRAM} ${WRKSRC}/rblcheck_s ${PREFIX}/bin/rblcheck +.for FILE in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man1/${FILE} +.endfor +.for FILE in ${MAN3} + ${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man3/${FILE} +.endfor + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in COPYING.LGPL NEWS NOTES TODO + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE} +.endfor +.endif + +.include <bsd.port.post.mk> diff --git a/dns/udns/distinfo b/dns/udns/distinfo new file mode 100644 index 000000000000..48ff8c8066ff --- /dev/null +++ b/dns/udns/distinfo @@ -0,0 +1,3 @@ +MD5 (udns_0.0.9.tar.gz) = 78843added6f6b690bc6019ab8ef03c9 +SHA256 (udns_0.0.9.tar.gz) = cfc5f9b5387f96e48fc9c7aa5ef6511809e6c72c0df0d533cf150016816eaad2 +SIZE (udns_0.0.9.tar.gz) = 84307 diff --git a/dns/udns/pkg-descr b/dns/udns/pkg-descr new file mode 100644 index 000000000000..23bdfb476dc4 --- /dev/null +++ b/dns/udns/pkg-descr @@ -0,0 +1,4 @@ +UDNS is a stub DNS resolver library with ability to perform both synchronous +and asynchronous DNS queries. + +WWW: http://www.corpit.ru/mjt/udns.html diff --git a/dns/udns/pkg-plist b/dns/udns/pkg-plist new file mode 100644 index 000000000000..6a68b9050162 --- /dev/null +++ b/dns/udns/pkg-plist @@ -0,0 +1,6 @@ +include/udns.h +lib/libudns.a +lib/libudns.so +lib/libudns.so.0 +bin/dnsget +bin/rblcheck |