View | Details | Raw Unified | Return to bug 185543
Collapse All | Expand All

(-)Makefile (-15 / +9 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	varnish
3
PORTNAME=	varnish
4
PORTVERSION=	3.0.4
4
PORTVERSION=	3.0.5
5
CATEGORIES=	www
5
CATEGORIES=	www
6
MASTER_SITES=	http://repo.varnish-cache.org/source/
6
MASTER_SITES=	http://repo.varnish-cache.org/source/
7
7
Lines 8-16 Link Here
8
MAINTAINER=	anders@FreeBSD.org
8
MAINTAINER=	anders@FreeBSD.org
9
COMMENT=	The Varnish high-performance HTTP accelerator
9
COMMENT=	The Varnish high-performance HTTP accelerator
10
10
11
LICENSE=	BSD
11
LICENSE=	BSD2CLAUSE
12
12
13
LIB_DEPENDS=	pcre:${PORTSDIR}/devel/pcre
13
LIB_DEPENDS=	libpcre.so:${PORTSDIR}/devel/pcre
14
14
15
CONFLICTS=	varnish-2.*
15
CONFLICTS=	varnish-2.*
16
16
Lines 20-35 Link Here
20
CONFIGURE_ARGS=	--localstatedir=${PREFIX} --enable-tests
20
CONFIGURE_ARGS=	--localstatedir=${PREFIX} --enable-tests
21
CONFIGURE_ENV=	RST2MAN=true
21
CONFIGURE_ENV=	RST2MAN=true
22
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
23
USE_AUTOTOOLS=  aclocal libtool libtoolize automake autoconf
23
USE_AUTOTOOLS=	aclocal libtool libtoolize automake autoconf
24
ACLOCAL_ARGS=	-I m4
24
ACLOCAL_ARGS=	-I m4
25
LIBTOOLFLAGS=	--copy --force --disable-static
25
LIBTOOLFLAGS=	--copy --force --disable-static
26
AUTOMAKE_ARGS=	--add-missing --copy --foreign
26
AUTOMAKE_ARGS=	--add-missing --copy --foreign
27
27
28
MAN1=		varnishadm.1 varnishd.1 varnishhist.1 varnishlog.1 \
29
		varnishncsa.1 varnishreplay.1 varnishsizes.1 \
30
		varnishstat.1 varnishtest.1 varnishtop.1
31
MAN3=		vmod_std.3
32
MAN7=		vcl.7 varnish-cli.7 varnish-counters.7
33
USE_RC_SUBR=	varnishd varnishlog varnishncsa
28
USE_RC_SUBR=	varnishd varnishlog varnishncsa
34
SUB_FILES=	pkg-message
29
SUB_FILES=	pkg-message
35
.if defined(NO_INET6) || defined(WITHOUT_INET6)
30
.if defined(NO_INET6) || defined(WITHOUT_INET6)
Lines 37-43 Link Here
37
EXTRA_PATCHES+=	${FILESDIR}/no-inet6.patch
32
EXTRA_PATCHES+=	${FILESDIR}/no-inet6.patch
38
.endif
33
.endif
39
34
40
NO_STAGE=	yes
41
post-patch:
35
post-patch:
42
	@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
36
	@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
43
		${WRKSRC}/Makefile.am
37
		${WRKSRC}/Makefile.am
Lines 59-74 Link Here
59
	#
53
	#
60
54
61
post-install:
55
post-install:
62
	@${MKDIR} ${PREFIX}/share/varnish
56
	${MKDIR} ${STAGEDIR}${PREFIX}/share/varnish
63
	@${INSTALL_SCRIPT} ${WRKSRC}/lib/libvmod_std/vmod.py ${PREFIX}/share/varnish
57
	${INSTALL_SCRIPT} ${WRKSRC}/lib/libvmod_std/vmod.py ${STAGEDIR}${PREFIX}/share/varnish
64
.for f in cache.h heritage.h steps.h common.h acct_fields.h locks.h body_status.h
58
.for f in cache.h heritage.h steps.h common.h acct_fields.h locks.h body_status.h
65
	@${INSTALL_DATA} ${WRKSRC}/bin/varnishd/${f} ${PREFIX}/include/varnish
59
	${INSTALL_DATA} ${WRKSRC}/bin/varnishd/${f} ${STAGEDIR}${PREFIX}/include/varnish
66
.endfor
60
.endfor
67
.for f in vct.h vmod_abi.h vre.h vrt.h vqueue.h vsb.h libvarnish.h miniobj.h vas.h vav.h http_headers.h vcl_returns.h
61
.for f in vct.h vmod_abi.h vre.h vrt.h vqueue.h vsb.h libvarnish.h miniobj.h vas.h vav.h http_headers.h vcl_returns.h
68
	@${INSTALL_DATA} ${WRKSRC}/include/${f} ${PREFIX}/include/varnish
62
	${INSTALL_DATA} ${WRKSRC}/include/${f} ${STAGEDIR}${PREFIX}/include/varnish
69
.endfor
63
.endfor
70
	@${CAT} ${PKGMESSAGE}
64
	@${CAT} ${PKGMESSAGE}
71
	@${RM} -f ${PREFIX}/lib/libvarnishapi.*a ${PREFIX}/lib/varnish/lib*a ${PREFIX}/lib/varnish/vmods/lib*a
65
	@${RM} -f ${STAGEDIR}${PREFIX}/lib/libvarnishapi.*a ${STAGEDIR}${PREFIX}/lib/varnish/lib*a ${STAGEDIR}${PREFIX}/lib/varnish/vmods/lib*a
72
66
73
.include <bsd.port.pre.mk>
67
.include <bsd.port.pre.mk>
74
68
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (varnish-3.0.4.tar.gz) = 4e044ccb5c76222bddf89c808f13ea8f66977972675aecb48a920f6800ad0f79
1
SHA256 (varnish-3.0.5.tar.gz) = 302fd6afc771524ca3912f5d945ab197a55762385c012b2054df7d86bf7ae2b7
2
SIZE (varnish-3.0.4.tar.gz) = 2081361
2
SIZE (varnish-3.0.5.tar.gz) = 2116664
(-)pkg-plist (+14 lines)
Lines 43-48 Link Here
43
lib/libvarnishapi.so.1
43
lib/libvarnishapi.so.1
44
lib/libvarnishapi.so
44
lib/libvarnishapi.so
45
libdata/pkgconfig/varnishapi.pc
45
libdata/pkgconfig/varnishapi.pc
46
man/man1/varnishadm.1.gz
47
man/man1/varnishd.1.gz
48
man/man1/varnishhist.1.gz
49
man/man1/varnishlog.1.gz
50
man/man1/varnishncsa.1.gz
51
man/man1/varnishreplay.1.gz
52
man/man1/varnishsizes.1.gz
53
man/man1/varnishstat.1.gz
54
man/man1/varnishtest.1.gz
55
man/man1/varnishtop.1.gz
56
man/man3/vmod_std.3.gz
57
man/man7/varnish-cli.7.gz
58
man/man7/varnish-counters.7.gz
59
man/man7/vcl.7.gz
46
sbin/varnishd
60
sbin/varnishd
47
share/varnish/vmod.py
61
share/varnish/vmod.py
48
@exec [ -d %D/varnish ] || mkdir %D/varnish
62
@exec [ -d %D/varnish ] || mkdir %D/varnish

Return to bug 185543