blob: 465e3b7fc4854b0c0621f36663c52d6b00a69c59 (
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
|
# $NetBSD: Makefile,v 1.12 2014/03/12 14:29:31 jperkin Exp $
PKGNAME= isc-dhcpd-${DHVER}
PKGREVISION= 1
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 "${.CURDIR}/../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"
|