1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/www/varnish/Makefile

43 lines
1004 B
Makefile
Raw Normal View History

# New ports collection makefile for: varnish
# Date created: 2006-08-11
# Whom: des
#
# $FreeBSD$
#
PORTNAME= varnish
2007-12-20 14:09:53 +00:00
PORTVERSION= 1.1.2
CATEGORIES= www
2007-08-20 21:55:55 +00:00
MASTER_SITES= SF
MAINTAINER= des@FreeBSD.org
COMMENT= The Varnish high-performance HTTP accelerator
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=${PREFIX}
USE_LDCONFIG= yes
MAN1= varnishadm.1 varnishd.1 varnishhist.1 varnishlog.1 \
varnishncsa.1 varnishreplay.1 varnishstat.1 varnishtop.1
2006-11-15 03:11:56 +00:00
MAN7= vcl.7
USE_REINPLACE= YES
2007-12-20 14:09:53 +00:00
USE_RC_SUBR= varnishd varnishlog varnishncsa
.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
2007-05-25 07:56:10 +00:00
post-install:
${MKDIR} ${PREFIX}/etc/varnish
@[ -f ${PREFIX}/etc/varnish/default.vcl ] || \
${INSTALL_DATA} ${WRKSRC}/etc/default.vcl ${PREFIX}/etc/varnish/
.include <bsd.port.post.mk>