mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
cf118ccf87
Reported by: lwhsu
29 lines
692 B
Makefile
29 lines
692 B
Makefile
PORTNAME= lpeg
|
|
PORTVERSION= 1.0.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.inf.puc-rio.br/~roberto/lpeg/ \
|
|
LOCAL/sunpoet
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= PEG-based pattern-matching library for Lua
|
|
|
|
LICENSE= MIT
|
|
|
|
USES= lua:module
|
|
|
|
ALL_TARGET= linux
|
|
MAKE_ARGS= CC=${CC} LUADIR=${LUA_INCDIR}
|
|
MAKEFILE= ${WRKSRC}/makefile
|
|
|
|
PLIST_FILES= ${LUA_MODLIBDIR}/lpeg.so \
|
|
${LUA_MODSHAREDIR}/re.lua
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${STAGEDIR}${LUA_MODLIBDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/re.lua ${STAGEDIR}${LUA_MODSHAREDIR}
|
|
|
|
.include <bsd.port.mk>
|