blob: 82a73691f0141d375fa016e24ec73f0c334c7d96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# $NetBSD: Makefile,v 1.68 2019/01/05 06:18:11 schmonz Exp $
DISTNAME= djbdns-1.05
PKGREVISION= 14
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/djbdns/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://cr.yp.to/djbdns.html
COMMENT= Collection of secure and reliable DNS tools
LICENSE= public-domain
MANPAGES= ${DISTNAME}-man-20031023.tar.gz
SITES.${MANPAGES}= http://smarden.org/pape/djb/manpages/
CONFLICTS+= djbdnscurve6-[0-9]*
DJB_RESTRICTED= no
SUBST_CLASSES+= etc
SUBST_STAGE.etc= do-configure
SUBST_FILES.etc= dns_rcrw.c
SUBST_SED.etc= -e 's|/etc/dnsrewrite|${PKG_SYSCONFBASE}/dnsrewrite|g'
SUBST_MESSAGE.etc= Fixing prefix.
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
MAKE_DIRS+= ${PKG_SYSCONFDIR}
CONF_FILES+= ${EGDIR}/dnsroots.global ${PKG_SYSCONFDIR}/dnsroots.global
BUILD_DEFS+= PKG_SYSCONFBASE
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 share/examples/${PKGBASE}
post-install:
cd ${WRKDIR}/${PKGBASE}-man; for i in 1 5 8; do \
for j in *.$$i; do ${INSTALL_MAN} $$j \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; done \
done
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
|