pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/lcov Import new package: lcov.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/980ba6a537b7
branches:  trunk
changeset: 570148:980ba6a537b7
user:      reed <reed%pkgsrc.org@localhost>
date:      Tue Jan 26 01:05:04 2010 +0000

description:
Import new package: lcov.

LCOV is a front-end around gcov, the GCC code coverage tool. It
collects the gcov data and creates HTML webpages showing coverage
rates using bar graphs and specific colors.  It can also create
webpages for browsing the source code.

diffstat:

 devel/lcov/DESCR    |   4 ++++
 devel/lcov/Makefile |  43 +++++++++++++++++++++++++++++++++++++++++++
 devel/lcov/PLIST    |  13 +++++++++++++
 devel/lcov/distinfo |   5 +++++
 4 files changed, 65 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r 8d65e8fb8d35 -r 980ba6a537b7 devel/lcov/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcov/DESCR  Tue Jan 26 01:05:04 2010 +0000
@@ -0,0 +1,4 @@
+LCOV is a front-end around gcov, the GCC code coverage tool. It
+collects the gcov data and creates HTML webpages showing coverage
+rates using bar graphs and specific colors.  It can also create
+webpages for browsing the source code.
diff -r 8d65e8fb8d35 -r 980ba6a537b7 devel/lcov/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcov/Makefile       Tue Jan 26 01:05:04 2010 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/01/26 01:05:04 reed Exp $
+#
+
+DISTNAME=      lcov-1.7
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ltp/}
+
+MAINTAINER=    reed%reedmedia.net@localhost
+HOMEPAGE=      http://ltp.sourceforge.net/coverage/lcov.php
+COMMENT=       Front-end for GCC's coverage testing tool gcov
+
+NO_BUILD=              yes
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 share/examples/lcov
+PKG_DESTDIR_SUPPORT=   user-destdir
+USE_TOOLS+=            perl
+
+REPLACE_PERL=          bin/gendesc bin/genhtml bin/geninfo bin/genpng bin/lcov
+
+SUBST_CLASSES+=                egdir
+SUBST_STAGE.egdir=      post-patch
+SUBST_FILES.egdir=     bin/genhtml
+SUBST_FILES.egdir+=    bin/geninfo
+SUBST_FILES.egdir+=    bin/lcov
+SUBST_SED.egdir=       -e 's,"/etc/lcovrc","'${PKG_SYSCONFDIR}/lcovrc'",g'
+
+CONF_FILES=    ${PREFIX}/share/examples/lcov/lcovrc \
+               ${PKG_SYSCONFDIR}/lcovrc
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/lcov ${DESTDIR}${PREFIX}/bin/lcov
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/genhtml ${DESTDIR}${PREFIX}/bin/genhtml
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/geninfo ${DESTDIR}${PREFIX}/bin/geninfo
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/genpng ${DESTDIR}${PREFIX}/bin/genpng
+       ${INSTALL_SCRIPT} ${WRKSRC}/bin/gendesc ${DESTDIR}${PREFIX}/bin/gendesc
+       ${INSTALL_MAN} ${WRKSRC}/man/lcov.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/lcov.1
+       ${INSTALL_MAN} ${WRKSRC}/man/genhtml.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/genhtml.1
+       ${INSTALL_MAN} ${WRKSRC}/man/geninfo.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/geninfo.1
+       ${INSTALL_MAN} ${WRKSRC}/man/genpng.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/genpng.1
+       ${INSTALL_MAN} ${WRKSRC}/man/gendesc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/gendesc.1
+       ${INSTALL_MAN} ${WRKSRC}/man/lcovrc.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/lcovrc.5
+       ${INSTALL_DATA} ${WRKSRC}/lcovrc ${DESTDIR}${PREFIX}/share/examples/lcov/lcovrc
+
+.include "../../mk/bsd.pkg.mk"
diff -r 8d65e8fb8d35 -r 980ba6a537b7 devel/lcov/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcov/PLIST  Tue Jan 26 01:05:04 2010 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/01/26 01:05:04 reed Exp $
+bin/lcov
+bin/genhtml
+bin/geninfo
+bin/genpng
+bin/gendesc
+man/man1/lcov.1
+man/man1/genhtml.1
+man/man1/geninfo.1
+man/man1/genpng.1
+man/man1/gendesc.1
+man/man5/lcovrc.5
+share/examples/lcov/lcovrc
diff -r 8d65e8fb8d35 -r 980ba6a537b7 devel/lcov/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lcov/distinfo       Tue Jan 26 01:05:04 2010 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/01/26 01:05:04 reed Exp $
+
+SHA1 (lcov-1.7.tar.gz) = 3cbf50d1e4be3d61acedd243aaed264a4b24a3a6
+RMD160 (lcov-1.7.tar.gz) = 2a53f7037a78ee3ddb761c0c2c109a111a318956
+Size (lcov-1.7.tar.gz) = 109396 bytes



Home | Main Index | Thread Index | Old Index