ports/www/varnish-libvmod-redis/Makefile
Danilo G. Baio 555fe9f024 www/varnish-libvmod-redis: Update to 20250104
Add Varnish 7.6.X support

Approved by:	zi (maintainer)
2025-01-06 21:26:45 -03:00

40 lines
930 B
Makefile

PORTNAME= libvmod-redis
PORTVERSION= 20250104
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
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
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= ecc9529
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} 's|$${VARNISHAPI_DATAROOTDIR}|${LOCALBASE}/share|' \
${WRKSRC}/Makefile.am
.include <bsd.port.mk>