From owner-svn-ports-all@freebsd.org Sat Jul 4 09:13:54 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CBF82366AEA; Sat, 4 Jul 2020 09:13:54 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49zR364RBhz4PV6; Sat, 4 Jul 2020 09:13:54 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7C67919E5B; Sat, 4 Jul 2020 09:13:54 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0649DsoA032667; Sat, 4 Jul 2020 09:13:54 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0649DsQC032666; Sat, 4 Jul 2020 09:13:54 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <202007040913.0649DsQC032666@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Sat, 4 Jul 2020 09:13:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541180 - head/databases/lua-resty-redis X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: head/databases/lua-resty-redis X-SVN-Commit-Revision: 541180 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2020 09:13:54 -0000 Author: lwhsu Date: Sat Jul 4 09:13:54 2020 New Revision: 541180 URL: https://svnweb.freebsd.org/changeset/ports/541180 Log: databases/lua-resty-redis: change dependency to luajit-openresty It does not use the lua interpreter directly. PR: 240611 Submitted by: mm Approved by: Volodymyr Kostyrko (maintainer) Modified: head/databases/lua-resty-redis/Makefile Modified: head/databases/lua-resty-redis/Makefile ============================================================================== --- head/databases/lua-resty-redis/Makefile Sat Jul 4 09:00:50 2020 (r541179) +++ head/databases/lua-resty-redis/Makefile Sat Jul 4 09:13:54 2020 (r541180) @@ -3,6 +3,7 @@ PORTNAME= lua-resty-redis DISTVERSIONPREFIX= v DISTVERSION= 0.27 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= arcade@b1t.name @@ -10,8 +11,20 @@ COMMENT= Redis client driver for the ngx_lua nginx mod LICENSE= BSD2CLAUSE -USES= lua:51 +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