pkgsrc/sysutils/sysbuild/Makefile
jmmv 32c18ca4cf Fix path to sysbuild in sysbuild4cron.
This is a pull-up of upstream 1eb74a64b213d0e4e6a98955169fae76b1c563e0
which was committed on 2014-07-01 but never checked in here (nor I have
released another distfile yet).

Bump PKGREVISION to 2 for this fix.
2016-02-01 03:21:30 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.29 2016/02/01 03:21:30 jmmv Exp $
DISTNAME= sysbuild-2.7
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= https://github.com/jmmv/sysbuild/releases/download/sysbuild-2.7/
MAINTAINER= jmmv@NetBSD.org
COMMENT= Automates builds of NetBSD and manages source trees
LICENSE= modified-bsd
GNU_CONFIGURE= yes
TEST_TARGET= check
USE_LANGUAGES= # empty
USE_TOOLS= pkg-config
PKG_SYSCONFSUBDIR= sysbuild
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= SYSBUILD_CONFSUBDIR=
INSTALL_MAKE_FLAGS+= sysbuild_confdir=${EGDIR}
EGDIR= ${PREFIX}/share/examples/sysbuild
CONF_FILES+= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/default.conf
PKG_OPTIONS_VAR= PKG_OPTIONS.sysbuild
PKG_SUPPORTED_OPTIONS= tests
PKG_SUGGESTED_OPTIONS= tests
.include "../../mk/bsd.options.mk"
.if $(PKG_OPTIONS:Mtests)
. include "../../devel/atf/buildlink3.mk"
PLIST_SUBST+= TESTS=
.else
PLIST_SUBST+= TESTS=@comment
.endif
BUILDLINK_API_DEPENDS.shtk+= shtk>=1.3
.include "../../devel/shtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"