Changeset View
Changeset View
Standalone View
Standalone View
head/www/varnish-nagios/Makefile
# Created by: anders | # Created by: anders | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= varnish-nagios | PORTNAME= varnish-nagios | ||||
PORTVERSION= 1.1.20140519 | PORTVERSION= 1.1.20151214 | ||||
PORTREVISION= 0 | PORTREVISION= 0 | ||||
CATEGORIES= www | CATEGORIES= www | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Nagios plugin to check status of Varnish | COMMENT= Nagios plugin to check status of Varnish | ||||
LICENSE= BSD2CLAUSE | LICENSE= BSD2CLAUSE | ||||
BROKEN= fails to build | |||||
BUILD_DEPENDS= varnish4>=0:www/varnish4 | BUILD_DEPENDS= varnish4>=0:www/varnish4 | ||||
RUN_DEPENDS= ${LOCALBASE}/bin/sudo:${PORTSDIR}/security/sudo | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CFLAGS+= -lm | CFLAGS+= -lm | ||||
USES= autoreconf libtool pkgconfig | USES= autoreconf libtool pkgconfig | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= varnish | GH_ACCOUNT= varnish | ||||
GH_TAGNAME= 022fbf9 | GH_TAGNAME= 258c486 | ||||
PLIST_FILES= libexec/nagios/check_varnish | PLIST_FILES= libexec/nagios/check_varnish | ||||
SUB_FILES= pkg-message | |||||
do-install: | do-install: | ||||
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios | @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios | ||||
${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios | ${INSTALL_PROGRAM} ${WRKSRC}/check_varnish ${STAGEDIR}${PREFIX}/libexec/nagios | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |