svn commit: r541180 - head/databases/lua-resty-redis
Li-Wen Hsu
lwhsu at FreeBSD.org
Sat Jul 4 09:13:54 UTC 2020
Author: lwhsu
Date: Sat Jul 4 09:13:54 2020
New Revision: 541180
URL: https://svnweb.freebsd.org/changeset/ports/541180
Log:
databases/lua-resty-redis: change dependency to luajit-openresty
It does not use the lua interpreter directly.
PR: 240611
Submitted by: mm
Approved by: Volodymyr Kostyrko <arcade at b1t.name> (maintainer)
Modified:
head/databases/lua-resty-redis/Makefile
Modified: head/databases/lua-resty-redis/Makefile
==============================================================================
--- head/databases/lua-resty-redis/Makefile Sat Jul 4 09:00:50 2020 (r541179)
+++ head/databases/lua-resty-redis/Makefile Sat Jul 4 09:13:54 2020 (r541180)
@@ -3,6 +3,7 @@
PORTNAME= lua-resty-redis
DISTVERSIONPREFIX= v
DISTVERSION= 0.27
+PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= arcade at b1t.name
@@ -10,8 +11,20 @@ COMMENT= Redis client driver for the ngx_lua nginx mod
LICENSE= BSD2CLAUSE
-USES= lua:51
+RUN_DEPENDS= luajit-openresty>=2.1:lang/luajit-openresty
+
USE_GITHUB= yes
GH_ACCOUNT= openresty
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+LUA_MODSHAREDIR= ${LOCALBASE}/share/lua/5.1
+
+PLIST_SUB= LUA_MODSHAREDIR=${LUA_MODSHAREDIR}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
+ @(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${LUA_MODSHAREDIR} "-name *\.lua")
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list