aboutsummaryrefslogtreecommitdiffstats
path: root/dns/djbdns-tools/Makefile
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2004-10-13 16:32:24 +0800
committersergei <sergei@FreeBSD.org>2004-10-13 16:32:24 +0800
commit8a36c6dfcda1d30be6b2428fd368cb084df44c15 (patch)
tree5905895e8a330aa973aed5b5c17c73754cb2cfa4 /dns/djbdns-tools/Makefile
parent61992b4669de0530205f3b7b2d11567ddb3d39ba (diff)
downloadfreebsd-ports-gnome-8a36c6dfcda1d30be6b2428fd368cb084df44c15.tar.gz
freebsd-ports-gnome-8a36c6dfcda1d30be6b2428fd368cb084df44c15.tar.zst
freebsd-ports-gnome-8a36c6dfcda1d30be6b2428fd368cb084df44c15.zip
Add djbdns-tools-1.05:
This port contains a subset of the DJBDNS package. It includes several useful Domain Name System (DNS) tools: - dnsfilter: a parallel IP-address-to-host-name converter - dnsip, dnsipq, dnsname, dnstxt, and dnsmx: simple command-line interfaces to DNS - dnsq, dnstrace, dnstracesort: DNS debugging tools Author: Daniel J. Bernstein <djb@cr.yp.to> WWW: http://cr.yp.to/djbdns.html
Diffstat (limited to 'dns/djbdns-tools/Makefile')
-rw-r--r--dns/djbdns-tools/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/dns/djbdns-tools/Makefile b/dns/djbdns-tools/Makefile
new file mode 100644
index 000000000000..4ccbcd32bd8b
--- /dev/null
+++ b/dns/djbdns-tools/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: djbdns-tools
+# Date created: 2004-09-16
+# Whom: Sergei Kolobov <sergei@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= djbdns
+PORTVERSION= 1.05
+CATEGORIES= dns
+MASTER_SITES= http://cr.yp.to/djbdns/ \
+ ftp://cr.yp.to/djbdns/ \
+ http://smarden.org/pape/djb/manpages/:manpages
+PKGNAMESUFFIX= -tools
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${DISTNAME}-man-20031023.tar.gz:manpages
+
+MAINTAINER= sergei@FreeBSD.org
+COMMENT= Resolver tools from djbdns package
+
+CONFLICTS= djbdns-[0-9]*
+
+PROGRAMS= dnsip dnsipq dnsname dnstxt dnsmx dnsfilter \
+ random-ip dnsqr dnsq dnstrace
+SCRIPTS= dnstracesort
+MAN1= dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 \
+ dnsq.1 dnsqr.1 dnstrace.1 dnstracesort.1 dnstxt.1
+
+ALL_TARGET= it
+
+do-patch:
+ @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ @${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
+ @${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
+
+do-install:
+ @${MKDIR} ${PREFIX}/bin
+ @cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
+ ${INSTALL_SCRIPT} ${SCRIPTS} ${PREFIX}/bin
+ @cd ${WRKDIR}/djbdns-man && \
+ ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
+
+.include <bsd.port.mk>