summaryrefslogtreecommitdiff
path: root/www/varnish-nagios/Makefile
blob: 611850a39365f81a8b6bdf2fffef13af5ad7cb65 (plain) (blame)
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
33
# Created by: anders
# $FreeBSD$

PORTNAME=	varnish-nagios
PORTVERSION=	1.1.20140519
PORTREVISION=	0
CATEGORIES=	www

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Nagios plugin to check status of Varnish

LICENSE=	BSD2CLAUSE

BROKEN=		fails to build

BUILD_DEPENDS=	varnish4>=0:${PORTSDIR}/www/varnish4

GNU_CONFIGURE=	yes
CFLAGS+=	-lm

USES=		autoreconf libtool pkgconfig

USE_GITHUB=	yes
GH_ACCOUNT=	varnish
GH_TAGNAME=	022fbf9

PLIST_FILES=	libexec/nagios/check_varnish

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
	${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios

.include <bsd.port.mk>