svn commit: r462728 - head/devel/lua-lpeg

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Feb 23 19:24:59 UTC 2018


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 at FreeBSD.org
-COMMENT=	Parsing Expression Grammars For Lua
+MAINTAINER=	sunpoet at 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/


More information about the svn-ports-all mailing list