Bug 196825

Summary: [NEW] devel/lua-lpeg: Parsing Expression Grammars module for LUA
Product: Ports & Packages Reporter: Oleg Ginzburg <olevole>
Component: Individual Port(s)Assignee: Muhammad Moinur Rahman <bofh>
Status: Closed FIXED    
Severity: Affects Only Me CC: bofh, oleksii.tsai, olevole
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
New Port: Parsing Expression Grammars module for LUA
none
New Port: Parsing Expression Grammars module for LUA 5.1
none
New Port: Parsing Expression Grammars module for LUA
none
New Port: Parsing Expression Grammars module for LUA
none
New Port: Parsing Expression Grammars module for LUA none

Description Oleg Ginzburg 2015-01-17 17:34:56 UTC
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
Comment 1 Oleg Ginzburg 2015-01-17 17:35:22 UTC
Created attachment 151770 [details]
New Port: Parsing Expression Grammars module for LUA 5.1
Comment 2 Oleg Ginzburg 2015-01-17 17:51:45 UTC
Created attachment 151771 [details]
New Port: Parsing Expression Grammars module for LUA

correct portname
Comment 3 Oleg Ginzburg 2015-01-17 17:54:45 UTC
Created attachment 151772 [details]
New Port: Parsing Expression Grammars module for LUA

Cleanup Makefile from comments
Comment 4 Oleg Ginzburg 2015-01-17 18:04:19 UTC
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.
Comment 5 oleksii.tsai 2015-03-15 05:15:09 UTC
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.
Comment 6 commit-hook freebsd_committer freebsd_triage 2015-03-16 14:11:01 UTC
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
Comment 7 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2015-03-16 14:47:53 UTC
Committed.