mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
32 lines
773 B
Makefile
32 lines
773 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dhcpd-pools
|
|
PORTVERSION= 2.25
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Tool to analyze isc-dhcp pool usage based on leases
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:${PORTSDIR}/devel/uthash
|
|
|
|
USES= charsetfix tar:xz
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-dhcpd-conf=${LOCALBASE}/etc/dhcpd.conf \
|
|
--with-dhcpd-leases=/var/db/dhcpd/dhcpd.leases \
|
|
--with-uthash=${LOCALBASE}/include
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PLIST_FILES= bin/dhcpd-pools \
|
|
man/man1/dhcpd-pools.1.gz
|
|
PORTDATA= dhcpd-pools.cgi snmptest.pl
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/features.h/d' ${WRKSRC}/src/getdata.c
|
|
|
|
.include <bsd.port.mk>
|