1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/lua-resty-string/Makefile
2021-09-18 02:24:07 +02:00

28 lines
594 B
Makefile

PORTNAME= lua-resty-string
DISTVERSIONPREFIX=v
DISTVERSION= 0.15
CATEGORIES= devel www
MAINTAINER= mm@FreeBSD.org
COMMENT= String utilities and common hash functions for ngx_lua and LuaJIT
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_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>