2013-03-11 11:35:43 +00:00

32 lines
667 B
Makefile

# $OpenBSD: Makefile,v 1.20 2013/03/11 11:35:48 espie Exp $
COMMENT= simple and performant DNS server
VERSION= 1.3.07.15
DISTNAME= maradns-${VERSION}
CATEGORIES= net
HOMEPAGE= http://www.maradns.org/
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c pthread
MASTER_SITES= http://maradns.org/download/1.3/
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS} -D_THREAD_SAFE -pthread"
USE_GROFF = Yes
NO_TEST= 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>