1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/devel/atf/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

38 lines
771 B
Makefile

PORTNAME= atf
PORTVERSION= 0.21
CATEGORIES= devel
MASTER_SITES= https://github.com/jmmv/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ \
LOCAL/jmmv
MAINTAINER= jmmv@FreeBSD.org
COMMENT= C, C++ and shell libraries to write ATF-compliant test programs
LICENSE= BSD3CLAUSE
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= libtool
OPTIONS_DEFINE= DOCS TEST
OPTIONS_DEFAULT=TEST
.include <bsd.port.options.mk>
MAKE_FLAGS+= atf_pkgconfigdir=${PREFIX}/libdata/pkgconfig
.if empty(PORT_OPTIONS:MDOCS)
MAKE_FLAGS+= doc_DATA=
.endif
.if empty(PORT_OPTIONS:MTEST)
PLIST_SUB+= TEST="@comment "
.else
PLIST_SUB+= TEST=
.endif
post-install:
.if empty(PORT_OPTIONS:MTEST)
@${RM} -r ${STAGEDIR}${PREFIX}/tests
.endif
.include <bsd.port.mk>