svn commit: r512134 - in head/www: . lua-resty-lrucache
Martin Matuska
mm at FreeBSD.org
Sun Sep 15 23:12:14 UTC 2019
Author: mm
Date: Sun Sep 15 23:12:13 2019
New Revision: 512134
URL: https://svnweb.freebsd.org/changeset/ports/512134
Log:
Lua-land LRU cache based on the LuaJIT FFI
WWW: https://github.com/openresty/lua-resty-lrucache
PR: 240160
Submitted by: Dmitry Wagin <dmitry.wagin at ya.ru>
Added:
head/www/lua-resty-lrucache/
head/www/lua-resty-lrucache/Makefile (contents, props changed)
head/www/lua-resty-lrucache/distinfo (contents, props changed)
head/www/lua-resty-lrucache/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sun Sep 15 23:09:47 2019 (r512133)
+++ head/www/Makefile Sun Sep 15 23:12:13 2019 (r512134)
@@ -327,6 +327,7 @@
SUBDIR += ljdump
SUBDIR += llgal
SUBDIR += logtools
+ SUBDIR += lua-resty-lrucache
SUBDIR += luakit
SUBDIR += lynx
SUBDIR += lynx-current
Added: head/www/lua-resty-lrucache/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/lua-resty-lrucache/Makefile Sun Sep 15 23:12:13 2019 (r512134)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= lua-resty-lrucache
+PORTVERSION= 0.09
+DISTVERSIONPREFIX=v
+CATEGORIES= www
+
+MAINTAINER= dmitry.wagin at 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>
Added: head/www/lua-resty-lrucache/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/lua-resty-lrucache/distinfo Sun Sep 15 23:12:13 2019 (r512134)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1566944480
+SHA256 (openresty-lua-resty-lrucache-v0.09_GH0.tar.gz) = 42f0384f80b6a9b4f42f91ee688baf69165d0573347e6ea84ebed95e928211d7
+SIZE (openresty-lua-resty-lrucache-v0.09_GH0.tar.gz) = 14954
Added: head/www/lua-resty-lrucache/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/lua-resty-lrucache/pkg-descr Sun Sep 15 23:12:13 2019 (r512134)
@@ -0,0 +1,3 @@
+Lua-land LRU cache based on the LuaJIT FFI
+
+WWW: https://github.com/openresty/lua-resty-lrucache
More information about the svn-ports-head
mailing list