aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/flamegraph/Makefile
blob: 61ae7d206b142fda057d7ad3d7a4b9a7ecfd92b5 (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
45
46
47
48
49
50
51
52
# Created by: Johannes Dieterich <jmd@FreeBSD.org>
# $FreeBSD$

PORTNAME=   flamegraph
PORTVERSION=    g20170308
CATEGORIES= benchmarks

MAINTAINER= jmd@FreeBSD.org
COMMENT=    Stack trace visualizer

LICENSE=    CDDL
LICENSE_FILE=   ${WRKSRC}/docs/cddl1.txt

BUILD_DEPENDS=  bash>=0:shells/bash
RUN_DEPENDS=    bash>=0:shells/bash

USE_GITHUB= yes
GH_ACCOUNT= brendangregg
GH_PROJECT= FlameGraph
GH_TAGNAME= 74764af

USES=       shebangfix perl5
NO_BUILD=   yes

SHEBANG_FILES=  *.pl *.sh

SOURCE_FILES=   aix-perf.pl \
        difffolded.pl \
        files.pl \
        flamegraph.pl \
        pkgsplit-perf.sh \
        range-perf.pl \
        stackcollapse-aix.pl \
        stackcollapse-elfutils.pl \
        stackcollapse-gdb.pl \
        stackcollapse-go.pl \
        stackcollapse-instruments.pl \
        stackcollapse-jstack.pl \
        stackcollapse-ljp.awk \
        stackcollapse-perf.pl \
        stackcollapse-pmc.pl \
        stackcollapse-recursive.pl \
        stackcollapse-stap.pl \
        stackcollapse-vtune.pl \
        stackcollapse.pl

do-install:
.for FILE in ${SOURCE_FILES}
    ${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${STAGEDIR}/${PREFIX}/bin/${FILE}
.endfor

.include <bsd.port.mk>