c322b3982f
http://secunia.com/advisories/28329/ ok sturm@ (MAINTAINER)
34 lines
791 B
Makefile
34 lines
791 B
Makefile
# $OpenBSD: Makefile,v 1.9 2008/01/07 21:24:07 bernd Exp $
|
|
|
|
VERSION= 1.2.12.09
|
|
COMMENT= simple and performant DNS server
|
|
DISTNAME= maradns-${VERSION}
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.maradns.org/
|
|
|
|
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c pthread
|
|
|
|
MASTER_SITES= http://www.maradns.org/download/1.2/${VERSION}/
|
|
|
|
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS} -D_THREAD_SAFE -pthread"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-configure:
|
|
@find ${WRKSRC} -type f | xargs perl -pi -e "s,/etc,${SYSCONFDIR},g"
|
|
@perl -pi -e "s, = 99, = 537," ${WRKSRC}/doc/en/examples/ex*
|
|
|
|
post-install:
|
|
@mv ${PREFIX}/share/doc/maradns/examples \
|
|
${PREFIX}/share/examples/maradns
|
|
|
|
.include <bsd.port.mk>
|