Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2018 19:24:59 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462728 - head/devel/lua-lpeg
Message-ID:  <201802231924.w1NJOxie017069@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802231924.w1NJOxie017069>