summaryrefslogtreecommitdiff
path: root/devel/atf/Makefile
blob: 41eba747688e9e1274e72344403b8f93ac13612d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.22 2013/02/14 18:36:12 jmmv Exp $
#

.include "Makefile.common"

COMMENT:=	${COMMENT} - Runtime tools (deprecated; use kyua-cli)

CONFIGURE_ARGS+=	--enable-tools

XML_ENTRIES=	public "-//NetBSD//DTD ATF Tests Results 0.1//EN" \
		${PREFIX}/share/xml/atf/tests-results.dtd

post-install:
.for file in bin/atf-sh \
	     include/ \
	     lib/ \
	     libexec/ \
	     ${PKGMANDIR}/man1/atf-check.1 \
	     ${PKGMANDIR}/man1/atf-sh.1 \
	     ${PKGMANDIR}/man1/atf-test-program.1 \
	     ${PKGMANDIR}/man3/ \
	     ${PKGMANDIR}/man4/ \
	     share/aclocal/ \
	     share/atf/libatf-sh.subr \
	     tests/atf/atf-c++ \
	     tests/atf/atf-c \
	     tests/atf/atf-sh \
	     tests/atf/test-programs
	rm -rf ${DESTDIR}${PREFIX}/${file}
.endfor

BUILDLINK_API_DEPENDS.atf-libs+=	atf-libs>=${PKGVERSION_NOREV}
.include "../../devel/atf-libs/buildlink3.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"