summaryrefslogtreecommitdiff
path: root/net/udns/Makefile
diff options
context:
space:
mode:
authorschnoebe <schnoebe@pkgsrc.org>2009-08-01 02:41:22 +0000
committerschnoebe <schnoebe@pkgsrc.org>2009-08-01 02:41:22 +0000
commit4c9042ad0ef6812ec0f3320274c142f60ef749b7 (patch)
tree5a9aa5ddc6f2781dae58c04591c7edfa8c62a19a /net/udns/Makefile
parentdc69f942959929976878d050a9e060f35fea77ac (diff)
downloadpkgsrc-4c9042ad0ef6812ec0f3320274c142f60ef749b7.tar.gz
UDNS is a stub DNS resolver library with ability to perform both
synchronous and asynchronous DNS queries.
Diffstat (limited to 'net/udns/Makefile')
-rw-r--r--net/udns/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/udns/Makefile b/net/udns/Makefile
new file mode 100644
index 00000000000..b8f4ece263e
--- /dev/null
+++ b/net/udns/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/01 02:41:22 schnoebe Exp $
+
+DISTNAME= udns_0.0.9
+PKGNAME= ${DISTNAME:S/_/-/}
+CATEGORIES= net
+MASTER_SITES= http://www.corpit.ru/mjt/udns/
+
+MAINTAINER= eric@cirr.com
+HOMEPAGE= http://www.corpit.ru/mjt/udns.html
+COMMENT= Lightweight DNS resolver supporting asynchronous queries
+
+LICENSE= gnu-lgpl-v2.1
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
+
+USE_LIBTOOL= yes
+HAS_CONFIGURE= yes
+INSTALLATION_DIRS= bin lib include ${PKGMANDIR}/man1 ${PKGMANDIR}/man3
+
+.include "options.mk"
+
+do-install:
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} \
+ ${WRKSRC}/libudns.la ${DESTDIR}${PREFIX}/lib
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+ ${WRKSRC}/dnsget ${DESTDIR}${PREFIX}/bin
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+ ${WRKSRC}/rblcheck ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/udns.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_MAN} ${WRKSRC}/udns.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
+ ${INSTALL_MAN} ${WRKSRC}/dnsget.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/rblcheck.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../mk/bsd.pkg.mk"