32 lines
832 B
Makefile
32 lines
832 B
Makefile
# $NetBSD: Makefile,v 1.10 2004/02/22 16:40:50 christos Exp $
|
|
#
|
|
|
|
DISTNAME= netsaint-plugins-1.2.9-4
|
|
PKGNAME= netsaint-plugin-snmp-1.2.9.4
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netsaintplug/}
|
|
|
|
MAINTAINER= murray@river-styx.org
|
|
HOMEPAGE= http://netsaintplug.sourceforge.net/
|
|
COMMENT= SNMP monitoring plug-in for netsaint
|
|
|
|
DEPENDS+= netsaint-base-[0-9]*:../../net/netsaint-base
|
|
DEPENDS+= net-snmp-5.0.9*:../../net/net-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"
|