aboutsummaryrefslogtreecommitdiff
path: root/www/varnish-libvmod-geoip2/Makefile
blob: 4cced80180fc12a0a2a264343273f2202a7f9bf2 (plain) (blame)
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
PORTNAME=	libvmod-geoip2
PORTVERSION=	20230405
CATEGORIES=	www
PKGNAMEPREFIX=	varnish-

MAINTAINER=	zi@FreeBSD.org
COMMENT=	Varnish Module (vmod) to query MaxMind GeoIP2 DB files
WWW=		https://github.com/fgsch/libvmod-geoip2

LICENSE=	BSD2CLAUSE

BUILD_DEPENDS=	rst2man:textproc/py-docutils@${PY_FLAVOR}
LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb

USES=		autoreconf:build gmake libtool pkgconfig \
		python:build varnish:7
USE_GITHUB=	yes
GH_ACCOUNT=	fgsch
GH_PROJECT=	libvmod-geoip2
GH_TAGNAME=	ee5f049
USE_LDCONFIG=	${PREFIX}/lib/varnish/vmods

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static

INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	DOCS

pre-configure:
	(cd ${WRKSRC} && ${SH} ./autogen.sh)

.include <bsd.port.mk>