# $NetBSD: Makefile,v 1.3 2012/10/31 11:17:09 asau Exp $ # DISTNAME= kyua-atf-compat-0.1 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) - ATF compatibility tools LICENSE= modified-bsd DEPENDS= kyua-cli>=0.5:../../devel/kyua-cli GNU_CONFIGURE= yes MAKE_JOBS_SAFE= yes USE_TOOLS= pkg-config PKG_OPTIONS_VAR= PKG_OPTIONS.kyua-atf-compat PKG_SUPPORTED_OPTIONS= tests PKG_SUGGESTED_OPTIONS= tests CONFIGURE_ARGS+= ATF_CONFSUBDIR= CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} PKG_SYSCONFSUBDIR= atf .include "../../mk/bsd.options.mk" .if $(PKG_OPTIONS:Mtests) CONFIGURE_ARGS+= --with-atf PLIST_SUBST+= TESTS= . include "../../devel/atf-libs/buildlink3.mk" .else CONFIGURE_ARGS+= --without-atf PLIST_SUBST+= TESTS=@comment .endif .include "../../mk/bsd.pkg.mk"