fc6bdea051
You can now set the default version of Varnish with DEFAULT_VERSIONS to build Varnish and its modules against your desired Varnish release train. The default version of Varnish throughout the ports tree will remain as www/varnish4 until at least 2017Q1 when it will be changed in HEAD to be www/varnish5. This should allow plenty of time for migration and for stabilization of the changes in Varnish 5.x. Submitted by: vanilla
33 lines
618 B
Makefile
33 lines
618 B
Makefile
# 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>
|