[122766] trunk/dports/devel/lcov/Portfile
kimuraw at macports.org
kimuraw at macports.org
Tue Jul 29 05:31:00 PDT 2014
Revision: 122766
https://trac.macports.org/changeset/122766
Author: kimuraw at macports.org
Date: 2014-07-29 05:31:00 -0700 (Tue, 29 Jul 2014)
Log Message:
-----------
devel/lcov: upgrade to 1.11
- add depends_lib to port:perl5, reinplace shebang,
- expand tabs to spaces.
Modified Paths:
--------------
trunk/dports/devel/lcov/Portfile
Modified: trunk/dports/devel/lcov/Portfile
===================================================================
--- trunk/dports/devel/lcov/Portfile 2014-07-29 12:13:45 UTC (rev 122765)
+++ trunk/dports/devel/lcov/Portfile 2014-07-29 12:31:00 UTC (rev 122766)
@@ -3,54 +3,52 @@
PortSystem 1.0
name lcov
-version 1.10
+version 1.11
categories devel
maintainers kimuraw openmaintainer
-description \
- LCOV is a graphical front-end for GCC's coverage testing tool gcov.
+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.
+ 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+
+license GPL-2+
platforms darwin
-supported_archs noarch
+supported_archs noarch
master_sites sourceforge:ltp
-patchfiles patch-Makefile.diff \
- patch-bin-install.sh.diff
-use_configure no
-build {}
-destroot.env PREFIX=${destroot}${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}
- eval xinstall -m 644 [glob -type f ${worksrcpath}/${subdir}/*] \
- ${destroot}${prefix}/share/doc/${name}/${subdir}
- }
- # modify the location of etc/lcovrc
- reinplace "s|/etc/lcovrc|${prefix}/etc/lcovrc|" \
- ${destroot}${prefix}/bin/gendesc \
- ${destroot}${prefix}/bin/genhtml \
- ${destroot}${prefix}/bin/geninfo \
- ${destroot}${prefix}/bin/genpng \
- ${destroot}${prefix}/bin/lcov
+depends_lib port:perl5
+patchfiles patch-Makefile.diff \
+ patch-bin-install.sh.diff
+use_configure no
+build {}
+destroot.env PREFIX=${destroot}${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}
+ eval 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 b9fe33b921016fc68852c8a6beb3a3b5 \
- rmd160 515b9a26ffaa5716228fbb21436174aea7f064d7 \
- sha1 70fb361bcfd7dd81ea30731d6fe532ddea56f283 \
- sha256 8a4661becc95fafad7875786672f7f29b080437825c3ff31d55a49492c15b88f
+checksums md5 e79b799ae3ce149aa924c7520e993024 \
+ rmd160 97f65c258c2fc54fd085501de490ba7128baa4f6 \
+ sha1 bf8ed68c06805a71528a2a67dd714830afd3ccb5 \
+ sha256 c282de8d678ecbfda32ce4b5c85fc02f77c2a39a062f068bd8e774d29ddc9bf8
-livecheck.type regex
-livecheck.url ${homepage}
-livecheck.regex {>lcov-(.*).tar.gz</a>}
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex {>lcov-(.*).tar.gz</a>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140729/bd909425/attachment.html>
More information about the macports-changes
mailing list