mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
0457cbef5f
- 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)
32 lines
612 B
Makefile
32 lines
612 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= lpeg
|
|
PORTVERSION= 0.12
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.inf.puc-rio.br/~roberto/lpeg/
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= olevole@olevole.ru
|
|
COMMENT= Parsing Expression Grammars For Lua
|
|
|
|
LICENSE= MIT
|
|
|
|
USES?= lua
|
|
|
|
ALL_TARGET= linux
|
|
MAKEFILE= ${WRKSRC}/makefile
|
|
|
|
PLIST_FILES= %%LUA_MODLIBDIR%%/lpeg.so
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e \
|
|
"s|%%INCDIR%%|${LUA_INCDIR}|" ${WRKSRC}/makefile
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
|
|
${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${STAGEDIR}/${LUA_MODLIBDIR}
|
|
|
|
.include <bsd.port.post.mk>
|