37 lines
905 B
Makefile
37 lines
905 B
Makefile
# $OpenBSD: Makefile,v 1.23 2016/03/16 21:19:39 naddy Exp $
|
|
|
|
BROKEN-hppa = execinfo.c:144: warning: unsupported argument to '__builtin_return_address' + Werror
|
|
COMMENT = high-performance HTTP accelerator
|
|
|
|
DISTNAME = varnish-4.1.2
|
|
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 m ncursesw 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
|
|
cp ${WRKDIST}${SYSCONFDIR}/{example,builtin}.vcl \
|
|
${PREFIX}/share/examples/varnish
|
|
rm -f ${PREFIX}/lib/varnish/{vmods,}/*.{a,la}
|
|
|
|
.include <bsd.port.mk>
|