View | Details | Raw Unified | Return to bug 228308 | Differences between
and this patch

Collapse All | Expand All

(-)devel/Makefile (+1 lines)
Lines 1256-1261 Link Here
1256
    SUBDIR += kaptain
1256
    SUBDIR += kaptain
1257
    SUBDIR += kcachegrind
1257
    SUBDIR += kcachegrind
1258
    SUBDIR += kcachegrind-kde4
1258
    SUBDIR += kcachegrind-kde4
1259
    SUBDIR += kcov
1259
    SUBDIR += kdbg
1260
    SUBDIR += kdbg
1260
    SUBDIR += kde-dev-scripts
1261
    SUBDIR += kde-dev-scripts
1261
    SUBDIR += kde-dev-scripts-kde4
1262
    SUBDIR += kde-dev-scripts-kde4
(-)devel/kcov/Makefile (+50 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	kcov
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	35-57
6
DISTVERSIONSUFFIX=	-g69dfa9c
7
CATEGORIES=	devel
8
9
MAINTAINER=	asomers@FreeBSD.org
10
COMMENT=	Coverage checker for ELF, Bash, and Python programs
11
12
LICENSE=	GPLv2 MIT # MIT for bundled handlebars, jquery, tablesorter
13
LICENSE_COMB=	multi
14
LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
15
16
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1101000
17
BROKEN=	PR228478 devel/elfutils: undefined symbols on 10.4-RELEASE
18
.endif
19
20
ONLY_FOR_ARCHS=	amd64
21
ONLY_FOR_ARCHS_REASON=	ptrace code is only implemented for amd64
22
23
BUILD_DEPENDS=	binutils>=2.30:devel/binutils
24
LIB_DEPENDS=	libcurl.so:ftp/curl \
25
		libdw.so:devel/elfutils \
26
		libelf.so:devel/elfutils
27
28
USES=		cmake:outsource shebangfix python:build gettext-runtime
29
30
# Remove -DPORTVERSION (and associated patch) when basing the port on an
31
# official release
32
CMAKE_ARGS=	-DKCOV_INSTALL_MANDIR=${PREFIX}/man -DPORTVERSION=${PORTVERSION}
33
34
SHEBANG_GLOB=	*.py
35
36
# Use a GitHub tag until version 36 gets released, whenever that might be
37
USE_GITHUB=	yes
38
GH_ACCOUNT=	SimonKagstrom
39
40
PLIST_FILES=	bin/kcov \
41
		man/man1/kcov.1.gz
42
43
OPTIONS_DEFINE=	DOCS
44
PORTDOCS=	COPYING.externals \
45
		ChangeLog
46
47
post-stage:
48
	${RM} ${STAGEDIR}${DOCSDIR}/COPYING
49
50
.include <bsd.port.mk>
(-)devel/kcov/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1526570477
2
SHA256 (SimonKagstrom-kcov-v35-57-g69dfa9c_GH0.tar.gz) = 67772479b2cdc4bff42788306a786bbd0caf23fe25c67abeb6fa3c73bc66d653
3
SIZE (SimonKagstrom-kcov-v35-57-g69dfa9c_GH0.tar.gz) = 301899
(-)devel/kcov/files/patch-src_CMakeLists.txt (+11 lines)
Line 0 Link Here
1
--- src/CMakeLists.txt.orig	2018-05-17 15:34:12 UTC
2
+++ src/CMakeLists.txt
3
@@ -72,7 +72,7 @@ add_custom_command(
4
     OUTPUT version.c
5
     COMMAND "${CMAKE_COMMAND}"
6
            -E echo
7
-           "const char *kcov_version = \\\"${POD_VERSION}\\\"\;"
8
+	   "const char *kcov_version = \\\"${PORTVERSION}\\\"\;"
9
         > version.c
10
 )
11
 
(-)devel/kcov/pkg-descr (+8 lines)
Line 0 Link Here
1
Kcov is a FreeBSD/Linux/OSX code coverage tester for compiled languages, Python
2
and Bash. Kcov was originally a fork of Bcov, but has since evolved to support
3
a large feature set in addition to that of Bcov.
4
5
Kcov, like Bcov, uses DWARF debugging information for compiled programs to make
6
it possible to collect coverage information without special compiler switches.
7
8
WWW: https://simonkagstrom.github.io/kcov/index.html

Return to bug 228308