[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / nagios-plugin-radius

File: [cvs.NetBSD.org] / pkgsrc / net / nagios-plugin-radius / Makefile (download)

Revision 1.18, Wed Jul 4 13:40:29 2018 UTC (7 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
Changes since 1.17: +2 -2 lines

*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.

# $NetBSD: Makefile,v 1.18 2018/07/04 13:40:29 jperkin Exp $

PKGNAME=	nagios-plugin-radius-${PLUGINSVERSION}
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


.include "../../net/nagios-plugins/Makefile.common"

BINARY_TARGET=	check_radius

SUBST_STAGE.config=	pre-configure
SUBST_FILES.config=	plugins/check_radius.c
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"