Files
ports/www/lua-resty-lrucache/Makefile
T
Jochen Neumeister d90d00ff11 Update lua-resty-core to 0.1.19 and lua-resty-lrucache to 0.10 and its third-party module for nginx
PR:		248051 248045
Sponsored by:	Netzkommune GmbH
2020-07-18 18:27:18 +00:00

31 lines
640 B
Makefile

# $FreeBSD$
PORTNAME= lua-resty-lrucache
PORTVERSION= 0.10
DISTVERSIONPREFIX=v
CATEGORIES= www
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= Lua-land LRU cache based on the LuaJIT FFI
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_FILES+= ${LUA_MODSHAREDIR}/resty/lrucache.lua \
${LUA_MODSHAREDIR}/resty/lrucache/pureffi.lua
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
@(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${LUA_MODSHAREDIR} "-name *\.lua")
.include <bsd.port.mk>