mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
35 lines
576 B
Makefile
35 lines
576 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dhcpd
|
|
PORTVERSION= 5.8.20151202
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= koue@chaosophia.net
|
|
COMMENT= OpenBSD dhcp daemon
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src/usr.sbin/${PORTNAME}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= koue
|
|
|
|
CONFLICTS= isc-dhcp4[1-3]-server*
|
|
|
|
USES= uidfix
|
|
USE_OPENSSL= yes
|
|
USE_RC_SUBR= dhcpd
|
|
|
|
CFLAGS+= -Wall
|
|
|
|
MAKE_ARGS+= BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
|
|
|
|
USERS= dhcpd
|
|
GROUPS= dhcpd
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/dhcpd.conf \
|
|
${STAGEDIR}${PREFIX}/etc/dhcpd.conf.sample
|
|
|
|
.include <bsd.port.mk>
|