blob: bd37cce7c0bf4acf647782f84350073ea9e49cbf (
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
34
35
36
37
|
PORTNAME= ip2proxy
PORTVERSION= 1.2.0
PORTREVISION= 2
CATEGORIES= www
PKGNAMEPREFIX= varnish-
MAINTAINER= zi@FreeBSD.org
COMMENT= Varnish Module (vmod) for ip2proxy
WWW= https://github.com/ip2location/IP2Proxy-Varnish
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libIP2Proxy.so:net/ip2proxy
BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR}
USES= autoreconf:build libtool pkgconfig python:build varnish:7
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
INSTALL_TARGET= install-strip
DOCSDIR= ${PREFIX}/share/doc/vmod-dynamic
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -I${WRKSRC}/src
USE_GITHUB= yes
GH_ACCOUNT= ip2location
GH_PROJECT= ${PORTNAME}-varnish
OPTIONS_DEFINE= DOCS
pre-configure:
(cd ${WRKSRC} && ${SH} ./autogen.sh)
.include <bsd.port.mk>
|