# -*- 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-core 0.1.31 v
revision            0
checksums           rmd160  30817eb96a9d09e5bdd74990b6fc75aa7c132d77 \
                    sha256  a8af7beadd43dd4758b7dc3c00e027dd3908e73f5bf0e08155a2c8954c5937c0 \
                    size    225505

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

description         new FFI-based API for lua-nginx-module

long_description    ${name} is a pure Lua library that reimplements \
                    part of the nginx lua module's API for Lua with \
                    LuaJIT FFI and installs the new FFI-based Lua API \
                    into the ngx.* and ndk.* namespaces used by the \
                    nginx lua module.

github.tarball_from archive

depends_run         port:lua-resty-lrucache

# 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.]+)}
