From af01b29633b752de33d4e3ac5e93df77a0de4d0f Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Thu, 21 May 2015 21:25:44 +0000 Subject: - Add lua-json 1.3.3 LuaJSON is a JSON parser/creator for Lua. WWW: http://www.eharning.us/wiki/luajson/ --- converters/Makefile | 1 + converters/lua-json/Makefile | 21 +++++++++++++++++++++ converters/lua-json/distinfo | 2 ++ converters/lua-json/pkg-descr | 3 +++ converters/lua-json/pkg-plist | 18 ++++++++++++++++++ 5 files changed, 45 insertions(+) create mode 100644 converters/lua-json/Makefile create mode 100644 converters/lua-json/distinfo create mode 100644 converters/lua-json/pkg-descr create mode 100644 converters/lua-json/pkg-plist (limited to 'converters') diff --git a/converters/Makefile b/converters/Makefile index e5a4cd95abc9..51fe59760a46 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -44,6 +44,7 @@ SUBDIR += libticonv SUBDIR += libutf-8 SUBDIR += lua-iconv + SUBDIR += lua-json SUBDIR += mimelib SUBDIR += mmencode SUBDIR += mpack diff --git a/converters/lua-json/Makefile b/converters/lua-json/Makefile new file mode 100644 index 000000000000..3591870fc955 --- /dev/null +++ b/converters/lua-json/Makefile @@ -0,0 +1,21 @@ +# Created by: Sunpoet Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= json +PORTVERSION= 1.3.3 +CATEGORIES= converters +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= JSON parser/creator for Lua + +RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}lpeg>=0.8.1:${PORTSDIR}/devel/lua-lpeg + +MAKE_ARGS= INSTALL_CMOD=${LUA_MODLIBDIR} INSTALL_LMOD=${LUA_MODSHAREDIR} +USES= lua:run + +GH_ACCOUNT= harningt +GH_PROJECT= lua${PORTNAME} +USE_GITHUB= yes + +.include diff --git a/converters/lua-json/distinfo b/converters/lua-json/distinfo new file mode 100644 index 000000000000..20833f3c71a4 --- /dev/null +++ b/converters/lua-json/distinfo @@ -0,0 +1,2 @@ +SHA256 (harningt-luajson-1.3.3_GH0.tar.gz) = 6a986efa210a912a04c8e6cae8f3b5e72172c02f974152e14818af6598a5e2db +SIZE (harningt-luajson-1.3.3_GH0.tar.gz) = 42653 diff --git a/converters/lua-json/pkg-descr b/converters/lua-json/pkg-descr new file mode 100644 index 000000000000..f517b757de9d --- /dev/null +++ b/converters/lua-json/pkg-descr @@ -0,0 +1,3 @@ +LuaJSON is a JSON parser/creator for Lua. + +WWW: http://www.eharning.us/wiki/luajson/ diff --git a/converters/lua-json/pkg-plist b/converters/lua-json/pkg-plist new file mode 100644 index 000000000000..dfe33a1ed6ce --- /dev/null +++ b/converters/lua-json/pkg-plist @@ -0,0 +1,18 @@ +%%LUA_MODSHAREDIR%%/json.lua +%%LUA_MODSHAREDIR%%/json/decode.lua +%%LUA_MODSHAREDIR%%/json/decode/composite.lua +%%LUA_MODSHAREDIR%%/json/decode/number.lua +%%LUA_MODSHAREDIR%%/json/decode/others.lua +%%LUA_MODSHAREDIR%%/json/decode/state.lua +%%LUA_MODSHAREDIR%%/json/decode/strings.lua +%%LUA_MODSHAREDIR%%/json/decode/util.lua +%%LUA_MODSHAREDIR%%/json/encode.lua +%%LUA_MODSHAREDIR%%/json/encode/array.lua +%%LUA_MODSHAREDIR%%/json/encode/calls.lua +%%LUA_MODSHAREDIR%%/json/encode/number.lua +%%LUA_MODSHAREDIR%%/json/encode/object.lua +%%LUA_MODSHAREDIR%%/json/encode/others.lua +%%LUA_MODSHAREDIR%%/json/encode/output.lua +%%LUA_MODSHAREDIR%%/json/encode/output_utility.lua +%%LUA_MODSHAREDIR%%/json/encode/strings.lua +%%LUA_MODSHAREDIR%%/json/util.lua -- cgit v1.2.3