blob: 8315b289dee144a689be75a5d045bafe20d8e00e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.12 2014/02/12 23:18:23 tron Exp $
#
PKGNAME= nagios-plugin-radius-${PLUGINSVERSION}
PKGREVISION= 6
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"
|