diff options
author | reed <reed> | 2010-01-26 01:05:04 +0000 |
---|---|---|
committer | reed <reed> | 2010-01-26 01:05:04 +0000 |
commit | 8ab845d7b8fe2086f6ddde1c19fcacfe05ddf329 (patch) | |
tree | 5708b54dcefaae39035600878d5a01a06a0fed70 /devel/lcov | |
parent | c151e9f3f02e2bd6edcfbe26596aa3cd21e626fb (diff) | |
download | pkgsrc-8ab845d7b8fe2086f6ddde1c19fcacfe05ddf329.tar.gz |
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 (limited to 'devel/lcov')
-rw-r--r-- | devel/lcov/DESCR | 4 | ||||
-rw-r--r-- | devel/lcov/Makefile | 43 | ||||
-rw-r--r-- | devel/lcov/PLIST | 13 | ||||
-rw-r--r-- | devel/lcov/distinfo | 5 |
4 files changed, 65 insertions, 0 deletions
diff --git a/devel/lcov/DESCR b/devel/lcov/DESCR new file mode 100644 index 00000000000..0677e0f9589 --- /dev/null +++ b/devel/lcov/DESCR @@ -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 --git a/devel/lcov/Makefile b/devel/lcov/Makefile new file mode 100644 index 00000000000..b5ef23ee219 --- /dev/null +++ b/devel/lcov/Makefile @@ -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 +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 --git a/devel/lcov/PLIST b/devel/lcov/PLIST new file mode 100644 index 00000000000..a7b6e794599 --- /dev/null +++ b/devel/lcov/PLIST @@ -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 --git a/devel/lcov/distinfo b/devel/lcov/distinfo new file mode 100644 index 00000000000..76fea2e5c45 --- /dev/null +++ b/devel/lcov/distinfo @@ -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 |