git: a74ec6c5ad23 - main - games/wipeclean: Revert previous commit to unbreak

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 27 Feb 2022 08:48:06 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a74ec6c5ad23697648285eb68289e770df55849b

commit a74ec6c5ad23697648285eb68289e770df55849b
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2022-02-27 08:43:46 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2022-02-27 08:43:46 +0000

    games/wipeclean: Revert previous commit to unbreak
    
    With the previous update a new npm dependency was introduced that
    breaks this port. This went unnoticed because in a local test
    environment the dependency was installed via npm.
    
    Revert to previous working version of this port until a solution
    is found.
---
 games/wipeclean/Makefile | 13 ++++++++-----
 games/wipeclean/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/games/wipeclean/Makefile b/games/wipeclean/Makefile
index aef915f8c61b..bf61fa8bde50 100644
--- a/games/wipeclean/Makefile
+++ b/games/wipeclean/Makefile
@@ -1,23 +1,26 @@
 # Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
 
 PORTNAME=	wipeclean
-PORTVERSION=	1.1.0
+PORTVERSION=	g20220222
+PORTEPOCH=	1
 CATEGORIES=	games
-MASTER_SITES=	https://registry.npmjs.org/wipeclean/-/
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	CLI tool to wipe away your error messages in style
 
 LICENSE=	ISCL
 
-USES=		nodejs:run tar:tgz
+USES=		nodejs:run
+USE_GITHUB=	yes
+GH_ACCOUNT=	JeanJouliaCode
+GH_PROJECT=	wipeClean
+GH_TAGNAME=	858b089
 NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
 
 PLIST_FILES=	bin/wipeclean
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/package/index.js \
+	${INSTALL_SCRIPT} ${WRKSRC}/index.js \
 		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/games/wipeclean/distinfo b/games/wipeclean/distinfo
index df0602fd940b..930a20aae7de 100644
--- a/games/wipeclean/distinfo
+++ b/games/wipeclean/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645904592
-SHA256 (wipeclean-1.1.0.tgz) = 9106289278472c83256c217c5003d89c07e11a13aff989d4ee073060e9476394
-SIZE (wipeclean-1.1.0.tgz) = 3023
+TIMESTAMP = 1645734318
+SHA256 (JeanJouliaCode-wipeClean-g20220222-858b089_GH0.tar.gz) = 778f84a787fb06e72adebd19406719df9eb33007328a3512119810bb2a9d577f
+SIZE (JeanJouliaCode-wipeClean-g20220222-858b089_GH0.tar.gz) = 2347