blob: b08df521e4536d44d231bf21d9f4f9d1c7554c12 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $FreeBSD$
PORTNAME= kcov
DISTVERSIONPREFIX= v
DISTVERSION= 36
CATEGORIES= devel
MAINTAINER= asomers@FreeBSD.org
COMMENT= Coverage checker for ELF, Bash, and Python programs
LICENSE= GPLv2 MIT # MIT for bundled handlebars, jquery, tablesorter
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= ptrace code is only implemented for amd64
BUILD_DEPENDS= binutils>=2.30:devel/binutils
LIB_DEPENDS= libcurl.so:ftp/curl \
libdw.so:devel/elfutils \
libelf.so:devel/elfutils
USES= cmake:outsource shebangfix python:build gettext-runtime
# Remove -DPORTVERSION (and associated patch) when basing the port on an
# official release
CMAKE_ARGS= -DKCOV_INSTALL_MANDIR=${PREFIX}/man -DPORTVERSION=${PORTVERSION}
SHEBANG_GLOB= *.py
USE_GITHUB= yes
GH_ACCOUNT= SimonKagstrom
PLIST_FILES= bin/kcov \
man/man1/kcov.1.gz
OPTIONS_DEFINE= DOCS
PORTDOCS= COPYING.externals \
ChangeLog
post-stage:
${RM} ${STAGEDIR}${DOCSDIR}/COPYING
.include <bsd.port.mk>
|