2013-05-11 19:15:29 +00:00
|
|
|
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
2012-01-26 15:08:09 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dhcpd-pools
|
2014-06-23 21:44:09 +00:00
|
|
|
PORTVERSION= 2.25
|
2012-01-26 15:08:09 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
2013-11-03 23:22:27 +00:00
|
|
|
COMMENT= Tool to analyze isc-dhcp pool usage based on leases
|
2012-01-26 15:08:09 +00:00
|
|
|
|
2014-06-23 21:44:09 +00:00
|
|
|
LICENSE= BSD2CLAUSE
|
2012-01-26 15:08:09 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2012-05-06 18:03:16 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:${PORTSDIR}/devel/uthash
|
|
|
|
|
2014-06-23 21:44:09 +00:00
|
|
|
USES= charsetfix tar:xz
|
2012-01-26 15:08:09 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-dhcpd-conf=${LOCALBASE}/etc/dhcpd.conf \
|
2012-06-19 11:44:12 +00:00
|
|
|
--with-dhcpd-leases=/var/db/dhcpd/dhcpd.leases \
|
|
|
|
--with-uthash=${LOCALBASE}/include
|
2013-05-11 19:15:29 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2012-01-26 15:08:09 +00:00
|
|
|
|
2014-03-09 14:25:49 +00:00
|
|
|
PLIST_FILES= bin/dhcpd-pools \
|
|
|
|
man/man1/dhcpd-pools.1.gz
|
2012-01-26 15:08:09 +00:00
|
|
|
PORTDATA= dhcpd-pools.cgi snmptest.pl
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/features.h/d' ${WRKSRC}/src/getdata.c
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|