7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
30 lines
832 B
Makefile
30 lines
832 B
Makefile
# $NetBSD: Makefile,v 1.9 2014/05/29 23:37:03 wiz Exp $
|
|
|
|
DISTNAME= dhcpd-pools-2.16
|
|
PKGREVISION= 4
|
|
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
|
|
USE_TOOLS+= perl:run
|
|
|
|
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'
|
|
|
|
LDFLAGS.SunOS+= -lnsl
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|