Skip to content
Permalink
Browse files

Keep it simple: set PKG_SYSCONFSUBDIR to match net/djbdns's. Bump ver…

…sion just in case.
  • Loading branch information...
schmonz committed Jun 19, 2019
1 parent 93bc269 commit b692f0b6bd6ad00f6d4d538c4cb14b9ca45f0860
Showing with 2 additions and 17 deletions.
  1. +2 −17 net/djbdns-run/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.33 2019/01/08 18:19:27 schmonz Exp $
# $NetBSD: Makefile,v 1.34 2019/06/19 17:50:30 schmonz Exp $
#

DISTNAME= djbdns-run-20190108
DISTNAME= djbdns-run-20190619
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
@@ -48,21 +48,6 @@ CONF_FILES+= ${PREFIX}/share/examples/${PKGBASE}/axfrdns-tcp \

.include "options.mk"

.include "../../mk/bsd.prefs.mk"

# Detect the PKG_SYSCONFDIR of the installed djbdns, so we can create
# config files there and refer to them from rc.d scripts.
#
.if !defined(PKG_SYSCONFDIR.djbdns-run)
PKG_SYSCONFDIR.djbdns-run!= \
${PKG_INFO} -Q PKG_SYSCONFDIR \
${DEPENDS_DJBDNS:C/:.*$//:Q} 2>/dev/null || \
${ECHO} "PKG_SYSCONFDIR.djbdns-run_not_set"
. if empty(PKG_SYSCONFDIR.djbdns-run:M*not_set)
MAKEVARS+= PKG_SYSCONFDIR.djbdns-run
. endif
.endif

do-install:
${INSTALL_DATA} ${FILESDIR}/README.pkgsrc ${DESTDIR}${PREFIX}/share/doc/djbdns-run
${INSTALL_DATA} ${FILESDIR}/axfrdns-tcp ${DESTDIR}${PREFIX}/share/examples/djbdns-run

0 comments on commit b692f0b

Please sign in to comment.
You can’t perform that action at this time.