aboutsummaryrefslogtreecommitdiffstats
path: root/www/varnish-nagios/Makefile
blob: b08bd9bcc545a16197f49f3e7b271abefd65a5a1 (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
# 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

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>