aboutsummaryrefslogblamecommitdiff
path: root/devel/lua-lpeg/Makefile
blob: 38338d2ba7f2e9b3abb7bce900c63e955e104c90 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                        
                     

                                             
                                  
                   


                                         

                                            
                                                                           
 
                      
# $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

ALL_TARGET=	linux
CFLAGS+=	-DLUA_32BITS
MAKE_ARGS=	CC=${CC} LUADIR=${LUA_INCDIR}
MAKEFILE=	${WRKSRC}/makefile
USES?=		lua

PLIST_FILES=	%%LUA_MODLIBDIR%%/lpeg.so

do-install:
	${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
	${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${STAGEDIR}${LUA_MODLIBDIR}

.include <bsd.port.mk>