openbsd-ports/net/nagios/check_sip/Makefile
sthen e8330b2841 Use ${LOCALBASE}/bin/sipsak rather than relying on PATH to be set.
Fixes SIP checks when nagios is started from rc.local. Bump PKGNAME.
2009-11-13 15:30:51 +00:00

39 lines
827 B
Makefile

# $OpenBSD: Makefile,v 1.5 2009/11/13 15:30:51 sthen Exp $
COMMENT= Nagios plugin to check SIP
DISTNAME= check_sip-20060929
PKGNAME= ${DISTNAME}p1
CATEGORIES= net
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
HOMEPAGE= http://isle.wumpus.org/src/nagios/
MASTER_SITES= http://spacehopper.org/mirrors/
# Artistic License 2.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
EXTRACT_SUFX=
RUN_DEPENDS= ::net/sipsak \
::net/nagios/plugins,-main
WRKDIST= ${WRKDIR}
do-extract:
@cp ${DISTDIR}/${DISTNAME} ${WRKSRC}/check_sip
do-configure:
@${SUBST_CMD} ${WRKSRC}/check_sip
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_sip ${PREFIX}/libexec/nagios
.include <bsd.port.mk>