1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net/maradns/Makefile
David W. Chapman Jr. bb00b9efa2 Update to 0.8.16
PR:		29913
Submitted by:	maintainer
2001-08-24 14:57:19 +00:00

63 lines
2.1 KiB
Makefile

# New ports collection makefile for: maradns
# Date created: 26 May 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= maradns
PORTVERSION= 0.8.16
CATEGORIES= net
MASTER_SITES= http://www.maradns.org/download/ \
ftp://ftp.nuug.no/pub/anders/distfiles/
MAINTAINER= anders@fix.no
USE_BZIP2= yes
MAN1= askmara.1 getzone.1
MAN8= maradns.8 zoneserver.8
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
FIXPREFIX= 00QuickStart CHANGELOG.html doc/man/maradns.8 doc/faq.txt \
doc/man/zoneserver.8 parse/ParseMaraRc.c doc/example_mararc
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
${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
.if !defined(NOPORTDOCS)
${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
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/maradns
.endfor
.endif
.include <bsd.port.mk>