Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2017 07:38:19 +0000 (UTC)
From:      =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445470 - head/devel/lcov
Message-ID:  <201707110738.v6B7cJUg048305@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: romain
Date: Tue Jul 11 07:38:19 2017
New Revision: 445470
URL: https://svnweb.freebsd.org/changeset/ports/445470

Log:
  Update to 1.13
  
  - Fix license version;
  - Install using provided Makfile;
  - Use an external PLIST file.
  
  PR:		220617
  Submitted by:	ngie

Added:
  head/devel/lcov/pkg-plist   (contents, props changed)
Modified:
  head/devel/lcov/Makefile
  head/devel/lcov/distinfo

Modified: head/devel/lcov/Makefile
==============================================================================
--- head/devel/lcov/Makefile	Tue Jul 11 07:19:29 2017	(r445469)
+++ head/devel/lcov/Makefile	Tue Jul 11 07:38:19 2017	(r445470)
@@ -2,30 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	lcov
-PORTVERSION=	1.12
+PORTVERSION=	1.13
 CATEGORIES=	devel
 MASTER_SITES=	SF/ltp/Coverage%20Analysis/LCOV-${PORTVERSION}
 
 MAINTAINER=	romain@FreeBSD.org
 COMMENT=	Linux Test Project GCOV extension
 
-LICENSE=	GPLv1
+LICENSE=	GPLv2
 
 RUN_DEPENDS=	bash:shells/bash
 
 NO_BUILD=	yes
-USES=		perl5 shebangfix
+USES=		gmake perl5 shebangfix
 USE_PERL5=	run
-SHEBANG_FILES=	bin/lcov bin/gendesc bin/genhtml bin/genpng bin/geninfo
+SHEBANG_FILES=	bin/lcov bin/gendesc bin/genhtml bin/genpng bin/geninfo \
+		bin/*.pl bin/*.sh
 
-PLIST_FILES=	bin/lcov bin/gendesc bin/genhtml bin/genpng bin/geninfo \
-		man/man1/gendesc.1.gz man/man1/genhtml.1.gz \
-		man/man1/geninfo.1.gz man/man1/genpng.1.gz \
-		man/man1/lcov.1.gz man/man5/lcovrc.5.gz
+post-patch:
+	${REINPLACE_CMD} -e 's:$$(PREFIX)/share/man:$$(PREFIX)/man:' ${WRKSRC}/Makefile
 
 do-install:
-	cd ${WRKSRC}/bin && ${COPYTREE_BIN} "gendesc genhtml geninfo genpng lcov" ${STAGEDIR}${PREFIX}/bin
-	cd ${WRKSRC}/man && ${INSTALL_MAN} *.1 ${STAGEDIR}${MANPREFIX}/man/man1
-	cd ${WRKSRC}/man && ${INSTALL_MAN} *.5 ${STAGEDIR}${MANPREFIX}/man/man5
+	cd ${WRKSRC} && DESTDIR=${STAGEDIR} ${MAKE_CMD} install
 
 .include <bsd.port.mk>

Modified: head/devel/lcov/distinfo
==============================================================================
--- head/devel/lcov/distinfo	Tue Jul 11 07:19:29 2017	(r445469)
+++ head/devel/lcov/distinfo	Tue Jul 11 07:38:19 2017	(r445470)
@@ -1,2 +1,3 @@
-SHA256 (lcov-1.12.tar.gz) = b474e49c6c962754063b3be97a757a2ba9e7a455f0aea612863bf67e9b8b8ea7
-SIZE (lcov-1.12.tar.gz) = 153009
+TIMESTAMP = 1499742079
+SHA256 (lcov-1.13.tar.gz) = 44972c878482cc06a05fe78eaa3645cbfcbad6634615c3309858b207965d8a23
+SIZE (lcov-1.13.tar.gz) = 156709

Added: head/devel/lcov/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lcov/pkg-plist	Tue Jul 11 07:38:19 2017	(r445470)
@@ -0,0 +1,12 @@
+bin/genhtml
+bin/geninfo
+bin/genpng
+bin/gendesc
+bin/lcov
+etc/lcovrc
+man/man1/genhtml.1.gz
+man/man1/geninfo.1.gz
+man/man1/genpng.1.gz
+man/man1/gendesc.1.gz
+man/man1/lcov.1.gz
+man/man5/lcovrc.5.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707110738.v6B7cJUg048305>