freebsd-ports/www/varnish-libvmod-maxminddb/Makefile
Allan Jude b9b8aeb366 Restore www/varnish-libvmod-maxminddb
It was previously removed because of python2.7

This updates to a newer version, using python3.7 to build for varnish6

Approved by:	jrm
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D24643
2020-05-01 16:47:30 +00:00

30 lines
656 B
Makefile

# $FreeBSD$
PORTNAME= libvmod-maxminddb
DISTVERSION= 1.0.1
CATEGORIES= www
PKGNAMEPREFIX= varnish-
MAINTAINER= allanjude@FreeBSD.org
COMMENT= Varnish Module (vmod) for accessing maxminddb geoip data
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb
USES= autoreconf compiler:c11 gmake libtool pkgconfig \
python:3.7+,build varnish:6
USE_GITHUB= yes
GH_ACCOUNT= scaleengine
GH_PROJECT= libvmod_maxminddb
USE_LDCONFIG= ${PREFIX}/lib/varnach/vmods
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>