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 (+47 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
BROKEN_FreeBSD_10= PR228478 devel/elfutils: undefined symbols on 10.4-RELEASE
17
ONLY_FOR_ARCHS=	amd64
18
ONLY_FOR_ARCHS_REASON=	ptrace code is only implemented for amd64
19
20
BUILD_DEPENDS=	binutils>=2.30:devel/binutils
21
LIB_DEPENDS=	libcurl.so:ftp/curl \
22
		libdw.so:devel/elfutils \
23
		libelf.so:devel/elfutils
24
25
USES=		cmake:outsource shebangfix python:build gettext-runtime
26
27
# Remove -DPORTVERSION (and associated patch) when basing the port on an
28
# official release
29
CMAKE_ARGS=	-DKCOV_INSTALL_MANDIR=${PREFIX}/man -DPORTVERSION=${PORTVERSION}
30
31
SHEBANG_GLOB=	*.py
32
33
# Use a GitHub tag until version 36 gets released, whenever that might be
34
USE_GITHUB=	yes
35
GH_ACCOUNT=	SimonKagstrom
36
37
PLIST_FILES=	bin/kcov \
38
		man/man1/kcov.1.gz
39
40
OPTIONS_DEFINE=	DOCS
41
PORTDOCS=	COPYING.externals \
42
		ChangeLog
43
44
post-stage:
45
	${RM} ${STAGEDIR}${DOCSDIR}/COPYING
46
47
.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