mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
31 lines
773 B
Makefile
31 lines
773 B
Makefile
# Created by: novator24 <novator24@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= covtool
|
|
PORTVERSION= 2.1
|
|
PORTREVISION= 8
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/rel_2.0
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ test coverage analyzer
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USES= gmake zip
|
|
USE_GCC= yes
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= CC=${CXX} LN=${CXX} INSTALL_DIR=${STAGEDIR}${PREFIX}
|
|
|
|
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} ${WRKSRC}/man/man1/*.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1/
|
|
${INSTALL_DATA} ${WRKSRC}/cov++.cfg ${STAGEDIR}${PREFIX}/etc/cov++.cfg.sample
|
|
|
|
.include <bsd.port.mk>
|