# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup github 1.0 PortGroup perl5 1.0 github.setup brendangregg FlameGraph cd9ee4c4449775a2f867acf31c84b7fe4b132ad5 name [string tolower ${github.project}] # version is YYYYY.MM.DD date of commit hash version 2023.11.07 revision 0 categories-append devel supported_archs noarch platforms any license CDDL maintainers nomaintainer description Stack trace visualizer long_description Flame graphs are a visualization of hierarchical \ data, created to visualize stack traces of \ profiled software so that the most frequent \ code-paths to be identified quickly and accurately. homepage https://www.brendangregg.com/flamegraphs.html checksums rmd160 21e460f828fef793bb383f74eb4698753abb7a7f \ sha256 5131a2c88f5fc6fbfa0f631706f5970bdc7aa368bb31eccac2dc5685c7b9b921 \ size 1063256 github.tarball_from archive perl5.major 5.34 depends_run-append port:p${perl5.major}-getopt-long use_configure no build { foreach pl [glob ${worksrcpath}/*.pl] { reinplace -W ${worksrcpath} -E \ "1 s|^(#!)/usr/bin/perl|\\1${perl5.bin}|" \ ${pl} } } destroot { xinstall -d ${destroot}${prefix}/lib/${name}/bin foreach f [glob ${worksrcpath}/*.{pl,py,awk,php}] { xinstall ${f} ${destroot}${prefix}/lib/${name}/bin } xinstall ${worksrcpath}/jmaps ${destroot}${prefix}/lib/${name}/bin } test.run yes test.cmd ./test.sh test.dir ${worksrcpath}