git: 7e012a14206e - main - misc/bsod: update 0.1 → 0.2

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 27 Feb 2024 21:15:24 UTC
The branch main has been updated by amdmi3:

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

commit 7e012a14206e5c50f9796b2e056150c323fc3ac5
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2024-02-27 18:21:05 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2024-02-27 21:15:20 +0000

    misc/bsod: update 0.1 → 0.2
    
    - Chase upstream move and license change
    - Do not install useless readme
---
 misc/bsod/Makefile | 21 +++++++--------------
 misc/bsod/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 17 deletions(-)

diff --git a/misc/bsod/Makefile b/misc/bsod/Makefile
index 981b98579ee3..38ed86b82ebd 100644
--- a/misc/bsod/Makefile
+++ b/misc/bsod/Makefile
@@ -1,31 +1,24 @@
 PORTNAME=	bsod
-PORTVERSION=	0.1
+DISTVERSIONPREFIX=v
+DISTVERSION=	0.2
 CATEGORIES=	misc
-MASTER_SITES=	https://www.vanheusden.com/bsod/ \
-		http://mirror.amdmi3.ru/distfiles/
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Experience the authentic Microsoft Windows experience
-WWW=		https://www.vanheusden.com/bsod/
+WWW=		https://github.com/folkertvanheusden/bsod
 
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/license.txt
+LICENSE=	PD
 
 USES=		ncurses tar:tgz
+USE_GITHUB=	yes
+GH_ACCOUNT=	folkertvanheusden
 
-PORTDOCS=	*
 PLIST_FILES=	bin/${PORTNAME}
 
-OPTIONS_DEFINE=	DOCS
-
 do-build:
-	cd ${WRKSRC} && ${CC} ${CFLAGS} -I${NCURSESINC} -L${NCURSESLIB} -lncurses -o ${PORTNAME} ${PORTNAME}.c
+	cd ${WRKSRC} && ${CC} ${CFLAGS} -DVERSION=\"${DISTVERSION}\" -I${NCURSESINC} -L${NCURSESLIB} -lncurses -o ${PORTNAME} ${PORTNAME}.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
-post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/
-
 .include <bsd.port.mk>
diff --git a/misc/bsod/distinfo b/misc/bsod/distinfo
index a0055c061f3d..7f988c1ab24e 100644
--- a/misc/bsod/distinfo
+++ b/misc/bsod/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1478620643
-SHA256 (bsod-0.1.tgz) = ad6eb83637d1eb655ca7891933916266bd0624e08823490083b960ff15531c43
-SIZE (bsod-0.1.tgz) = 10128
+TIMESTAMP = 1709056229
+SHA256 (folkertvanheusden-bsod-v0.2_GH0.tar.gz) = cb61fd29e0e8e27492afdcac6cc59ac73ad644b891a7fa007877654f39c3eaf0
+SIZE (folkertvanheusden-bsod-v0.2_GH0.tar.gz) = 4413