(which is not) throughout the ports Makefiles. * Replace find|xargs with find -exec {} + * Replace -exec {} \; with -exec {} + if applicable. * Use the -delete operator to remove files and empty directories. * Combine and tweak some find(1) invocations while here. ok kn@ rsadowski@ espie@
33 lines
720 B
Makefile
33 lines
720 B
Makefile
# $OpenBSD: Makefile,v 1.24 2020/03/20 16:44:26 naddy Exp $
|
|
|
|
COMMENT= simple and performant DNS server
|
|
|
|
VERSION= 1.3.07.15
|
|
DISTNAME= maradns-${VERSION}
|
|
CATEGORIES= net
|
|
REVISION = 1
|
|
|
|
HOMEPAGE= http://www.maradns.org/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c pthread
|
|
|
|
MASTER_SITES= http://maradns.org/download/1.3/
|
|
|
|
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS} -D_THREAD_SAFE -pthread"
|
|
|
|
NO_TEST= Yes
|
|
|
|
post-configure:
|
|
@find ${WRKSRC} -type f -exec perl -pi -e "s,/etc,${SYSCONFDIR},g" {} +
|
|
@perl -pi -e "s, = 99, = 537," ${WRKSRC}/doc/en/examples/ex*
|
|
|
|
post-install:
|
|
@chmod a+r ${PREFIX}/share/doc/maradns/source/maraconf.ej
|
|
@mv ${PREFIX}/share/doc/maradns/examples \
|
|
${PREFIX}/share/examples/maradns
|
|
|
|
.include <bsd.port.mk>
|