summaryrefslogtreecommitdiff
path: root/net/netsaint-plugin-snmp/Makefile
blob: 61e5d7493a91f1d35384289741f8cee85542af2a (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
# $NetBSD: Makefile,v 1.5 2002/03/13 17:37:32 fredb Exp $
#

DISTNAME=	netsaint-plugins-1.2.8-4
PKGNAME=	netsaint-plugin-snmp-1.2.8.4
PKGREVISION=	1
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=netsaintplug/}

MAINTAINER=	rh@netbsd.org
HOMEPAGE=	http://netsaintplug.sourceforge.net/
COMMENT=	SNMP monitoring plug-in for netsaint

DEPENDS+=	netsaint-base-[0-9]*:../../net/netsaint-base
DEPENDS+=	ucd-snmp-[0-9]*:../../net/ucd-snmp

.include "../../net/netsaint-base/Makefile.common"

ALL_TARGET=	check_snmp check_hpjd

do-build:
	cd ${WRKSRC}/plugins &&						\
	${SETENV} ${MAKE_ENV}						\
	${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}

do-install:
	for PROG in ${ALL_TARGET}; do	\
		${INSTALL_PROGRAM} ${WRKSRC}/plugins/$${PROG}	\
	   	 ${PREFIX}/libexec/netsaint; \
	done

.include "../../mk/bsd.pkg.mk"