2006-09-09 04:41:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2006/09/09 02:43:11 obache Exp $
|
2001-01-16 19:11:07 +01:00
|
|
|
#
|
|
|
|
|
2002-03-25 14:01:10 +01:00
|
|
|
DISTNAME= netsaint-plugins-1.2.9-4
|
|
|
|
PKGNAME= netsaint-plugin-snmp-1.2.9.4
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 3
|
2001-01-16 19:11:07 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netsaintplug/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-01-16 19:11:07 +01:00
|
|
|
HOMEPAGE= http://netsaintplug.sourceforge.net/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= SNMP monitoring plug-in for netsaint
|
2001-01-16 19:11:07 +01:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= netsaint-base-[0-9]*:../../net/netsaint-base
|
2004-09-10 00:29:35 +02:00
|
|
|
DEPENDS+= net-snmp>=5.0.9:../../net/net-snmp
|
2001-01-16 19:11:07 +01:00
|
|
|
|
|
|
|
.include "../../net/netsaint-base/Makefile.common"
|
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= check_snmp check_hpjd
|
2001-01-16 19:11:07 +01:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= libexec/netsaint
|
|
|
|
|
2001-01-16 19:11:07 +01:00
|
|
|
do-build:
|
2002-03-25 14:01:10 +01:00
|
|
|
cd ${WRKSRC}/plugins && \
|
|
|
|
${SETENV} ${MAKE_ENV} \
|
2006-09-09 04:41:53 +02:00
|
|
|
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${BUILD_TARGET}
|
2001-01-16 19:11:07 +01:00
|
|
|
|
|
|
|
do-install:
|
2004-12-03 16:14:50 +01:00
|
|
|
for PROG in ${BUILD_TARGET}; do \
|
2002-02-01 18:06:02 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/plugins/$${PROG} \
|
2002-03-25 14:01:10 +01:00
|
|
|
${PREFIX}/libexec/netsaint; \
|
2002-02-01 18:06:02 +01:00
|
|
|
done
|
2001-01-16 19:11:07 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|