1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/devel/atf/Makefile
Bryan Drewery 7f4b1cea5e - Install tools by default to match the base version
PR:		ports/173224
Submitted by:	Roman Naumann <namor@hemio.de> (maintainer)
Feature safe:	yes
2012-11-01 18:42:59 +00:00

63 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= atf
PORTVERSION= 0.16
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GOOGLE_CODE
MAINTAINER= namor@hemio.de
COMMENT= Automated Testing Framework
LICENSE= BSD
USE_LDCONFIG= yes
PROJECTHOST= kyua
MAN1= atf-check.1 \
atf-sh.1 \
atf-test-program.1
MAN3= atf-c-api.3 \
atf-c++-api.3 \
atf-sh-api.3
MAN4= atf-test-case.4
GNU_CONFIGURE= yes
OPTIONS_DEFINE= TOOLS
OPTIONS_DEFAULT=TOOLS
TOOLS_DESC= Enable deprecated tools
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 1000021
IGNORE= is already in the base system
.endif
.if ${PORT_OPTIONS:MTOOLS}
CONFIGURE_ARGS+= --enable-tools
PLIST_SUB+= TOOLS=""
MAN1+= atf-config.1 \
atf-report.1 \
atf-run.1 \
atf-version.1
MAN5+= atf-formats.5
MAN7+= atf.7
.else
PLIST_SUB+= TOOLS="@comment "
.endif
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} -e 's|install-docDATA[^:]||' ${WRKSRC}/Makefile.in
.endif
.if empty(PORT_OPTIONS:MEXAMPLES)
@${REINPLACE_CMD} -e 's|install-egDATA[^:]||' \
-e 's|install-cssDATA[^:]||' ${WRKSRC}/Makefile.in
.endif
@${REINPLACE_CMD} -e 's|@atf_pkgconfigdir@|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>