35 lines
938 B
Makefile
35 lines
938 B
Makefile
# $NetBSD: Makefile,v 1.6 2004/04/25 08:31:20 snj Exp $
|
|
|
|
DISTNAME= maradns-1.0.18
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.maradns.org/download/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pancake@phreaker.net
|
|
HOMEPAGE= http://www.maradns.org/
|
|
COMMENT= Secure DNS server for *NIX systems
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_PKGINSTALL= yes
|
|
RCD_SCRIPTS= maradns
|
|
HAS_CONFIGURE= yes
|
|
PTHREAD_OPTS+= require
|
|
MAKE_ENV+= LANGUAGE="en"
|
|
|
|
EGDIR= ${PREFIX}/share/examples/maradns
|
|
CONF_FILES= ${EGDIR}/example_mararc ${PKG_SYSCONFDIR}/mararc
|
|
|
|
post-patch:
|
|
${SED} -e s,@@PKGSYSCONFDIR@@,${PKG_SYSCONFDIR}, \
|
|
${WRKSRC}/parse/ParseMaraRc.c > ${WRKSRC}/parse/ParseMaraRc.sed
|
|
${MV} ${WRKSRC}/parse/ParseMaraRc.sed ${WRKSRC}/parse/ParseMaraRc.c
|
|
|
|
post-install:
|
|
${MV} ${PREFIX}/share/doc/maradns/examples \
|
|
${PREFIX}/share/examples/maradns
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
LDFLAGS+= ${PTHREAD_LDFLAGS}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|