PortSystem 1.0 name lcov version 1.13 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. homepage http://ltp.sourceforge.net/coverage/lcov.php license GPL-2+ platforms darwin supported_archs noarch master_sites sourceforge:ltp 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 \ ${worksrcpath}/CHANGES \ ${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 [glob ${destroot}${prefix}/bin/*] { reinplace "s|/usr/bin/perl|${prefix}/bin/perl5|" ${cmd} reinplace "s|/etc/lcovrc|${prefix}/etc/lcovrc|" ${cmd} } } checksums md5 27c003662136063c8dfe479242eff0b5 \ rmd160 a67ba7b37e12a561139d45db0e9837d07bd8c98c \ sha1 f23baf68b45d0187138514f416e4ee383c5f3f0e \ sha256 44972c878482cc06a05fe78eaa3645cbfcbad6634615c3309858b207965d8a23 livecheck.type regex livecheck.url ${homepage} livecheck.regex {>lcov-(.*).tar.gz}