summaryrefslogtreecommitdiff
path: root/www/varnish-libvmod-maxminddb/Makefile
blob: ecb28a21ae7cb166feaafb73cd3aae21fc869a16 (plain)
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
# $FreeBSD$

PORTNAME=	libvmod-maxminddb
DISTVERSION=	1.0.0
PORTREVISION=	1
CATEGORIES=	www
PKGNAMEPREFIX=	varnish-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Varnish Module (vmod) for accessing maxminddb geoip data

LICENSE=	BSD2CLAUSE

BUILD_DEPENDS=	rst2man:textproc/py-docutils

LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb

USES=		autoreconf compiler:c11 gmake libtool pkgconfig \
		python:2.7,build varnish
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static
INSTALL_TARGET=	install-strip

USE_GITHUB=	yes
GH_ACCOUNT=	simonvik
GH_PROJECT=	libvmod_maxminddb
GH_TAGNAME=	4ae6a7f

MAKE_JOBS_UNSAFE=	yes

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>