jasper f2e0065dcc - update to varnish 3.0.4
- add rc script

rc script ok aja@
maintainer timed-out
2013-09-23 08:23:15 +00:00

41 lines
942 B
Makefile

# $OpenBSD: Makefile,v 1.15 2013/09/23 08:23:15 jasper Exp $
SHARED_ONLY = Yes
COMMENT = high-performance HTTP accelerator
DISTNAME = varnish-3.0.4
CATEGORIES = www
SHARED_LIBS = varnishapi 1.0
MAINTAINER = Jim Razmus II <jim@openbsd.org>
HOMEPAGE = http://www.varnish-cache.org/
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c curses m pcre pthread readline termcap
BUILD_DEPENDS = textproc/py-docutils
LIB_DEPENDS = devel/pcre
MASTER_SITES = http://repo.varnish-cache.org/source/
USE_GROFF = Yes
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.69
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
@find ${PREFIX}/lib/varnish -name '*.a' -print | xargs rm
@find ${PREFIX}/lib/varnish -name '*.la' -print | xargs rm
.include <bsd.port.mk>