1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/www/lua-resty-core/Makefile
Martin Matuska 864bc1d6fe Fix pkg-plist
PR:		251076
Reported by:	Dmitry Wagin (maintainer)
2020-11-12 15:30:41 +00:00

32 lines
662 B
Makefile

# $FreeBSD$
PORTNAME= lua-resty-core
PORTVERSION= 0.1.21
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= www
MAINTAINER= dmitry.wagin@ya.ru
COMMENT= New FFI-based Lua API for OpenResty NGINX Lua modules
LICENSE= BSD2CLAUSE
RUN_DEPENDS= luajit-openresty>=2.1:lang/luajit-openresty \
lua-resty-lrucache>=0.10:www/lua-resty-lrucache
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>