Bug 196825 - [NEW] devel/lua-lpeg: Parsing Expression Grammars module for LUA
Summary: [NEW] devel/lua-lpeg: Parsing Expression Grammars module for LUA
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-17 17:34 UTC by Oleg Ginzburg
Modified: 2015-03-16 14:47 UTC (History)
3 users (show)

See Also:


Attachments
New Port: Parsing Expression Grammars module for LUA (2.42 KB, application/x-shar)
2015-01-17 17:34 UTC, Oleg Ginzburg
no flags Details
New Port: Parsing Expression Grammars module for LUA 5.1 (717 bytes, patch)
2015-01-17 17:35 UTC, Oleg Ginzburg
no flags Details | Diff
New Port: Parsing Expression Grammars module for LUA (2.42 KB, patch)
2015-01-17 17:51 UTC, Oleg Ginzburg
no flags Details | Diff
New Port: Parsing Expression Grammars module for LUA (2.37 KB, patch)
2015-01-17 17:54 UTC, Oleg Ginzburg
no flags Details | Diff
New Port: Parsing Expression Grammars module for LUA (2.40 KB, application/x-shar)
2015-01-17 18:04 UTC, Oleg Ginzburg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.