aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lua-cjson
diff options
context:
space:
mode:
authormmokhi <mmokhi@FreeBSD.org>2017-03-03 00:00:21 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2017-04-09 19:56:51 +0800
commita196fff1da5ecebd5b1c8bfb83e08f35edf86910 (patch)
tree4fb59566b62423bd422aba158e53225113c475e3 /devel/lua-cjson
parent022f662e6d3a80eb6b0ea1e70596fa9a79e11008 (diff)
downloadfreebsd-ports-gnome-a196fff1da5ecebd5b1c8bfb83e08f35edf86910.tar.gz
freebsd-ports-gnome-a196fff1da5ecebd5b1c8bfb83e08f35edf86910.tar.zst
freebsd-ports-gnome-a196fff1da5ecebd5b1c8bfb83e08f35edf86910.zip
devel/lua-cjson: set USES to default lua version (5.2).
Also clone a slave port as lua51-cjson. Reviewed by: feld, mat Approved by: feld, mat (mentors) Differential Revision: https://reviews.freebsd.org/D9810
Diffstat (limited to 'devel/lua-cjson')
-rw-r--r--devel/lua-cjson/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/lua-cjson/Makefile b/devel/lua-cjson/Makefile
index ba01b0b9aa6d..5dc8451430a7 100644
--- a/devel/lua-cjson/Makefile
+++ b/devel/lua-cjson/Makefile
@@ -9,13 +9,13 @@ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
DISTNAME= lua-cjson-${PORTVERSION}
MAINTAINER= osa@FreeBSD.org
-COMMENT= Fast JSON parsing and encoding support for Lua
+COMMENT?= Fast JSON parsing and encoding support for Lua
-USES= lua:51
+USES?= lua
MAKE_ARGS= LUA_VERSION=${LUA_VER}
-PLIST_FILES= %%LUA_MODLIBDIR%%/cjson.so
+PLIST_FILES= ${LUA_MODLIBDIR}/cjson.so
post-patch:
@${REINPLACE_CMD} '16,18d; \