blob: 01c693c80e25e1a3755c6fb56d6c2fabaf567f4b (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# $FreeBSD$
PORTNAME= varnish
PORTVERSION= 5.2.1
DISTVERSIONPREFIX= varnish-
PORTREVISION= 1
CATEGORIES= www
PKGNAMESUFFIX= 5
MAINTAINER= feld@FreeBSD.org
COMMENT= High-performance HTTP accelerator
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
DEPRECATED= Varnish 5 is Retired
EXPIRATION_DATE=2019-01-01
BUILD_DEPENDS= rst2man:textproc/py-docutils
LIB_DEPENDS= libpcre.so:devel/pcre
CONFLICTS= varnish-2.* varnish-3.* varnish4-4.*
USES= autoreconf compiler:c++11-lang cpe gmake libedit libtool \
ncurses pathfix pkgconfig python:2.7,build readline shebangfix
SHEBANG_FILES= lib/libvcc/*.py
CPE_VENDOR= varnish-cache
CFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX} --without-dot
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
TEST_ARGS= TESTS_PARALLELISM=1
USE_GITHUB= yes
GH_ACCOUNT= varnishcache
GH_PROJECT= varnish-cache
USERS= varnish varnishlog
GROUPS= varnish
USE_RC_SUBR= varnishd varnishlog varnishncsa
.if defined(NO_INET6) || defined(WITHOUT_INET6)
BAD_TESTS+= r00832
EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch
.endif
OPTIONS_DEFINE= DOCS
post-patch:
.if defined(BAD_TESTS)
${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|}
.endif
.include <bsd.port.mk>
|