pkgsrc-wip/openresolv/Makefile
Roy Marples 96ca68cc64 bump
2008-08-29 08:14:38 +00:00

34 lines
930 B
Makefile

# $NetBSD: Makefile,v 1.5 2008/08/29 08:14:38 rsmarples Exp $
#
DISTNAME= openresolv-1.7.1
CATEGORIES= net
MASTER_SITES= http://roy.marples.name/openresolv/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= roy@marples.name
HOMEPAGE= http://roy.marples.name/openresolv/
COMMENT= Framework for managing /etc/resolv.conf
USE_LANGUAGES= # none
PKG_DESTDIR_SUPPORT= user-destdir
PKG_SYSCONFSUBDIR= resolvconf
EGDIR= ${PREFIX}/share/examples/resolvconf
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR} \
SYSCONFDIR=${PKG_SYSCONFDIR}
INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR}
OWN_DIRS= ${PKG_SYSCONFDIR}/update.d
OWN_DIRS+= ${PKG_SYSCONFDIR}/resolv.conf.d
CONF_FILES= ${EGDIR}/resolv.conf.d/head \
${PKG_SYSCONFDIR}/resolv.conf.d/head
CONF_FILES_PERMS=
.for s in libc dnsmasq named
CONF_FILES_PERMS+= ${EGDIR}/update.d/${s} ${PKG_SYSCONFDIR}/update.d/${s} \
${ROOT_USER} ${ROOT_GROUP} 0755
.endfor
.include "../../mk/bsd.pkg.mk"