# -*- 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 linux-test-project lcov 2.3.1 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 perl5.require_variant yes perl5.conflict_variants yes perl5.branches 5.28 5.30 5.32 5.34 perl5.default_branch 5.34 perl5.create_variants ${perl5.branches} # https://github.com/linux-test-project/lcov/blob/v2.3.1/README#L122 depends_lib port:p${perl5.major}-capture-tiny \ port:p${perl5.major}-datetime \ port:p${perl5.major}-devel-cover \ port:p${perl5.major}-digest-md5 \ port:p${perl5.major}-json-xs \ port:p${perl5.major}-module-load-conditional \ port:p${perl5.major}-pathtools \ port:p${perl5.major}-scalar-list-utils \ port:p${perl5.major}-time-hires \ port:p${perl5.major}-timedate \ github.tarball_from releases checksums rmd160 d97890a211eff9f527a50108f79588b31f18831a \ sha256 b3017679472d5fcca727254493d0eb44253c564c2c8384f86965ba9c90116704 \ size 611162 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} } }