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> |