Released on 2012/05/30. * New global constants: globals_index. * New methods added to the state class: get_metafield, get_metatable, insert, push_value, raw_get and raw_set. * Acknowledged that Lua 5.2 is currently not supported.
45 lines
1 KiB
Makefile
45 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2012/05/30 22:48:36 jmmv Exp $
|
|
#
|
|
|
|
DISTNAME= lutok-0.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://lutok.googlecode.com/files/
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
HOMEPAGE= http://code.google.com/p/kyua/
|
|
COMMENT= Lightweight C++ API for Lua
|
|
LICENSE= 2-clause-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS= pkg-config
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.lutok
|
|
PKG_SUPPORTED_OPTIONS= tests
|
|
PKG_SUGGESTED_OPTIONS= tests
|
|
|
|
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/lutok
|
|
CONFIGURE_ARGS+= --htmldir=${PREFIX}/share/doc/lutok/html
|
|
CONFIGURE_ARGS+= --without-doxygen
|
|
|
|
MAKE_FLAGS+= examplesdir=${PREFIX}/share/examples/lutok
|
|
|
|
PKGCONFIG_OVERRIDE= lutok.pc.in
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if $(PKG_OPTIONS:Mtests)
|
|
CONFIGURE_ARGS+= --with-atf
|
|
PLIST_SUBST+= TESTS=
|
|
. include "../../devel/atf/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-atf
|
|
PLIST_SUBST+= TESTS=@comment
|
|
.endif
|
|
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|