# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           makefile 1.0

github.setup        openresty lua-resty-lrucache 0.15 v
revision            0
checksums           rmd160  cf8876806c3da5d4ee0ffe39b9b94d0911a8fb0e \
                    sha256  8cf1a22e0d5b8f35cb0b2e14c58fcb3aa505a8fb6e956817f0cdb1f06593f072 \
                    size    17834

categories          lua
maintainers         {ryandesign @ryandesign} openmaintainer
license             BSD
supported_archs     noarch
platforms           any

description         lua-land LRU cache based on LuaJIT FFI

long_description    ${name} implements a simple LRU cache for nginx \
                    and the nginx lua module.

github.tarball_from archive

# LuaJIT looks for modules in the 5.1 directory
destroot.args-append LUA_LIB_DIR=${prefix}/share/lua/5.1

github.livecheck.regex {([0-9.]+)}