pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  9 10:48:58 UTC 2020

Modified Files:
        pkgsrc/geography: Makefile
Added Files:
        pkgsrc/geography/lua-mmdb: DESCR Makefile PLIST distinfo

Log Message:
geography: Add lua-mmdb

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


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/geography/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/lua-mmdb/DESCR \
    pkgsrc/geography/lua-mmdb/Makefile pkgsrc/geography/lua-mmdb/PLIST \
    pkgsrc/geography/lua-mmdb/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/Makefile
diff -u pkgsrc/geography/Makefile:1.79 pkgsrc/geography/Makefile:1.80
--- pkgsrc/geography/Makefile:1.79      Sat Mar 21 18:59:56 2020
+++ pkgsrc/geography/Makefile   Thu Jul  9 10:48:58 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2020/03/21 18:59:56 adam Exp $
+# $NetBSD: Makefile,v 1.80 2020/07/09 10:48:58 nia Exp $
 #
 
 COMMENT=       Software for geographical-related uses
@@ -29,6 +29,7 @@ SUBDIR+=      libmaxminddb
 SUBDIR+=       libmemphis02
 SUBDIR+=       libnova
 SUBDIR+=       libspatialite
+SUBDIR+=       lua-mmdb
 SUBDIR+=       mapcode
 SUBDIR+=       mapserver
 SUBDIR+=       merkaartor

Added files:

Index: pkgsrc/geography/lua-mmdb/DESCR
diff -u /dev/null pkgsrc/geography/lua-mmdb/DESCR:1.1
--- /dev/null   Thu Jul  9 10:48:58 2020
+++ pkgsrc/geography/lua-mmdb/DESCR     Thu Jul  9 10:48:58 2020
@@ -0,0 +1 @@
+A Lua library for reading MaxMind's Geolocation database format.
Index: pkgsrc/geography/lua-mmdb/Makefile
diff -u /dev/null pkgsrc/geography/lua-mmdb/Makefile:1.1
--- /dev/null   Thu Jul  9 10:48:58 2020
+++ pkgsrc/geography/lua-mmdb/Makefile  Thu Jul  9 10:48:58 2020
@@ -0,0 +1,28 @@
+# $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@localhost
+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"
Index: pkgsrc/geography/lua-mmdb/PLIST
diff -u /dev/null pkgsrc/geography/lua-mmdb/PLIST:1.1
--- /dev/null   Thu Jul  9 10:48:58 2020
+++ pkgsrc/geography/lua-mmdb/PLIST     Thu Jul  9 10:48:58 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/09 10:48:58 nia Exp $
+share/doc/${PKGNAME}/example.lua
+${LUA_LDIR}/mmdb/init.lua
Index: pkgsrc/geography/lua-mmdb/distinfo
diff -u /dev/null pkgsrc/geography/lua-mmdb/distinfo:1.1
--- /dev/null   Thu Jul  9 10:48:58 2020
+++ pkgsrc/geography/lua-mmdb/distinfo  Thu Jul  9 10:48:58 2020
@@ -0,0 +1,6 @@
+$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



Home | Main Index | Thread Index | Old Index