openbsd-ports/www/varnish/Makefile
jasper e8bfdacb9c - update to 3.0.2
from Gonzalo L. R.
maintainer timed-out
2011-12-23 13:06:30 +00:00

43 lines
1006 B
Makefile

# $OpenBSD: Makefile,v 1.9 2011/12/23 13:06:30 jasper Exp $
SHARED_ONLY = Yes
COMMENT = high-performance HTTP accelerator
DISTNAME = varnish-3.0.2
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
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c curses edit m pcre pthread
LIB_DEPENDS = devel/pcre
MASTER_SITES = http://repo.varnish-cache.org/source/
USE_LIBTOOL = Yes
USE_GROFF = Yes
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.68
CONFIGURE_ARGS = --localstatedir=/var
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>