mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
0c115b3e96
PR: 251186 Submitted by: Dani <i.dani@outlook.com>
39 lines
814 B
Makefile
39 lines
814 B
Makefile
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= varnish-modules
|
|
PORTVERSION= 0.17.0
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= zi@FreeBSD.org
|
|
COMMENT= Collection of Varnish Cache modules by Varnish Software
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
BUILD_DEPENDS= rst2man:textproc/py-docutils
|
|
|
|
USES= autoreconf:build gmake libtool pkgconfig python:build varnish:6
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-static
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= varnish
|
|
GH_PROJECT= varnish-modules
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
PORTDOCS= *
|
|
|
|
CFLAGS+= -Wno-error=deprecated-declarations
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ./bootstrap
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not -regex .*.man.rst'
|
|
|
|
.include <bsd.port.mk>
|