blob: 521186fd604f8990a4111699147d01386c393840 (
plain) (
blame)
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
|
PORTNAME= covtool
PORTVERSION= 2.1
PORTREVISION= 10
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/rel_2.0
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ test coverage analyzer
WWW= https://sourceforge.net/projects/covtool/
USES= gmake zip
USE_GCC= yes
MAKEFILE= makefile
MAKE_ARGS= CC=${CXX} LN=${CXX} INSTALL_DIR=${STAGEDIR}${PREFIX}
NO_WRKSUBDIR= yes
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>
|