freebsd-ports/www/varnish-libvmod-redis/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

40 lines
906 B
Makefile

PORTNAME= libvmod-redis
PORTVERSION= 20230915
PORTREVISION= 1
CATEGORIES= www
PKGNAMEPREFIX= varnish-
MAINTAINER= zi@FreeBSD.org
COMMENT= Varnish Module (vmod) for redis
WWW= https://github.com/carlosabalde/libvmod-redis
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libev.so:devel/libev \
libhiredis.so:databases/hiredis
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
USES= autoreconf compiler:c11 gmake libtool pkgconfig \
python:build varnish:7
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --disable-tls
INSTALL_TARGET= install-strip
DOCSDIR= ${PREFIX}/share/doc/vmod-redis
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -I${WRKSRC}/src
USE_GITHUB= yes
GH_ACCOUNT= carlosabalde
GH_TAGNAME= 53d35ad
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} 's|$${VARNISHAPI_DATAROOTDIR}|${LOCALBASE}/share|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>