Created attachment 151769 [details] New Port: Parsing Expression Grammars module for LUA New Port: Parsing Expression Grammars module for LUA devel/lua-lpeg devel/lua-lpeg-51 for LUA 5.1
Created attachment 151770 [details] New Port: Parsing Expression Grammars module for LUA 5.1
Created attachment 151771 [details] New Port: Parsing Expression Grammars module for LUA correct portname
Created attachment 151772 [details] New Port: Parsing Expression Grammars module for LUA Cleanup Makefile from comments
Created attachment 151773 [details] New Port: Parsing Expression Grammars module for LUA Return first version of port with PORTNAME without lua-prefix. Use ${LUA_PKGNAMEPREFIX} instead.
I was working on the same port (version 0.12.2). You can replace post-patch: ${REINPLACE_CMD} -e \ "s|%%INCDIR%%|${LUA_INCDIR}|" ${WRKSRC}/makefile ${CP} ${WRKSRC}/makefile ${WRKSRC}/Makefile with MAKEFILE= ${WRKSRC}/makefile Also quick question, shouldn't gmake be added to USES as well? From what I saw that makefile works with gmake only.
A commit references this bug: Author: bofh Date: Mon Mar 16 14:10:27 UTC 2015 New revision: 381402 URL: https://svnweb.freebsd.org/changeset/ports/381402 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) Changes: head/devel/Makefile head/devel/lua-lpeg/ head/devel/lua-lpeg/Makefile head/devel/lua-lpeg/distinfo head/devel/lua-lpeg/files/ head/devel/lua-lpeg/files/patch-makefile head/devel/lua-lpeg/pkg-descr head/devel/lua-lpeg51/ head/devel/lua-lpeg51/Makefile
Committed.