2016-09-01 14:42:19 +02:00
|
|
|
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-09-01 16:27:11 +02:00
|
|
|
PORTNAME= varnish-modules
|
2017-05-31 22:26:58 +02:00
|
|
|
DISTVERSION= 0.12.1
|
|
|
|
PORTREVISION= 0
|
2016-09-01 14:42:19 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
MAINTAINER= feld@FreeBSD.org
|
|
|
|
COMMENT= Collection of Varnish Cache modules by Varnish Software
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
2016-10-26 16:15:38 +02:00
|
|
|
BUILD_DEPENDS= rst2man:textproc/py-docutils
|
2016-09-01 14:42:19 +02:00
|
|
|
|
2018-02-19 12:10:43 +01:00
|
|
|
USES= autoreconf:build gmake libtool pkgconfig python:2.7,build varnish
|
2016-09-01 14:42:19 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --disable-static
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= varnish
|
|
|
|
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2017-03-23 17:45:13 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2016-09-01 14:42:19 +02:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && ./bootstrap
|
|
|
|
|
2017-03-23 17:45:13 +01:00
|
|
|
post-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not -regex .*.man.rst'
|
|
|
|
|
2016-09-01 14:42:19 +02:00
|
|
|
.include <bsd.port.mk>
|