Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2018 14:52:57 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473838 - head/benchmarks/typometer
Message-ID:  <201807031452.w63Eqv82011261@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Jul  3 14:52:56 2018
New Revision: 473838
URL: https://svnweb.freebsd.org/changeset/ports/473838

Log:
  - Update `benchmarks/typometer' to version 1.0.1
  - Fetch the distfile from the upstream GitHub instead of my mirror
  - Project was relicensed under Apache License 2
  - Fix shebang in the wrapper script and call ${JAVA} via ``exec'' so
    it replaces sh(1) process (makes it look nicer in the ps(1) output)
  - Fix an apparent typo in the port description text

Modified:
  head/benchmarks/typometer/Makefile
  head/benchmarks/typometer/distinfo
  head/benchmarks/typometer/pkg-descr

Modified: head/benchmarks/typometer/Makefile
==============================================================================
--- head/benchmarks/typometer/Makefile	Tue Jul  3 14:47:46 2018	(r473837)
+++ head/benchmarks/typometer/Makefile	Tue Jul  3 14:52:56 2018	(r473838)
@@ -2,15 +2,16 @@
 # $FreeBSD$
 
 PORTNAME=	typometer
-PORTVERSION=	1.0
+PORTVERSION=	1.0.1
 DISTVERSIONSUFFIX=	-bin
 CATEGORIES=	benchmarks java
-MASTER_SITES=	http://freebsd.nsu.ru/distfiles/
+# Not USE_GITHUB because we want to grab the binary release (it's Java)
+MASTER_SITES=	https://github.com/pavelfatin/${PORTNAME}/releases/download/v${PORTVERSION}/
 
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Text/code editor typing latency analyzer
 
-LICENSE=	GPLv3
+LICENSE=	APACHE20
 
 USES=		zip
 USE_JAVA=	yes
@@ -27,7 +28,7 @@ OPTIONS_DEFINE=	DOCS
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar \
 		${STAGEDIR}${PREFIX}/bin
-	${PRINTF} "!#/bin/sh\n\n%s %s\n" "${JAVA} -jar" \
+	${PRINTF} "#!/bin/sh\n\n%s %s\n" "exec ${JAVA} -jar" \
 		"${PREFIX}/bin/${PORTNAME}-${PORTVERSION}.jar" \
 			> ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

Modified: head/benchmarks/typometer/distinfo
==============================================================================
--- head/benchmarks/typometer/distinfo	Tue Jul  3 14:47:46 2018	(r473837)
+++ head/benchmarks/typometer/distinfo	Tue Jul  3 14:52:56 2018	(r473838)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495384190
-SHA256 (typometer-1.0-bin.zip) = e1215b858ea189706d482da56b454bf38b04782cded662dd80c4945f6a942f32
-SIZE (typometer-1.0-bin.zip) = 488689
+TIMESTAMP = 1506080229
+SHA256 (typometer-1.0.1-bin.zip) = 8afc176ef7b5b94021640be3089c7f7adbe94f0bdc5b15b84308e765fcb68d35
+SIZE (typometer-1.0.1-bin.zip) = 475095

Modified: head/benchmarks/typometer/pkg-descr
==============================================================================
--- head/benchmarks/typometer/pkg-descr	Tue Jul  3 14:47:46 2018	(r473837)
+++ head/benchmarks/typometer/pkg-descr	Tue Jul  3 14:52:56 2018	(r473838)
@@ -14,6 +14,6 @@ update, in particular -- delay between keystroke and c
 While there are many kinds of delays (caret movement, line editing, etc.),
 typing latency is a major predictor of editor usability.
 
-Java 8 or latter is required to run the program.
+Java 8 or later is required to run the program.
 
 WWW: https://pavelfatin.com/typometer/



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