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.
34 lines
1,002 B
Makefile
34 lines
1,002 B
Makefile
# $NetBSD: Makefile,v 1.13 2014/05/29 23:37:04 wiz Exp $
|
|
#
|
|
|
|
PKGNAME= nagios-plugin-radius-${PLUGINSVERSION}
|
|
PKGREVISION= 7
|
|
CATEGORIES= net sysutils
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Nagios radius plugin
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
DEPENDS+= nagios-plugins-${PLUGINSVERSION}{,nb[0-9]*}:../../net/nagios-plugins
|
|
DEPENDS+= p5-Net-SNMP-[0-9]*:../../net/p5-Net-SNMP
|
|
|
|
# linked with libradiusclient-ng.so.
|
|
BUILDLINK_DEPMETHOD.radiusclient-ng= full
|
|
|
|
BUILD_DEFS+= PKG_SYSCONFBASE
|
|
|
|
.include "../../net/nagios-plugins/Makefile.common"
|
|
|
|
BINARY_TARGET= check_radius
|
|
|
|
SUBST_CLASSES+= config
|
|
SUBST_STAGE.config= post-patch
|
|
SUBST_FILES.config= plugins/check_radius.c
|
|
SUBST_SED.config= -e "s|@SYSCONFDIR@|${PKG_SYSCONFBASE}|g"
|
|
SUBST_MESSAGE.config= Fixing configuration file path.
|
|
|
|
.include "../../net/nagios-plugins/Makefile.plugin"
|
|
.include "../../net/radiusclient-ng/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|