blob: 28d04abbe68c393271e939c20e932f687606cd18 (
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
|
# Created by: adamw
# $FreeBSD$
PORTNAME= geoipupdate
PORTVERSION= 2.4.0
DISTVERSIONPREFIX= v
CATEGORIES= net geography
MAINTAINER= adamw@FreeBSD.org
COMMENT= Fetch the latest copies of the paid GeoIP database
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:ftp/curl
USE_GITHUB= yes
GH_ACCOUNT= maxmind
USES= libtool localbase pathfix autoreconf
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
post-patch:
# This directory is handled by net/GeoIP
@${REINPLACE_CMD} -e '/MKDIR_P.*(datarootdir)\/GeoIP/ d' \
${WRKSRC}/Makefile.am
post-install:
${MV} ${STAGEDIR}${DOCSDIR}/GeoIP.conf.default \
${STAGEDIR}${PREFIX}/etc/GeoIP.conf.sample
.include <bsd.port.mk>
|