freebsd-ports/net/dhcpd-pools/Makefile
Yasuhiro Kimura fdc16b6ee7 net/dhcpd-pools: Move man page to share/man
Approved by:	portmgr (blanket)
2024-03-19 21:16:13 +09:00

35 lines
815 B
Makefile

PORTNAME= dhcpd-pools
PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME} \
ZI
MAINTAINER= zi@FreeBSD.org
COMMENT= Tool to analyze isc-dhcp pool usage based on leases
WWW= https://dhcpd-pools.sourceforge.net/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash
USES= charsetfix shebangfix tar:xz
USE_CSTD= c99
SHEBANG_FILES= contrib/snmptest.pl
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
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
PORTDATA= snmptest.pl
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '/features.h/d' ${WRKSRC}/src/getdata.c
.include <bsd.port.mk>