blob: 3678768a93fac2641fae4ecb4db703d6381fa609 (
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
|
# $NetBSD: Makefile,v 1.1 2016/07/24 02:07:49 agc Exp $
DISTNAME= GeoLite2-Country-CSV
PKGNAME= ${DISTNAME}-20160705
CATEGORIES= geography
MASTER_SITES= http://geolite.maxmind.com/download/geoip/database/
EXTRACT_SUFX= .zip
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
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/GeoLite2-Country-CSV_20160705
AUTO_MKDIRS= yes
do-build:
${DO_NADA}
do-install:
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"
|