2012-06-07 03:13:58 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2012/06/07 01:13:58 jmmv Exp $
|
2011-07-08 11:49:11 +02:00
|
|
|
#
|
|
|
|
|
2012-06-07 03:13:58 +02:00
|
|
|
DISTNAME= kyua-cli-0.4
|
2011-07-08 11:49:11 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://kyua.googlecode.com/files/
|
|
|
|
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
|
|
HOMEPAGE= http://code.google.com/p/kyua/
|
|
|
|
COMMENT= Kyua (automated testing framework) - Command line interface
|
|
|
|
LICENSE= 2-clause-bsd
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INFO_FILES= yes
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
USE_LANGUAGES= c++
|
|
|
|
USE_TOOLS= makeinfo pkg-config
|
|
|
|
|
2012-06-07 03:13:58 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.kyua-cli
|
|
|
|
PKG_SUPPORTED_OPTIONS= tests
|
|
|
|
PKG_SUGGESTED_OPTIONS= tests
|
|
|
|
|
2011-07-08 11:49:11 +02:00
|
|
|
CONFIGURE_ARGS+= KYUA_CONFSUBDIR=
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
CONFIGURE_ARGS+= --without-doxygen
|
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= kyua
|
|
|
|
|
2012-06-07 03:13:58 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if $(PKG_OPTIONS:Mtests)
|
|
|
|
CONFIGURE_ARGS+= --with-atf
|
|
|
|
PLIST_SUBST+= TESTS=
|
|
|
|
BUILDLINK_API_DEPENDS.atf+= atf>=0.15
|
|
|
|
. include "../../devel/atf/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-atf
|
|
|
|
PLIST_SUBST+= TESTS=@comment
|
|
|
|
.endif
|
|
|
|
|
2011-07-08 11:49:11 +02:00
|
|
|
post-install:
|
2012-06-07 03:13:58 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/tests
|
2011-07-08 11:49:11 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/Kyuafile.top \
|
|
|
|
${DESTDIR}${PREFIX}/tests/Kyuafile
|
|
|
|
|
2012-02-24 22:07:41 +01:00
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
2012-06-07 03:13:58 +02:00
|
|
|
BUILDLINK_API_DEPENDS.lutok+= lutok>=0.2
|
2012-02-24 22:07:41 +01:00
|
|
|
.include "../../devel/lutok/buildlink3.mk"
|
2011-07-08 11:49:11 +02:00
|
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|