1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/varnish4/Makefile
Mark Felder 500b9100bf www/varnish4: Update to 4.1.3
Changelog:	https://github.com/varnishcache/varnish-cache/blob/4.1/doc/changes.rst

Will MFH as upstream recommends the latest release of this branch due to
important bugfixes.

MFH:		2016Q3
2016-07-14 20:07:28 +00:00

52 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= varnish
PORTVERSION= 4.1.3
PORTREVISION= 0
CATEGORIES= www
MASTER_SITES= http://repo.varnish-cache.org/source/
PKGNAMESUFFIX= 4
MAINTAINER= feld@FreeBSD.org
COMMENT= High-performance HTTP accelerator
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libpcre.so:devel/pcre
CONFLICTS= varnish-2.* varnish-3.*
BROKEN_arm= does not configure
USES= autoreconf cpe gmake libedit libtool pkgconfig python:2,build \
readline shebangfix
SHEBANG_FILES= lib/libvcc/vmodtool.py
CPE_VENDOR= varnish-cache
CFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX} --enable-tests
CONFIGURE_ENV= RST2MAN=true
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
USERS= varnish varnishlog
GROUPS= varnish
USE_RC_SUBR= varnishd varnishlog varnishncsa
SUB_FILES= pkg-message
.if defined(NO_INET6) || defined(WITHOUT_INET6)
BAD_TESTS+= r00832
EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch
.endif
post-patch:
@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.am
.if defined(BAD_TESTS)
${RM} -f ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|}
.endif
regression-test check test: build
${MAKE_CMD} TESTS_PARALLELISM=1 -C ${WRKSRC} check
.include <bsd.port.mk>