pkgsrc-WIP-changes archive

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

cmetrics: fix master site and update to 0.2



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Thu Nov 12 20:23:36 2015 +0100
Changeset:	4ae52d6e564653a840222cb63ff0646146c33253

Modified Files:
	cmetrics/Makefile
	cmetrics/PLIST
	cmetrics/distinfo

Log Message:
cmetrics: fix master site and update to 0.2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4ae52d6e564653a840222cb63ff0646146c33253

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cmetrics/Makefile | 13 +++++++++----
 cmetrics/PLIST    |  3 ++-
 cmetrics/distinfo |  7 ++++---
 3 files changed, 15 insertions(+), 8 deletions(-)

diffs:
diff --git a/cmetrics/Makefile b/cmetrics/Makefile
index b2d2776..e385e12 100644
--- a/cmetrics/Makefile
+++ b/cmetrics/Makefile
@@ -1,22 +1,27 @@
 # $NetBSD: Makefile,v 1.3 2012/09/24 18:26:54 asau Exp $
 #
 
-DISTNAME=	cmetrics-0.11
+DISTNAME=	CMetrics-0.2
 CATEGORIES=	devel
-MASTER_SITES=	http://forge.morfeo-project.org/frs/download.php/750/
+MASTER_SITES=	${MASTER_SITE_GITHUB:=MetricsGrimoire/}
+GITHUB_PROJECT=	CMetrics
+GITHUB_TAG=	${PKGVERSION}
 
 MAINTAINER=	jihbed.research%gmail.com@localhost
-HOMEPAGE=	http://tools.libresoft.es/cmetrics
+HOMEPAGE=	https://github.com/MetricsGrimoire/CMetrics
 COMMENT=	Size and complexity metrics for C source code files
 LICENSE=	gnu-gpl-v2
 
 GNU_CONFIGURE=	yes
-USE_TOOLS+=	flex
+USE_TOOLS+=	flex autoconf automake autoreconf
 
 DOCDIR=	${PREFIX}/share/doc/cmetrics
 
 INSTALLATION_DIRS+=	${DOCDIR}
 
+pre-configure:
+	cd ${WRKSRC} && autoreconf -vif
+
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
 
diff --git a/cmetrics/PLIST b/cmetrics/PLIST
index c9b9bef..e07e129 100644
--- a/cmetrics/PLIST
+++ b/cmetrics/PLIST
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2010/06/02 14:54:44 jihbed Exp $
+@comment $NetBSD$
 bin/c_halsfilt
+bin/cmetrics
 bin/halstead
 bin/kdsi
 bin/mccabe
diff --git a/cmetrics/distinfo b/cmetrics/distinfo
index 0a3f607..b5511a2 100644
--- a/cmetrics/distinfo
+++ b/cmetrics/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.1.1.1 2010/06/02 14:54:44 jihbed Exp $
 
-SHA1 (cmetrics-0.11.tar.gz) = b67bdaf879a0ccc608f65dda9addfbc0b3da5cae
-RMD160 (cmetrics-0.11.tar.gz) = ed3935078cd7e7fc0c605ea89a05a03bda749fff
-Size (cmetrics-0.11.tar.gz) = 112394 bytes
+SHA1 (CMetrics-0.2.tar.gz) = 9b345c5b1230661fbe88b617ffecced9e8bebb19
+RMD160 (CMetrics-0.2.tar.gz) = cfa6a1fbef89563b07d6cd9aea7dbdf848ade65d
+SHA512 (CMetrics-0.2.tar.gz) = 1aea73427a3bf1538644b49795941ed303f6a654475673db5e8febd3ecc03d1f0da08369f8c51081275db6691d2f7b9b5ea123eaa60234885a8acdffae1c1ee5
+Size (CMetrics-0.2.tar.gz) = 24730 bytes


Home | Main Index | Thread Index | Old Index