mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
7897354104
different in implementation. This tool does its job by instrumenting the source as you compile. You can thus add your own instrumentation to every line on the fly. WWW: http://sourceforge.net/projects/covtool/ PR: ports/174234 Submitted by: novator24 <novator24@gmail.com>
39 lines
895 B
Makefile
39 lines
895 B
Makefile
# Created by: novator24 <novator24@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= covtool
|
|
PORTVERSION= 2.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/rel_2.0
|
|
|
|
MAINTAINER= novator24@gmail.com
|
|
COMMENT= C++ test coverage analyzer
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_ZIP= yes
|
|
USE_GCC= 4.6+
|
|
USE_GMAKE= yes
|
|
MAKEFILE= makefile
|
|
|
|
MAN1= cov++.1 \
|
|
covannotate.1 \
|
|
covmerge.1 \
|
|
covtool.1 \
|
|
gen_html.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
-e 's|%%PORTNAME%%|${PORTNAME}|g' ${WRKSRC}/cov++
|
|
@${REINPLACE_CMD} 's|%%CXXFLAGS%%|${CXXFLAGS}|g' \
|
|
${WRKSRC}/rules.FreeBSD
|
|
|
|
post-install:
|
|
@${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/man/man1/,} \
|
|
${MANPREFIX}/man/man1/
|
|
@${INSTALL_DATA} ${WRKSRC}/cov++.cfg ${PREFIX}/etc/cov++.cfg.sample
|
|
@if [ ! -f ${PREFIX}/etc/cov++.cfg ]; then \
|
|
${CP} -p ${PREFIX}/etc/cov++.cfg.sample ${PREFIX}/etc/cov++.cfg ; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|