blob: 3d5a4dbff375d9dfaf3961712c9c031de1c997c3 (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
|
# $NetBSD: Makefile,v 1.5 2021/05/24 19:49:09 wiz Exp $
GITHUB_PROJECT= FlameGraph
DISTNAME= flamegraph-1.0
PKGREVISION= 4
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_GITHUB:=brendangregg/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.brendangregg.com/flamegraphs.html
COMMENT= Stack trace visualizer
LICENSE= cddl-1.0 AND apache-2.0
USE_TOOLS+= perl
USE_LANGUAGES= # none
REPLACE_AWK+= *.awk
REPLACE_PERL+= *.pl
NO_BUILD= yes
INSTALLATION_DIRS+= bin
do-install:
.for file in aix-perf \
difffolded \
files \
flamegraph \
pkgsplit-perf \
range-perf \
stackcollapse-aix \
stackcollapse-elfutils \
stackcollapse-gdb \
stackcollapse-go \
stackcollapse-instruments \
stackcollapse-jstack \
stackcollapse-perf \
stackcollapse-pmc \
stackcollapse-recursive \
stackcollapse-stap \
stackcollapse-vsprof \
stackcollapse-vtune \
stackcollapse
${RUN} cd ${WRKSRC} && ${INSTALL_SCRIPT} \
${file}.pl \
${DESTDIR}${PREFIX}/bin/flamegraph-${file}
.endfor
.for file in stackcollapse-ljp
${RUN} cd ${WRKSRC} && ${INSTALL_SCRIPT} \
${file}.awk \
${DESTDIR}${PREFIX}/bin/flamegraph-${file}
.endfor
.include "../../mk/bsd.pkg.mk"
|