2017-09-03 11:22:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2017/09/03 09:22:57 wiz Exp $
|
2012-01-29 21:59:59 +01:00
|
|
|
|
2013-12-08 02:20:21 +01:00
|
|
|
DISTNAME= lutok-0.4
|
2014-10-20 00:27:43 +02:00
|
|
|
PKGREVISION= 3
|
2012-01-29 21:59:59 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://lutok.googlecode.com/files/
|
|
|
|
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
2017-09-03 11:22:57 +02:00
|
|
|
HOMEPAGE= https://github.com/jmmv/lutok
|
2012-01-29 21:59:59 +01:00
|
|
|
COMMENT= Lightweight C++ API for Lua
|
2012-07-19 20:30:18 +02:00
|
|
|
LICENSE= modified-bsd
|
2012-01-29 21:59:59 +01:00
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS= pkg-config
|
2013-07-04 23:27:56 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2012-01-29 21:59:59 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
|
2016-12-31 10:39:31 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mtests)
|
2014-02-08 16:59:30 +01:00
|
|
|
. include "../../devel/atf/buildlink3.mk"
|
2012-01-29 21:59:59 +01:00
|
|
|
CONFIGURE_ARGS+= --with-atf
|
|
|
|
PLIST_SUBST+= TESTS=
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-atf
|
|
|
|
PLIST_SUBST+= TESTS=@comment
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|