2ba9a466ce
PR: ports/125889 Submitted by: Anders Troback <freebsd at troback.com> (maintainer)
36 lines
818 B
Makefile
36 lines
818 B
Makefile
# New ports collection makefile for: nagios-check_bacula
|
|
# Date created: 10 Juli 2008
|
|
# Whom: Anders Troback
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= check_bacula
|
|
PORTVERSION= 2.4.1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
PKGNAMEPREFIX= nagios-
|
|
DISTNAME= bacula-${PORTVERSION}
|
|
|
|
MAINTAINER= freebsd@troback.com
|
|
COMMENT= Nagios plugin for Bacula
|
|
|
|
WRKSRC= ${WRKDIR}/bacula-${PORTVERSION}
|
|
CONFIGURE_ARGS= --enable-client-only \
|
|
--disable-nls
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-extract:
|
|
${TAR} xzCf ${WRKSRC}/src ${WRKSRC}/examples/nagios/nagios_plugin_check_bacula.tgz
|
|
|
|
post-build:
|
|
${MAKE} -C ${WRKSRC}/src/check_bacula
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/libexec/nagios
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/check_bacula/check_bacula \
|
|
${PREFIX}/libexec/nagios/
|
|
|
|
.include <bsd.port.post.mk>
|