freebsd-ports/databases/lua-resty-redis/Makefile
Li-Wen Hsu e57b03e3a4 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@b1t.name> (maintainer)
2020-07-04 09:13:54 +00:00

30 lines
608 B
Makefile

# $FreeBSD$
PORTNAME= lua-resty-redis
DISTVERSIONPREFIX= v
DISTVERSION= 0.27
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= arcade@b1t.name
COMMENT= Redis client driver for the ngx_lua nginx module
LICENSE= BSD2CLAUSE
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>