Lines 1-7
Link Here
|
1 |
PORTNAME= varnish |
1 |
PORTNAME= varnish |
2 |
DISTVERSION= 7.2.0 |
2 |
DISTVERSION= 7.2.0 |
3 |
DISTVERSIONPREFIX= varnish- |
|
|
4 |
CATEGORIES= www |
3 |
CATEGORIES= www |
|
|
4 |
MASTER_SITES= https://varnish-cache.org/downloads/ |
5 |
PKGNAMESUFFIX= 7 |
5 |
PKGNAMESUFFIX= 7 |
6 |
|
6 |
|
7 |
MAINTAINER= dbaio@FreeBSD.org |
7 |
MAINTAINER= dbaio@FreeBSD.org |
Lines 15-61
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} \
Link Here
|
15 |
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
15 |
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
16 |
LIB_DEPENDS= libpcre2-8.so:devel/pcre2 |
16 |
LIB_DEPENDS= libpcre2-8.so:devel/pcre2 |
17 |
|
17 |
|
18 |
USES= autoreconf compiler cpe gmake libedit libtool ncurses pathfix \ |
18 |
USES= cpe libedit libtool localbase ncurses pathfix \ |
19 |
pkgconfig python:3.6+,build readline shebangfix |
19 |
pkgconfig python:3.6+,build shebangfix tar:tgz |
20 |
|
|
|
21 |
SUB_FILES= pkg-message |
22 |
|
23 |
CONFLICTS= varnish4 varnish6 |
24 |
|
25 |
SHEBANG_FILES= lib/libvcc/*.py lib/libvsc/*.py |
26 |
CPE_VENDOR= varnish-cache |
20 |
CPE_VENDOR= varnish-cache |
27 |
CPE_PRODUCT= varnish_cache |
21 |
CPE_PRODUCT= varnish_cache |
28 |
CFLAGS+= -I${LOCALBASE}/include |
|
|
29 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
30 |
CONFIGURE_ARGS= --localstatedir=${PREFIX} --without-dot |
23 |
SHEBANG_FILES= lib/libvcc/*.py lib/libvsc/*.py |
31 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
32 |
INSTALL_TARGET= install-strip |
25 |
USE_RC_SUBR= varnishd varnishlog varnishncsa |
33 |
TEST_TARGET= check |
26 |
CONFLICTS= varnish4 varnish6 |
34 |
TEST_ARGS= TESTS_PARALLELISM=1 |
|
|
35 |
|
27 |
|
36 |
USE_GITHUB= yes |
28 |
SUB_FILES= pkg-message |
37 |
GH_ACCOUNT= varnishcache |
|
|
38 |
GH_PROJECT= varnish-cache |
39 |
|
29 |
|
40 |
USERS= varnish varnishlog |
30 |
USERS= varnish varnishlog |
41 |
GROUPS= varnish |
31 |
GROUPS= varnish |
42 |
|
32 |
|
43 |
USE_RC_SUBR= varnishd varnishlog varnishncsa |
33 |
INSTALL_TARGET= install-strip |
|
|
34 |
TEST_TARGET= check |
35 |
TEST_ARGS= TESTS_PARALLELISM=1 |
36 |
|
37 |
CONFIGURE_ARGS= --localstatedir=${PREFIX} --without-dot |
38 |
|
44 |
.if defined(NO_INET6) || defined(WITHOUT_INET6) |
39 |
.if defined(NO_INET6) || defined(WITHOUT_INET6) |
45 |
BAD_TESTS+= r00832 |
40 |
BAD_TESTS= r00832 |
46 |
EXTRA_PATCHES+= ${FILESDIR}/no-inet6.patch |
41 |
EXTRA_PATCHES= ${FILESDIR}/no-inet6.patch |
47 |
.endif |
42 |
.endif |
48 |
|
43 |
|
49 |
OPTIONS_DEFINE= DOCS |
44 |
OPTIONS_DEFINE= DOCS |
50 |
|
45 |
|
51 |
.include <bsd.port.pre.mk> |
|
|
52 |
|
53 |
post-patch: |
46 |
post-patch: |
54 |
.if defined(BAD_TESTS) |
47 |
.if defined(BAD_TESTS) |
55 |
${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} |
48 |
${RM} ${BAD_TESTS:C|.+|${WRKSRC}/bin/varnishtest/tests/\0.vtc|} |
56 |
.endif |
49 |
.endif |
57 |
.if ${CHOSEN_COMPILER_TYPE} == gcc |
|
|
58 |
${REINPLACE_CMD} -e '/-Wno-unknown-warning-option -Wno-implicit-fallthrough/d' ${WRKSRC}/configure.ac |
59 |
.endif |
60 |
|
50 |
|
61 |
.include <bsd.port.post.mk> |
51 |
.include <bsd.port.mk> |