Thu Jul 9 10:48:58 2020 UTC ()
geography: Add lua-mmdb

A Lua library for reading MaxMind's Geolocation database format.


(nia)
diff -r1.79 -r1.80 pkgsrc/geography/Makefile
diff -r0 -r1.1 pkgsrc/geography/lua-mmdb/DESCR
diff -r0 -r1.1 pkgsrc/geography/lua-mmdb/Makefile
diff -r0 -r1.1 pkgsrc/geography/lua-mmdb/PLIST
diff -r0 -r1.1 pkgsrc/geography/lua-mmdb/distinfo

cvs diff -r1.79 -r1.80 pkgsrc/geography/Makefile (expand / switch to unified diff)

--- pkgsrc/geography/Makefile 2020/03/21 18:59:56 1.79
+++ pkgsrc/geography/Makefile 2020/07/09 10:48:58 1.80
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.79 2020/03/21 18:59:56 adam Exp $ 1# $NetBSD: Makefile,v 1.80 2020/07/09 10:48:58 nia Exp $
2# 2#
3 3
4COMMENT= Software for geographical-related uses 4COMMENT= Software for geographical-related uses
5 5
6SUBDIR+= R-countrycode 6SUBDIR+= R-countrycode
7SUBDIR+= R-maptools 7SUBDIR+= R-maptools
8SUBDIR+= cm2gpx 8SUBDIR+= cm2gpx
9SUBDIR+= cmconvert 9SUBDIR+= cmconvert
10SUBDIR+= epsg 10SUBDIR+= epsg
11SUBDIR+= epsg-docs 11SUBDIR+= epsg-docs
12SUBDIR+= gama 12SUBDIR+= gama
13SUBDIR+= garmin-utils 13SUBDIR+= garmin-utils
14SUBDIR+= garmintools 14SUBDIR+= garmintools
@@ -19,26 +19,27 @@ SUBDIR+= gipfel @@ -19,26 +19,27 @@ SUBDIR+= gipfel
19SUBDIR+= gpsbabel 19SUBDIR+= gpsbabel
20SUBDIR+= gpsd 20SUBDIR+= gpsd
21SUBDIR+= gpspoint 21SUBDIR+= gpspoint
22SUBDIR+= gpsutils 22SUBDIR+= gpsutils
23SUBDIR+= gpxsee 23SUBDIR+= gpxsee
24SUBDIR+= kplex 24SUBDIR+= kplex
25SUBDIR+= libchamplain012 25SUBDIR+= libchamplain012
26SUBDIR+= libdrg 26SUBDIR+= libdrg
27SUBDIR+= libgeotiff 27SUBDIR+= libgeotiff
28SUBDIR+= libmaxminddb 28SUBDIR+= libmaxminddb
29SUBDIR+= libmemphis02 29SUBDIR+= libmemphis02
30SUBDIR+= libnova 30SUBDIR+= libnova
31SUBDIR+= libspatialite 31SUBDIR+= libspatialite
 32SUBDIR+= lua-mmdb
32SUBDIR+= mapcode 33SUBDIR+= mapcode
33SUBDIR+= mapserver 34SUBDIR+= mapserver
34SUBDIR+= merkaartor 35SUBDIR+= merkaartor
35SUBDIR+= opencpn 36SUBDIR+= opencpn
36SUBDIR+= opencpn-plugin-debugger 37SUBDIR+= opencpn-plugin-debugger
37SUBDIR+= opencpn-plugin-draw 38SUBDIR+= opencpn-plugin-draw
38SUBDIR+= opencpn-plugin-gshhs 39SUBDIR+= opencpn-plugin-gshhs
39SUBDIR+= opencpn-plugin-statusbar 40SUBDIR+= opencpn-plugin-statusbar
40SUBDIR+= opencpn-plugin-watchdog 41SUBDIR+= opencpn-plugin-watchdog
41SUBDIR+= opencpn-plugin-weather_routing 42SUBDIR+= opencpn-plugin-weather_routing
42SUBDIR+= osm-gps-map 43SUBDIR+= osm-gps-map
43SUBDIR+= osm2pgsql 44SUBDIR+= osm2pgsql
44SUBDIR+= p5-Geo-Coordinates-UTM 45SUBDIR+= p5-Geo-Coordinates-UTM

File Added: pkgsrc/geography/lua-mmdb/DESCR
A Lua library for reading MaxMind's Geolocation database format.

File Added: pkgsrc/geography/lua-mmdb/Makefile
# $NetBSD: Makefile,v 1.1 2020/07/09 10:48:58 nia Exp $

DISTNAME=	mmdblua-0.2
PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/lua-/-/1}
CATEGORIES=	geography lua
MASTER_SITES=	${MASTER_SITE_GITHUB:=daurnimator/}
GITHUB_PROJECT=	mmdblua
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/daurnimator/mmdblua
COMMENT=	MaxMind Geolocation database format parser for Lua
LICENSE=	mit

NO_BUILD=	yes
USE_LANGUAGES=	# none

INSTALLATION_DIRS+=	share/doc/${PKGNAME_NOREV}
INSTALLATION_DIRS+=	${LUA_LDIR}/mmdb

do-install:
	${INSTALL_DATA} ${WRKSRC}/example.lua \
		${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}/example.lua
	${INSTALL_DATA} ${WRKSRC}/mmdb/*.lua \
		${DESTDIR}${PREFIX}/${LUA_LDIR}/mmdb

.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/geography/lua-mmdb/PLIST
@comment $NetBSD: PLIST,v 1.1 2020/07/09 10:48:58 nia Exp $
share/doc/${PKGNAME}/example.lua
${LUA_LDIR}/mmdb/init.lua

File Added: pkgsrc/geography/lua-mmdb/distinfo
$NetBSD: distinfo,v 1.1 2020/07/09 10:48:58 nia Exp $

SHA1 (mmdblua-0.2.tar.gz) = a6ac7f68a3ae9ff31ae5b4613bf702fbfa0481e4
RMD160 (mmdblua-0.2.tar.gz) = 68e9f7b91272275bdd54d22350f0e06c7d53209d
SHA512 (mmdblua-0.2.tar.gz) = f45dbff51fbf04f11d4cc7592aae4cc72c38a421476cb2c37829fd2c59953148f012ad977251b8c5f9a358d7dc7acbf2abd3bf9f11b0d018d1297831a0bd80e1
Size (mmdblua-0.2.tar.gz) = 6430 bytes