2001-06-11 05:44:26 +02:00
|
|
|
# New ports collection makefile for: maradns
|
|
|
|
# Date created: 26 May 2001
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= maradns
|
2011-01-31 10:49:07 +01:00
|
|
|
PORTVERSION= 1.4.06
|
2011-04-12 11:35:14 +02:00
|
|
|
PORTREVISION= 1
|
2003-09-05 06:54:37 +02:00
|
|
|
CATEGORIES= dns
|
2010-01-18 08:58:26 +01:00
|
|
|
MASTER_SITES= http://www.maradns.org/download/1.4/${PORTVERSION}/ \
|
|
|
|
SF/${PORTNAME}/MaraDNS/${PORTVERSION}/
|
2001-06-11 05:44:26 +02:00
|
|
|
|
2010-04-01 14:45:37 +02:00
|
|
|
MAINTAINER= decke@FreeBSD.org
|
2003-11-11 17:49:01 +01:00
|
|
|
COMMENT= DNS server with focus on security and simplicity
|
2001-06-11 05:44:26 +02:00
|
|
|
|
2002-06-23 08:04:01 +02:00
|
|
|
REINPLACE_ARGS= -i ""
|
2001-12-08 21:21:15 +01:00
|
|
|
MAKE_ENV= FLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
2001-06-11 05:44:26 +02:00
|
|
|
|
2009-07-15 08:58:30 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME} zoneserver
|
2011-04-12 11:35:14 +02:00
|
|
|
USERS= bind
|
|
|
|
GROUPS= bind
|
2004-04-18 17:31:18 +02:00
|
|
|
|
2009-09-23 13:41:48 +02:00
|
|
|
MAN1= askmara.1 getzone.1 fetchzone.1
|
|
|
|
MAN5= mararc.5 csv1.5 csv2.5 csv2_txt.5
|
|
|
|
MAN8= maradns.8 zoneserver.8 duende.8
|
2001-06-11 05:44:26 +02:00
|
|
|
|
|
|
|
post-patch:
|
2009-10-07 11:51:28 +02:00
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|/etc/maradns|${ETCDIR}|g; s|/etc/mararc|${ETCDIR}|g'
|
2002-06-23 08:04:01 +02:00
|
|
|
@${FIND} ${WRKSRC} -name '*Makefile*' | ${XARGS} ${REINPLACE_CMD} -e \
|
2001-12-08 21:21:15 +01:00
|
|
|
's|make|\$$\{MAKE\}|g ; \
|
|
|
|
s|^FLAGS =|#FLAGS =|g ; \
|
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g'
|
2001-06-11 05:44:26 +02:00
|
|
|
|
|
|
|
do-install:
|
2002-03-25 13:26:47 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/server/maradns ${PREFIX}/sbin
|
2006-01-20 16:57:06 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcp/getzone ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcp/fetchzone ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcp/zoneserver ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/askmara ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tools/duende ${PREFIX}/bin
|
2009-07-15 08:58:30 +02:00
|
|
|
|
2002-03-25 13:26:47 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/askmara.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/getzone.1 ${MANPREFIX}/man/man1
|
2006-01-20 16:57:06 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/fetchzone.1 ${MANPREFIX}/man/man1
|
2002-03-25 13:26:47 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/maradns.8 ${MANPREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/zoneserver.8 ${MANPREFIX}/man/man8
|
2006-01-20 16:57:06 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/duende.8 ${MANPREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/mararc.5 ${MANPREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/csv1.5 ${MANPREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/csv2.5 ${MANPREFIX}/man/man5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/en/man/csv2_txt.5 ${MANPREFIX}/man/man5
|
2009-07-15 08:58:30 +02:00
|
|
|
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/en/examples/example_full_mararc ${PREFIX}/etc/mararc.sample
|
|
|
|
|
|
|
|
${MKDIR} ${ETCDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/en/examples/example_csv2 ${ETCDIR}/example_csv2
|
|
|
|
${MKDIR} ${ETCDIR}/logger
|
|
|
|
|
|
|
|
.ifndef(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/en/examples/* ${EXAMPLESDIR}/
|
|
|
|
.endif
|
2002-01-30 03:29:26 +01:00
|
|
|
.ifndef(NOPORTDOCS)
|
2006-01-20 16:57:06 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}/en
|
2009-07-15 08:58:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/en/*.* ${DOCSDIR}/en
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/en/QuickStart ${DOCSDIR}/en
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/en/README ${DOCSDIR}/en
|
2006-01-20 16:57:06 +01:00
|
|
|
${CP} -R ${WRKSRC}/doc/en/misc ${DOCSDIR}/en
|
|
|
|
${CP} -R ${WRKSRC}/doc/en/pdf ${DOCSDIR}/en
|
|
|
|
${CP} -R ${WRKSRC}/doc/en/tutorial ${DOCSDIR}/en
|
|
|
|
${CP} -R ${WRKSRC}/doc/en/text ${DOCSDIR}/en
|
2001-06-11 05:44:26 +02:00
|
|
|
.endif
|
|
|
|
|
2009-01-05 20:44:02 +01:00
|
|
|
.include <bsd.port.mk>
|