Files
Joshua Root 27550caa75 lang/*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-23 00:38:56 +11:00

39 lines
1.7 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
github.setup LuaDist toluapp 1.0.93
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 2
categories lang
maintainers nomaintainer
license MIT
description A extension of toLua, a tool to integrate C-Cpp code with Lua.
long_description tolua++ is an extension of toLua, a tool to \
integrate C-C++ code with Lua. tolua++ includes new features \
oriented to c++, such as class templates. \
tolua is a tool that greatly simplifies the integration of C-C++ 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 metamethod 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.
checksums rmd160 c5cf5a16e4ea297b0bcf4ba8add3c4ed67ea3431 \
sha256 1900908bd551c951d4ef6b460b00fb336086bfc67084d2edd029784ff3bf1a68
depends_lib-append port:lua51
configure.args-append -DUSE_RPATH=OFF
# use MacPorts lua51
configure.args-append -DLUA_SYSTEM:BOOL=ON
configure.args-append -DLUA_LIBRARY=${prefix}/lib/lua-5.1/liblua-5.1.dylib
configure.args-append -DLUA_INCLUDE_DIR=${prefix}/include/lua-5.1/