git: 54c0c3af8a9d - main - emulators/mastergear: Refactor

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 02 Jun 2025 21:57:34 UTC
The branch main has been updated by bofh:

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

commit 54c0c3af8a9da7189e2bfdd19ca2408c4d169093
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-06-02 21:46:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-06-02 21:57:06 +0000

    emulators/mastergear: Refactor
    
    - Add LICENSE NONE as there is no mention of a license in the source
      code or distrubution. License has to be acquired from the author as
      per the website
    - Use USES=tar instead of EXTRACT_SUFX
    - Pet portclippy
---
 emulators/mastergear/Makefile | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/emulators/mastergear/Makefile b/emulators/mastergear/Makefile
index c13c6d8ace4c..4f6545beabde 100644
--- a/emulators/mastergear/Makefile
+++ b/emulators/mastergear/Makefile
@@ -1,26 +1,30 @@
 PORTNAME=	mastergear
-PORTVERSION=	2.0
-PORTREVISION=	3
+DISTVERSION=	2.0
+PORTREVISION=	4
 CATEGORIES=	emulators
 MASTER_SITES=	http://fms.komkon.org/MG/
 DISTNAME=	MG20-FreeBSD-80x86-bin
-EXTRACT_SUFX=	.tar.Z
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	SEGA Master System and Game Gear emulator for X
 WWW=		https://fms.komkon.org/MG/
 
-LIB_DEPENDS=	libc.so.5:misc/compat5x
+# There is no mention of a license in the source code.
+# License has to be acquired from the author.
+LICENSE=NONE
 
-NO_WRKSUBDIR=	yes
 ONLY_FOR_ARCHS=	i386
 ONLY_FOR_ARCHS_REASON=	is an i386 binary
 
-USES=		xorg
+LIB_DEPENDS=	libc.so.5:misc/compat5x
+
+USES=		xorg tar:Z
 USE_XORG=	x11 xext
 
-NO_BUILD=	yes
 STRIP=
+NO_BUILD=	yes
+
+NO_WRKSUBDIR=	yes
 
 OPTIONS_DEFINE=	DOCS