[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / geography / geolite2-country

File: [cvs.NetBSD.org] / pkgsrc / geography / geolite2-country / Attic / Makefile (download)

Revision 1.1, Sun Jul 24 02:07:49 2016 UTC (3 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3

Add the geolite2 city and country IPv4 databases from 20160705

	GeoLite2 databases are free IP geolocation databases comparable to,
	but less accurate than, MaxMind's GeoIP2 databases.  GeoLite2
	databases are updated on the first Tuesday of each month.

	IP geolocation is inherently imprecise.  Locations are often near the
	center of the population.  Any location provided by a GeoIP database
	should not be used to identify a particular address or household.

	Use the Accuracy Radius as an indication of geolocation accuracy for
	the latitude and longitude coordinates we return for an IP address.
	The actual location of the IP address is likely within the area
	defined by this radius and the latitude and longitude coordinates.

These are presented as straight CSV files, and can be manipulated with standard

# $NetBSD: Makefile,v 1.1 2016/07/24 02:07:49 agc Exp $

DISTNAME=	GeoLite2-Country-CSV
CATEGORIES=	geography
MASTER_SITES=	http://geolite.maxmind.com/download/geoip/database/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://dev.maxmind.com/geoip/geoip2/geolite2/
COMMENT=	Free IP country geolocation databases
LICENSE=	cc-by-sa-v4.0

WRKSRC=		${WRKDIR}/GeoLite2-Country-CSV_20160705



	mkdir -p ${DESTDIR}${PREFIX}/share/GeoLite2-Country-CSV
	(cd ${WRKSRC} && ${INSTALL_DATA} *.csv *.txt ${DESTDIR}${PREFIX}/share/GeoLite2-Country-CSV/)

.include "../../mk/bsd.pkg.mk"