a56ed88352
maradns-2.0.17: This is the stable release of MaraDNS. No security updates were made. Deadwood updated to 3.2.14 Default max_mem value doubled as discussed in GitHub issue #52.
36 lines
958 B
Makefile
36 lines
958 B
Makefile
# $NetBSD: Makefile,v 1.29 2019/10/06 12:52:20 nia Exp $
|
|
|
|
DISTNAME= maradns-2.0.17
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://maradns.samiam.org/download/2.0/${PKGVERSION_NOREV}/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= ddeus.pkgsrc@mailnull.com
|
|
HOMEPAGE= https://maradns.samiam.org/
|
|
COMMENT= Secure DNS server for *NIX systems
|
|
LICENSE= 2-clause-bsd
|
|
|
|
USE_TOOLS+= awk:build
|
|
|
|
HAS_CONFIGURE= yes
|
|
PTHREAD_OPTS+= require
|
|
PTHREAD_AUTO_VARS= yes
|
|
MAKE_ENV+= LANGUAGE="en"
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 \
|
|
${PKGMANDIR}/man8 sbin share/examples
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
|
|
SUBST_CLASSES+= sysconf
|
|
SUBST_STAGE.sysconf= pre-configure
|
|
SUBST_VARS.sysconf= PKG_SYSCONFDIR
|
|
SUBST_FILES.sysconf= parse/ParseMaraRc.c MaraDns.h deadwood-3.2.14/src/DwMain.c
|
|
|
|
.include "options.mk"
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/share/doc/maradns && ${MV} examples ../../examples/maradns
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|