2001-06-10 23:44:26 -04:00
|
|
|
# New ports collection makefile for: maradns
|
|
|
|
# Date created: 26 May 2001
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= maradns
|
2001-08-24 10:57:19 -04:00
|
|
|
PORTVERSION= 0.8.16
|
2001-06-10 23:44:26 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.maradns.org/download/ \
|
|
|
|
ftp://ftp.nuug.no/pub/anders/distfiles/
|
|
|
|
|
2001-10-06 22:03:45 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-06-10 23:44:26 -04:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
2001-07-08 12:36:30 -04:00
|
|
|
MAN1= askmara.1 getzone.1
|
|
|
|
MAN8= maradns.8 zoneserver.8
|
2001-06-10 23:44:26 -04:00
|
|
|
|
2001-08-24 10:57:19 -04:00
|
|
|
DDOCS= RFC1035.compliance cache.poison.protection csv1.format \
|
|
|
|
draft-skwan-utf8-dns-05.txt example_full_mararc faq.html \
|
|
|
|
firewall.configuration handling.compression mararc.format \
|
|
|
|
multiple.qdcount recursive-case-insensitive recursive.algorithm \
|
|
|
|
resolution.algorithm rfc2044.txt rtest.output www.monty.de
|
|
|
|
DOCS= example_csv1 example_mararc faq.txt ../0QuickStart ../CHANGELOG.html \
|
|
|
|
../TODO.done ../TODO.first ../TODO.second ../changelog.html ../CREDITS
|
2001-06-10 23:44:26 -04:00
|
|
|
|
2001-06-24 22:19:27 -04:00
|
|
|
FIXPREFIX= 00QuickStart CHANGELOG.html doc/man/maradns.8 doc/faq.txt \
|
2001-08-13 12:10:54 -04:00
|
|
|
doc/man/zoneserver.8 parse/ParseMaraRc.c doc/example_mararc
|
2001-06-10 23:44:26 -04:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for f in ${FIXPREFIX}
|
|
|
|
${PERL} -pi -e "s@/etc/maradns@${PREFIX}/etc/maradns@g; \
|
|
|
|
s@/etc/mararc@${PREFIX}/etc/mararc@g" ${WRKSRC}/${f}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/server/maradns ${PREFIX}/sbin/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tuzona/zoneserver ${PREFIX}/sbin/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tuzona/getzone ${PREFIX}/sbin/
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/askmara ${PREFIX}/bin/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/example_mararc ${PREFIX}/etc/mararc.sample
|
2001-07-08 12:36:30 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/maradns.8 ${PREFIX}/man/man8/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/zoneserver.8 ${PREFIX}/man/man8/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/askmara.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/getzone.1 ${PREFIX}/man/man1
|
2001-06-10 23:44:26 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-08-24 10:57:19 -04:00
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 \
|
|
|
|
${PREFIX}/share/doc/maradns/detailed/spammers
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/detailed/spammers/azmalink.net \
|
|
|
|
${PREFIX}/share/doc/maradns/detailed/spammers
|
|
|
|
.for f in ${DDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/detailed/${f} \
|
|
|
|
${PREFIX}/share/doc/maradns/detailed
|
|
|
|
.endfor
|
2001-06-10 23:44:26 -04:00
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/maradns
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|