mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
a83e62a434
code with Lua. Based on a "cleaned" header file, toLua automatically generates the binding code to access C/C++ features from Lua. Using Lua-5.0 API and tag method facilities, the current version automatically maps C/C++ constants, external variables, functions, namespace, classes, and methods to Lua. It also provides facilities to create Lua modules. WWW: http://www.tecgraf.puc-rio.br/~celes/tolua/ Author: Waldemar Celes <celes@tecgraf.puc-rio.br>
31 lines
722 B
Makefile
31 lines
722 B
Makefile
#
|
|
# New ports collection makefile for: tolua
|
|
# Date created: 21 November 2004
|
|
# Whom: Edwin Groothuis <edwin@mavetju.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tolua4
|
|
PORTVERSION= 4.0a
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ \
|
|
http://www.tecgraf.puc-rio.br/~celes/tolua/
|
|
DISTNAME= tolua-4.0a
|
|
|
|
MAINTAINER= edwin@mavetju.org
|
|
COMMENT= toLua: accessing C/C++ code from Lua
|
|
|
|
LIB_DEPENDS= lua.4:${PORTSDIR}/lang/lua4
|
|
|
|
WRKSRC= ${WRKDIR}/tolua
|
|
USE_GMAKE= yes
|
|
CONFLICTS= tolua-5.*
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/include/tolua.h ${PREFIX}/include
|
|
${INSTALL_DATA} ${WRKSRC}/lib/libtolua.a ${PREFIX}/lib
|
|
|
|
.include <bsd.port.mk>
|