[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / isc-dhcpd4

File: [cvs.NetBSD.org] / pkgsrc / net / isc-dhcpd4 / Makefile (download)

Revision 1.14, Tue Aug 27 08:12:01 2019 UTC (2 years, 1 month ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.13: +2 -2 lines

isc-dhcp4: add LDAP as an option; pkglint fixes

# $NetBSD: Makefile,v 1.14 2019/08/27 08:12:01 adam Exp $

PKGNAME=	isc-dhcpd-${DHVER}
COMMENT=	ISC Dynamic Host Configuration Protocol (DHCP) Server
BUILD_SUBDIR=	bind includes tests common omapip dhcpctl server
SUBDIR=		omapip dhcpctl server

CONF_FILES+=	${EGDIR}/dhcpd.conf ${PKG_SYSCONFDIR}/dhcpd.conf
#CONF_FILES+=	${EGDIR}/dhcpd6.conf ${PKG_SYSCONFDIR}/dhcpd6.conf

RCD_SCRIPTS=	isc_dhcpd isc_dhcpd6
SMF_METHODS=	isc-dhcpd

FILES_SUBST+=	DHCP_HOME=${DHCP_HOME:Q}
FILES_SUBST+=	DHCP_PID=${DHCP_PID:Q}

.include "../../net/isc-dhcp4/options.mk"

INSTALLATION_DIRS+=	${EGDIR}

post-install:
	${INSTALL_DATA} ${WRKSRC}/server/dhcpd.conf.example \
		${DESTDIR}${EGDIR}/dhcpd.conf

.include "../../net/isc-dhcp4/Makefile.common"
.include "../../net/isc-dhcp4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"