freebsd-ports/www/varnish/Makefile
2010-11-08 12:06:02 +00:00

48 lines
1 KiB
Makefile

# New ports collection makefile for: varnish
# Date created: 2006-08-11
# Whom: des
#
# $FreeBSD$
#
PORTNAME= varnish
PORTVERSION= 2.1.4
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.varnish-software.com/sites/default/files/
MAINTAINER= des@FreeBSD.org
COMMENT= The Varnish high-performance HTTP accelerator
LICENSE= BSD
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --localstatedir=${PREFIX}
CONFIGURE_ENV= RST2MAN=true
USE_LDCONFIG= yes
USE_GNOME= pkgconfig
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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 601000
BROKEN= does not compile
.endif
post-patch:
@${REINPLACE_CMD} -e 's|\$$(libdir)/pkgconfig|\$$(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>