summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/webmin/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 0792424a6419..f7756b8d53b3 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -62,6 +62,11 @@ post-patch:
${WRKSRC}/postgresql/config.sed > ${WRKSRC}/postgresql/config
${RM} ${WRKSRC}/postgresql/config.sed
+ ${CP} ${WRKSRC}/dhcpd/config-freebsd ${WRKSRC}/dhcpd/config-freebsd.sed
+ ${SED} -e "s@^dhcpd_conf=.*@dhcpd_conf=${LOCALBASE}/etc/dhcpd.conf@" \
+ ${WRKSRC}/dhcpd/config-freebsd.sed > ${WRKSRC}/dhcpd/config-freebsd
+ ${RM} ${WRKSRC}/dhcpd/config-freebsd.sed
+
do-install:
@${MKDIR} ${PREFIX}/lib/webmin
@${CP} -r ${WRKSRC}/* ${PREFIX}/lib/webmin