-
Notifications
You must be signed in to change notification settings - Fork 725
/
Makefile
39 lines (26 loc) · 828 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Mark Felder <feld@FreeBSD.org>
PORTNAME= varnish-modules
PORTVERSION= 0.18.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-build-DOCS-on:
cd ${WRKSRC} && ${MAKE_CMD} rst-docs
post-install-DOCS-on:
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} '-not -regex .*.man.rst'
.include <bsd.port.mk>