2014-05-30 01:35:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2014/05/29 23:37:03 wiz Exp $
|
2011-05-27 08:41:42 +02:00
|
|
|
|
2011-07-20 09:03:53 +02:00
|
|
|
DISTNAME= dhcpd-pools-2.16
|
2014-05-30 01:35:13 +02:00
|
|
|
PKGREVISION= 4
|
2011-05-27 08:41:42 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dhcpd-pools/}
|
|
|
|
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
|
|
HOMEPAGE= http://dhcpd-pools.sourceforge.net/
|
|
|
|
COMMENT= ISC dhcpd lease analysis and reporting
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-dhcpd-leases=${VARBASE}/db/dhcpd.leases
|
|
|
|
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
REPLACE_PERL= contrib/snmptest.pl
|
2011-07-05 03:14:20 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2011-05-27 08:41:42 +02:00
|
|
|
|
|
|
|
SUBST_CLASSES+= fix-name
|
|
|
|
SUBST_STAGE.fix-name= pre-configure
|
|
|
|
SUBST_MESSAGE.fix-name= Removing program_invocation_short_name.
|
|
|
|
SUBST_FILES.fix-name= src/dhcpd-pools.c src/other.c src/sort.c
|
|
|
|
SUBST_SED.fix-name= -e 's,program_invocation_short_name,"dhcpd-pools",g'
|
|
|
|
|
2013-10-24 11:49:22 +02:00
|
|
|
LDFLAGS.SunOS+= -lnsl
|
|
|
|
|
2011-05-27 08:41:42 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|