# -*- 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 github.setup linux-test-project lcov 1.16 v categories devel maintainers {kimuraw @kimuraw} openmaintainer description \ LCOV is a graphical front-end for GCC's coverage testing tool gcov. long_description \ LCOV is a graphical front-end for GCC's coverage testing tool gcov. \ It collects gcov data for multiple source files and creates HTML \ pages containing the source code annotated with coverage information. \ It also adds overview pages for easy navigation within the file \ structure. license GPL-2+ platforms any supported_archs noarch depends_lib port:perl5 use_configure no build {} patchfiles patch-Makefile.diff destroot.env PREFIX=${prefix} post-destroot { # install docs and examples xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 \ ${worksrcpath}/README \ ${destroot}${prefix}/share/doc/${name} foreach subdir { example example/methods } { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/${subdir} xinstall -m 644 {*}[glob -type f ${worksrcpath}/${subdir}/*] \ ${destroot}${prefix}/share/doc/${name}/${subdir} } foreach cmd {lcov gendesc genhtml geninfo genpng} { reinplace "s|/usr/bin/env perl|${prefix}/bin/perl5|" ${destroot}${prefix}/bin/${cmd} } foreach cmd {lcov genhtml geninfo} { reinplace "s|\"/etc/lcovrc\"|\"${prefix}/etc/lcovrc\"|" ${destroot}${prefix}/bin/${cmd} } } github.tarball_from releases checksums rmd160 c3a76cb45d161f78b17277d3a04e1e5ab740e205 \ sha256 987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b \ size 196813