From owner-svn-ports-head@freebsd.org Thu Mar 2 16:00:23 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03748CF54D7; Thu, 2 Mar 2017 16:00:23 +0000 (UTC) (envelope-from mmokhi@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 mx1.freebsd.org (Postfix) with ESMTPS id AEB6ECA7; Thu, 2 Mar 2017 16:00:22 +0000 (UTC) (envelope-from mmokhi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v22G0L7F060691; Thu, 2 Mar 2017 16:00:21 GMT (envelope-from mmokhi@FreeBSD.org) Received: (from mmokhi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v22G0LTT060688; Thu, 2 Mar 2017 16:00:21 GMT (envelope-from mmokhi@FreeBSD.org) Message-Id: <201703021600.v22G0LTT060688@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mmokhi set sender to mmokhi@FreeBSD.org using -f From: Mahdi Mokhtari Date: Thu, 2 Mar 2017 16:00:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435249 - in head/devel: . lua-cjson lua51-cjson X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 16:00:23 -0000 Author: mmokhi Date: Thu Mar 2 16:00:21 2017 New Revision: 435249 URL: https://svnweb.freebsd.org/changeset/ports/435249 Log: devel/lua-cjson: set USES to default lua version (5.2). Also clone a slave port as lua51-cjson. Reviewed by: feld, mat Approved by: feld, mat (mentors) Differential Revision: https://reviews.freebsd.org/D9810 Added: head/devel/lua51-cjson/ - copied from r434907, head/devel/lua-cjson/ Modified: head/devel/Makefile head/devel/lua-cjson/Makefile head/devel/lua51-cjson/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Mar 2 16:00:12 2017 (r435248) +++ head/devel/Makefile Thu Mar 2 16:00:21 2017 (r435249) @@ -1571,6 +1571,7 @@ SUBDIR += lua-posix SUBDIR += lua-pty SUBDIR += lua-sysctl + SUBDIR += lua51-cjson SUBDIR += lua51-libevent SUBDIR += luabind SUBDIR += luafilesystem Modified: head/devel/lua-cjson/Makefile ============================================================================== --- head/devel/lua-cjson/Makefile Thu Mar 2 16:00:12 2017 (r435248) +++ head/devel/lua-cjson/Makefile Thu Mar 2 16:00:21 2017 (r435249) @@ -9,13 +9,13 @@ PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} DISTNAME= lua-cjson-${PORTVERSION} MAINTAINER= osa@FreeBSD.org -COMMENT= Fast JSON parsing and encoding support for Lua +COMMENT?= Fast JSON parsing and encoding support for Lua -USES= lua:51 +USES?= lua MAKE_ARGS= LUA_VERSION=${LUA_VER} -PLIST_FILES= %%LUA_MODLIBDIR%%/cjson.so +PLIST_FILES= ${LUA_MODLIBDIR}/cjson.so post-patch: @${REINPLACE_CMD} '16,18d; \ Modified: head/devel/lua51-cjson/Makefile ============================================================================== --- head/devel/lua-cjson/Makefile Sun Feb 26 18:30:25 2017 (r434907) +++ head/devel/lua51-cjson/Makefile Thu Mar 2 16:00:21 2017 (r435249) @@ -1,25 +1,13 @@ # Created by: osa # $FreeBSD$ -PORTNAME= cjson -PORTVERSION= 2.1.0 -CATEGORIES= devel -MASTER_SITES= http://www.kyne.com.au/~mark/software/download/ -PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} -DISTNAME= lua-cjson-${PORTVERSION} -MAINTAINER= osa@FreeBSD.org -COMMENT= Fast JSON parsing and encoding support for Lua -USES= lua:51 - -MAKE_ARGS= LUA_VERSION=${LUA_VER} +COMMENT= Fast JSON parsing and encoding support for Lua 5.1 -PLIST_FILES= %%LUA_MODLIBDIR%%/cjson.so +MASTERDIR= ${.CURDIR}/../lua-cjson +PKGMESSAGE= ${.CURDIR}/pkg-message -post-patch: - @${REINPLACE_CMD} '16,18d; \ - 21s|^\(LUA_INCLUDE.*\)\(PREFIX\)\(.*\)|\1LOCALBASE\3/lua${LUA_VER_STR}|' \ - ${WRKSRC}/Makefile +USES= lua:51 -.include +.include "${MASTERDIR}/Makefile"