aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/isc-dhcp2/Makefile')
-rw-r--r--net/isc-dhcp2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/isc-dhcp2/Makefile b/net/isc-dhcp2/Makefile
index 8b7c0854b157..f314562620c5 100644
--- a/net/isc-dhcp2/Makefile
+++ b/net/isc-dhcp2/Makefile
@@ -16,6 +16,9 @@ MAINTAINER= jseger@FreeBSD.org
HAS_CONFIGURE= yes
+STARTUP_SCRIPT= isc-dhcpd.sh.sample
+PLIST_SUB= STARTUP_SCRIPT=${STARTUP_SCRIPT}
+
MAN5= dhcp-options.5 dhcpd.conf.5 dhcpd.leases.5
MAN8= dhcpd.8 dhcrelay.8
@@ -29,5 +32,7 @@ post-install:
strip ${PREFIX}/sbin/${file}; \
fi
.endfor
+ ${INSTALL_SCRIPT} ${FILESDIR}/${STARTUP_SCRIPT} \
+ ${PREFIX}/etc/rc.d/${STARTUP_SCRIPT}
.include <bsd.port.mk>