openbsd-ports/net/maradns/Makefile
sthen d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00

34 lines
758 B
Makefile

# $OpenBSD: Makefile,v 1.12 2010/07/12 22:07:39 sthen Exp $
VERSION= 1.3.07.09
COMMENT= simple and performant DNS server
DISTNAME= maradns-${VERSION}
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://www.maradns.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.3/${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>