freebsd-ports/www/varnish-libvmod-querystring/Makefile
Danilo G. Baio 387a9946b0 www/varnish-*: Bump PORTREVISION to chase www/varnish7 update
Necessary to avoid ABI mismatch.
2023-12-02 15:42:35 -03:00

39 lines
883 B
Makefile

PORTNAME= libvmod-querystring
DISTVERSION= v2.0.3
PORTREVISION= 2
CATEGORIES= www
PKGNAMEPREFIX= varnish-
MAINTAINER= zi@FreeBSD.org
COMMENT= Varnish Module (vmod) for query string manipulation
WWW= https://github.com/Dridi/libvmod-querystring
LICENSE= GPLv1
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
USES= autoreconf libtool pkgconfig python:build varnish:7
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
INSTALL_TARGET= install-strip
DOCSDIR= ${PREFIX}/share/doc/vmod-querystring
CFLAGS+= -I${WRKSRC}/src
USE_GITHUB= yes
GH_ACCOUNT= Dridi
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} 's|$${VARNISHAPI_DATAROOTDIR}|${LOCALBASE}/share|' \
${WRKSRC}/Makefile.am
post-build:
(cd ${WRKSRC}/src && ${LOCALBASE}/bin/rst2man \
vmod_querystring.man.rst vmod_querystring.3)
.include <bsd.port.mk>