freebsd-ports/databases/lua-resty-redis/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

29 lines
595 B
Makefile

PORTNAME= lua-resty-redis
DISTVERSIONPREFIX= v
DISTVERSION= 0.29
PORTREVISION= 0
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>