diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-05-22 05:25:44 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-05-22 05:25:44 +0800 |
commit | 050c0783fc7509ec2b764ccdba9301080cc0c797 (patch) | |
tree | e064d32aae1860df4e586dfd04c006e468f444cb /converters | |
parent | 420d16c158a670ba24fd3638af415b29c0cd365a (diff) | |
download | freebsd-ports-gnome-050c0783fc7509ec2b764ccdba9301080cc0c797.tar.gz freebsd-ports-gnome-050c0783fc7509ec2b764ccdba9301080cc0c797.tar.zst freebsd-ports-gnome-050c0783fc7509ec2b764ccdba9301080cc0c797.zip |
- Add lua-json 1.3.3
LuaJSON is a JSON parser/creator for Lua.
WWW: http://www.eharning.us/wiki/luajson/
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/lua-json/Makefile | 21 | ||||
-rw-r--r-- | converters/lua-json/distinfo | 2 | ||||
-rw-r--r-- | converters/lua-json/pkg-descr | 3 | ||||
-rw-r--r-- | converters/lua-json/pkg-plist | 18 |
5 files changed, 45 insertions, 0 deletions
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 <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> 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 |