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