From owner-svn-ports-all@FreeBSD.ORG Mon Mar 16 14:10:27 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9023A06; Mon, 16 Mar 2015 14:10:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 D33935FF; Mon, 16 Mar 2015 14:10:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t2GEARmA032311; Mon, 16 Mar 2015 14:10:27 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t2GEAPRh032297; Mon, 16 Mar 2015 14:10:25 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201503161410.t2GEAPRh032297@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Mon, 16 Mar 2015 14:10:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381402 - in head/devel: . lua-lpeg lua-lpeg/files lua-lpeg51 X-SVN-Group: ports-head 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.18-1 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: Mon, 16 Mar 2015 14:10:28 -0000 Author: bofh Date: Mon Mar 16 14:10:24 2015 New Revision: 381402 URL: https://svnweb.freebsd.org/changeset/ports/381402 QAT: https://qat.redports.org/buildarchive/r381402/ Log: [NEW] devel/lua-lpeg: Parsing Expression Grammars For Lua - Additional SLAVE PORT for building with lua 5.1 LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs). WWW: http://www.inf.puc-rio.br/~roberto/lpeg/ PR: 196825 Submitted by: olevole@olevole.ru Approved by: bapt marino (implicit) Added: head/devel/lua-lpeg/ head/devel/lua-lpeg/Makefile (contents, props changed) head/devel/lua-lpeg/distinfo (contents, props changed) head/devel/lua-lpeg/files/ head/devel/lua-lpeg/files/patch-makefile (contents, props changed) head/devel/lua-lpeg/pkg-descr (contents, props changed) head/devel/lua-lpeg51/ head/devel/lua-lpeg51/Makefile (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Mar 16 14:08:37 2015 (r381401) +++ head/devel/Makefile Mon Mar 16 14:10:24 2015 (r381402) @@ -1275,6 +1275,8 @@ SUBDIR += lua-cjson SUBDIR += lua-gettext SUBDIR += lua-lgi + SUBDIR += lua-lpeg + SUBDIR += lua-lpeg51 SUBDIR += lua-lunit SUBDIR += lua-posix SUBDIR += lua-pty Added: head/devel/lua-lpeg/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lpeg/Makefile Mon Mar 16 14:10:24 2015 (r381402) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= lpeg +PORTVERSION= 0.12 +CATEGORIES= devel +MASTER_SITES= http://www.inf.puc-rio.br/~roberto/lpeg/ +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} + +MAINTAINER= olevole@olevole.ru +COMMENT= Parsing Expression Grammars For Lua + +LICENSE= MIT + +USES?= lua + +ALL_TARGET= linux +MAKEFILE= ${WRKSRC}/makefile + +PLIST_FILES= %%LUA_MODLIBDIR%%/lpeg.so + +.include + +post-patch: + ${REINPLACE_CMD} -e \ + "s|%%INCDIR%%|${LUA_INCDIR}|" ${WRKSRC}/makefile + +do-install: + ${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} + ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${STAGEDIR}/${LUA_MODLIBDIR} + +.include Added: head/devel/lua-lpeg/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lpeg/distinfo Mon Mar 16 14:10:24 2015 (r381402) @@ -0,0 +1,2 @@ +SHA256 (lpeg-0.12.tar.gz) = efa545144cd219eee823af7624d90f78c2230677ba740b7151c5d0c303778b76 +SIZE (lpeg-0.12.tar.gz) = 66649 Added: head/devel/lua-lpeg/files/patch-makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lpeg/files/patch-makefile Mon Mar 16 14:10:24 2015 (r381402) @@ -0,0 +1,18 @@ +--- makefile.orig 2015-01-17 20:16:06.330635290 +0300 ++++ makefile 2015-01-17 20:16:18.745634849 +0300 +@@ -1,5 +1,5 @@ + LIBNAME = lpeg +-LUADIR = /usr/include/lua5.1/ ++LUADIR = %%INCDIR%% + + COPT = -O2 + # COPT = -DLPEG_DEBUG -g +@@ -23,7 +23,7 @@ + + + CFLAGS = $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC +-CC = gcc ++CC? = gcc + + FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o + Added: head/devel/lua-lpeg/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lpeg/pkg-descr Mon Mar 16 14:10:24 2015 (r381402) @@ -0,0 +1,4 @@ +LPeg is a new pattern-matching library for Lua, +based on Parsing Expression Grammars (PEGs). + +WWW: http://www.inf.puc-rio.br/~roberto/lpeg/ Added: head/devel/lua-lpeg51/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lpeg51/Makefile Mon Mar 16 14:10:24 2015 (r381402) @@ -0,0 +1,9 @@ +# $FreeBSD$ + +COMMENT= Parsing Expression Grammars For Lua 5.1 + +USES= lua:51 + +MASTERDIR= ${.CURDIR}/../lua-lpeg + +.include "${MASTERDIR}/Makefile"