aboutsummaryrefslogtreecommitdiff
path: root/www/varnish-nagios/Makefile
blob: 975cdeefb308cfdb256e5301652a5c47014577ed (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.20151214
PORTREVISION=	1
CATEGORIES=	www

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

LICENSE=	BSD2CLAUSE

RUN_DEPENDS=	sudo:security/sudo

GNU_CONFIGURE=	yes
CFLAGS+=	-lm

USES=		autoreconf libtool pkgconfig varnish

USE_GITHUB=	yes
GH_ACCOUNT=	varnish
GH_TAGNAME=	258c486

PLIST_FILES=	libexec/nagios/check_varnish

SUB_FILES=	pkg-message

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

.include <bsd.port.mk>