summaryrefslogtreecommitdiff
path: root/net/djbdns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/djbdns/Makefile')
-rw-r--r--net/djbdns/Makefile24
1 files changed, 21 insertions, 3 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile
index c27258ed7d5..d554c6c0ab4 100644
--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,26 +1,44 @@
-# $NetBSD: Makefile,v 1.2 2000/12/27 23:29:57 hubertf Exp $
+# $NetBSD: Makefile,v 1.3 2000/12/28 14:37:18 hubertf Exp $
# FreeBSD Id: ports/net/djbdns/Makefile,v 1.4 2000/09/28 18:18:41 nbm Exp
DISTNAME= djbdns-1.02
+PKGNAME= djbdns-1.02nb1
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/djbdns/ \
ftp://cr.yp.to/djbdns/ \
- ftp://ftp.innominate.org/gpa/djb/
+ ftp://ftp.innominate.org/gpa/djb/ \
+ http://www.hungry.com/~fn/ \
+ http://tinydns.org/
DISTFILES= djbdns-1.02.tar.gz \
- djbdns-1.02-man.tar.gz
+ djbdns-1.02-man.tar.gz \
+ dnscache-log.pl.txt \
+ tinydns-log.pl.txt
+
+PATCH_SITES= http://www.fefe.de/dns/
+PATCHFILES= djbdns-1.02-ipv6.diff
+PATCH_DIST_STRIP= -p1
MAINTAINER= zuntum@eik.pl
HOMEPAGE= http://cr.yp.to/djbdns.html
+EXTRACT_ONLY= djbdns-1.02.tar.gz \
+ djbdns-1.02-man.tar.gz
+
ALL_TARGET= it
INSTALL_TARGET= setup check
+post-extract:
+ @${SED} 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' < ${DISTDIR}/tinydns-log.pl.txt > ${WRKDIR}/tinydns-log.pl
+ @${SED} 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' < ${DISTDIR}/dnscache-log.pl.txt > ${WRKDIR}/dnscache-log.pl
+
post-patch:
@${ECHO} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO} "${CC} -s" > ${WRKSRC}/conf-ld
@${ECHO} "${PREFIX}" > ${WRKSRC}/conf-home
post-install:
+ @${INSTALL} ${WRKDIR}/tinydns-log.pl ${PREFIX}/bin/tinydns-log.pl
+ @${INSTALL} ${WRKDIR}/dnscache-log.pl ${PREFIX}/bin/dnscache-log.pl
@${INSTALL_DATA} ${WRKSRC}/dnsroots.global ${PREFIX}/etc/dnsroots.global
@cd ${WRKDIR}/djbdns-1.02-man && ${INSTALL_MAN} dnsfilter.1 dnsip.1 dnsipq.1 dnsmx.1 dnsname.1 dnsq.1 dnsqr.1 dnstrace.1 dnstxt.1 ${PREFIX}/man/man1
@cd ${WRKDIR}/djbdns-1.02-man && ${INSTALL_MAN} qualification.5 ${PREFIX}/man/man5