aboutsummaryrefslogtreecommitdiffstats
path: root/www/varnish2/Makefile
blob: 599dfb31a1b794daf59ad1f2c9d07393b3f2fab9 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   varnish
PORTVERSION=    2.1.5
PORTREVISION=   2
CATEGORIES= www
MASTER_SITES=   http://repo.varnish-cache.org/source/

MAINTAINER= anders@FreeBSD.org
COMMENT=    The Varnish high-performance HTTP accelerator

DEPRECATED= No update since january 2011. Upgrade to Varnish 3.
EXPIRATION_DATE=    2013-10-01

LICENSE=    BSD

LIB_DEPENDS=    pcre.3:${PORTSDIR}/devel/pcre

LATEST_LINK=    varnish2
CONFLICTS=  varnish-3.*

GNU_CONFIGURE=  yes
USES=       gmake pkgconfig
CONFIGURE_ARGS= --localstatedir=${PREFIX}
CONFIGURE_ENV=  RST2MAN=true
USE_LDCONFIG=   yes

MAN1=       varnishadm.1 varnishd.1 varnishhist.1 varnishlog.1 \
        varnishncsa.1 varnishreplay.1 varnishsizes.1 \
        varnishstat.1 varnishtest.1 varnishtop.1
MAN7=       vcl.7
USE_RC_SUBR=    varnishd varnishlog varnishncsa
SUB_FILES=  pkg-message

post-patch:
    @${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
        ${WRKSRC}/Makefile.in

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>