1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/net/dhcpd/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

42 lines
691 B
Makefile

PORTNAME= dhcpd
PORTVERSION= 6.6.20200413
CATEGORIES= net
MAINTAINER= koue@chaosophia.net
COMMENT= OpenBSD dhcp daemon
LICENSE= BSD3CLAUSE
USES= ssl uidfix
WRKSRC_SUBDIR= src/usr.sbin/${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= koue
CONFLICTS= isc-dhcp4[1-3]-server*
USE_RC_SUBR= dhcpd
CFLAGS+= -Wall
MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
OPTIONS_DEFINE= NOPF
NOPF_DESC= Disable PF support
OPTIONS_SUB= yes
NOPF_CFLAGS= -DNO_PF=1
post-patch:
@${REINPLACE_CMD} -e "s|/etc/dhcpd.conf|${PREFIX}/etc/dhcpd.conf|" \
${WRKSRC}/dhcpd.[h8]
post-install:
${INSTALL_DATA} ${WRKSRC}/dhcpd.conf \
${STAGEDIR}${PREFIX}/etc/dhcpd.conf.sample
.include <bsd.port.mk>