38 lines
823 B
Makefile
38 lines
823 B
Makefile
# $OpenBSD: Makefile,v 1.16 2014/01/04 16:52:09 fgsch Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = high-performance HTTP accelerator
|
|
|
|
DISTNAME = varnish-3.0.5
|
|
CATEGORIES = www
|
|
|
|
SHARED_LIBS = varnishapi 1.0
|
|
|
|
HOMEPAGE = http://www.varnish-cache.org/
|
|
|
|
MAINTAINER = Jim Razmus II <jim@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c curses m pcre pthread readline termcap
|
|
|
|
MASTER_SITES = http://repo.varnish-cache.org/source/
|
|
|
|
BUILD_DEPENDS = textproc/py-docutils
|
|
LIB_DEPENDS = devel/pcre
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
TEST_TARGET = check
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/varnish
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/varnish
|
|
mv ${WRKINST}${SYSCONFDIR}/varnish/default.vcl \
|
|
${PREFIX}/share/examples/varnish
|
|
rm -f ${PREFIX}/lib/varnish/{vmods,}/*.{a,la}
|
|
|
|
.include <bsd.port.mk>
|