# New ports collection makefile for: maradns # Date created: 26 May 2001 # Whom: Anders Nordby # # $FreeBSD$ # PORTNAME= maradns PORTVERSION= 0.8.16 CATEGORIES= net MASTER_SITES= http://www.maradns.org/download/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ MAINTAINER= ports@FreeBSD.org 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