From owner-svn-ports-all@freebsd.org Fri Feb 23 19:24:59 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6FF1F14A69; Fri, 23 Feb 2018 19:24:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A212729A0; Fri, 23 Feb 2018 19:24:59 +0000 (UTC) (envelope-from sunpoet@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 4325F1AB57; Fri, 23 Feb 2018 19:24:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1NJOx7R017071; Fri, 23 Feb 2018 19:24:59 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1NJOxie017069; Fri, 23 Feb 2018 19:24:59 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802231924.w1NJOxie017069@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 23 Feb 2018 19:24:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462728 - head/devel/lua-lpeg X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/lua-lpeg X-SVN-Commit-Revision: 462728 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.25 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: Fri, 23 Feb 2018 19:24:59 -0000 Author: sunpoet Date: Fri Feb 23 19:24:58 2018 New Revision: 462728 URL: https://svnweb.freebsd.org/changeset/ports/462728 Log: Update PLIST_FILES: remove %% - Add my LOCAL to MASTER_SITES - Update COMMENT - Update pkg-descr - Take maintainership Modified: head/devel/lua-lpeg/Makefile head/devel/lua-lpeg/pkg-descr Modified: head/devel/lua-lpeg/Makefile ============================================================================== --- head/devel/lua-lpeg/Makefile Fri Feb 23 19:24:53 2018 (r462727) +++ head/devel/lua-lpeg/Makefile Fri Feb 23 19:24:58 2018 (r462728) @@ -3,11 +3,12 @@ PORTNAME= lpeg PORTVERSION= 1.0.1 CATEGORIES= devel -MASTER_SITES= http://www.inf.puc-rio.br/~roberto/lpeg/ +MASTER_SITES= http://www.inf.puc-rio.br/~roberto/lpeg/ \ + LOCAL/sunpoet PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Parsing Expression Grammars For Lua +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= PEG-based pattern-matching library for Lua LICENSE= MIT @@ -17,7 +18,7 @@ MAKE_ARGS= CC=${CC} LUADIR=${LUA_INCDIR} MAKEFILE= ${WRKSRC}/makefile USES?= lua -PLIST_FILES= %%LUA_MODLIBDIR%%/lpeg.so +PLIST_FILES= ${LUA_MODLIBDIR}/lpeg.so do-install: @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} Modified: head/devel/lua-lpeg/pkg-descr ============================================================================== --- head/devel/lua-lpeg/pkg-descr Fri Feb 23 19:24:53 2018 (r462727) +++ head/devel/lua-lpeg/pkg-descr Fri Feb 23 19:24:58 2018 (r462728) @@ -1,4 +1,15 @@ -LPeg is a new pattern-matching library for Lua, -based on Parsing Expression Grammars (PEGs). +LPeg is a new pattern-matching library for Lua, based on Parsing Expression +Grammars (PEGs). + +Following the Snobol tradition, LPeg defines patterns as first-class objects. +That is, patterns are regular Lua values (represented by userdata). The library +offers several functions to create and compose patterns. With the use of +metamethods, several of these functions are provided as infix or prefix +operators. On the one hand, the result is usually much more verbose than the +typical encoding of patterns using the so called regular expressions (which +typically are not regular expressions in the formal sense). On the other hand, +first-class patterns allow much better documentation (as it is easy to comment +the code, to break complex definitions in smaller parts, etc.) and are +extensible, as we can define new functions to create and compose patterns. WWW: http://www.inf.puc-rio.br/~roberto/lpeg/