source: trunk/dports/devel/lcov/Portfile

Last change on this file was 141087, checked in by kimuraw@…, 2 years ago

devel/lcov: upgrade to 1.12, that supports Xcode 7 (#49185)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# $Id: Portfile 141087 2015-10-10 08:34:18Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            lcov
6version         1.12
7categories      devel
8maintainers     kimuraw openmaintainer
9description     \
10        LCOV is a graphical front-end for GCC's coverage testing tool gcov.
11long_description \
12        LCOV is a graphical front-end for GCC's coverage testing tool gcov. \
13        It collects gcov data for multiple source files and creates HTML \
14        pages containing the source code annotated with coverage information. \
15        It also adds overview pages for easy navigation within the file \
16        structure.
17
18homepage        http://ltp.sourceforge.net/coverage/lcov.php
19license         GPL-2+
20platforms       darwin
21supported_archs noarch
22master_sites    sourceforge:ltp
23depends_lib     port:perl5
24patchfiles      patch-Makefile.diff \
25                patch-bin-install.sh.diff
26use_configure   no
27build           {}
28destroot.env    PREFIX=${destroot}${prefix}
29post-destroot   {
30        # install docs and examples
31        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
32        xinstall -m 644 \
33            ${worksrcpath}/README \
34            ${worksrcpath}/CHANGES \
35                ${destroot}${prefix}/share/doc/${name}
36        foreach subdir { example example/methods } {
37            xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/${subdir}
38            eval xinstall -m 644 [glob -type f ${worksrcpath}/${subdir}/*] \
39                ${destroot}${prefix}/share/doc/${name}/${subdir}
40        }
41        foreach cmd [glob ${destroot}${prefix}/bin/*] {
42            reinplace "s|/usr/bin/perl|${prefix}/bin/perl5|" ${cmd}
43            reinplace "s|/etc/lcovrc|${prefix}/etc/lcovrc|" ${cmd}
44        }
45}
46checksums       md5     e497f9b77a93c6dda4e594cd8a67f634 \
47                rmd160  f758ce5baad5c052b28a1209f15d9b4a2284a369 \
48                sha1    7b1c53da770cba5bdc1ff7779162bc4c5dff0708 \
49                sha256  b474e49c6c962754063b3be97a757a2ba9e7a455f0aea612863bf67e9b8b8ea7
50
51livecheck.type  regex
52livecheck.url   ${homepage}
53livecheck.regex {>lcov-(.*).tar.gz</a>}
54
Note: See TracBrowser for help on using the repository browser.