git: 86440832a560 - main - sysutils/xmbmon: Mark DEPRECATED

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 13 Mar 2024 22:42:18 UTC
The branch main has been updated by bofh:

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

commit 86440832a56004102cd1809f772ec83f305e97a1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-03-13 21:54:34 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-03-13 22:41:43 +0000

    sysutils/xmbmon: Mark DEPRECATED
    
    - The hardwares related to this software should no longer be in
      production as they were from the 90s hence this software should no
      longer be relevant.
    - Set EXPIRATION_DATE 2024-04-13
    
    If someone needs this port feel free to undeprecate and takeover
    maintainership.
---
 sysutils/xmbmon/Makefile | 46 ++++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/sysutils/xmbmon/Makefile b/sysutils/xmbmon/Makefile
index cd8259501424..61c87b63a3a7 100644
--- a/sysutils/xmbmon/Makefile
+++ b/sysutils/xmbmon/Makefile
@@ -1,47 +1,53 @@
 PORTNAME=	xmbmon
 PORTVERSION=	205
-PORTREVISION=	15
+PORTREVISION=	16
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/${PORTNAME}/
 DISTNAME=	${PORTNAME}${PORTVERSION}
 
+PATCH_SITES+=	${MASTER_SITES}
+PATCHFILES+=	${PORTNAME}${PORTVERSION}_fflush.patch
+
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	MB monitor for LM78/79, W8378x, AS99127F, VT82C686 and ADM9240
 WWW=		http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html
 
 LICENSE=	BSD2CLAUSE
 
-PORTSCOUT=	skipv:205conf
-PATCH_SITES+=	${MASTER_SITES}
-PATCHFILES+=	${PORTNAME}${PORTVERSION}_fflush.patch
+DEPRECATED=	These hardwares are no longer available and the port is no longer relevant
+EXPIRATION_DATE=	2024-04-13
 
 ONLY_FOR_ARCHS=	i386 amd64
+
 GNU_CONFIGURE=	yes
 
+PORTSCOUT=	skipv:205conf
+
 PORTDOCS=	ChangeLog ChangeLog.jp ReadMe ReadMe.jp ReadMe.tech
 
 OPTIONS_DEFINE=	ASUS SMB DOCS
+OPTIONS_DEFAULT=SMB CLI
 OPTIONS_MULTI=	INTERFACE
 OPTIONS_MULTI_INTERFACE=	CLI X11
-OPTIONS_DEFAULT=SMB CLI
+
 ASUS_DESC=	Enable A7N8X-VM support
-SMB_DESC=	Enable smb(4) support
 CLI_DESC=	CLI support only
+SMB_DESC=	Enable smb(4) support
+
+ASUS_PATCHFILES=	${PORTNAME}${PORTVERSION}_A7N8X-VM.patch
+CLI_PLIST_FILES=	"@mode 4555"\
+			bin/mbmon \
+			@mode\
+			share/man/man1/mbmon.1.gz
+CLI_VARS=		USE_RC_SUBR=mbmon
 X11_USES=	xorg
 X11_USE=	XORG=x11,xt
 X11_MAKE_ARGS_OFF=	PROGRAM="mbmon"
-
-ASUS_PATCHFILES=	${PORTNAME}${PORTVERSION}_A7N8X-VM.patch
 X11_PLIST_FILES=	"@mode 4555"\
 			bin/xmbmon \
 			@mode\
 			lib/X11/app-defaults/XMBmon \
 			share/man/man1/${PORTNAME}.1x.gz
-CLI_PLIST_FILES=	"@mode 4555"\
-			bin/mbmon \
-			@mode\
-			share/man/man1/mbmon.1.gz
-CLI_VARS=		USE_RC_SUBR=mbmon
 
 post-patch:
 	@${REINPLACE_CMD} -e 's+/usr/share/doc/mbmon+${DOCSDIR}+' \
@@ -53,13 +59,6 @@ post-patch-SMB-on:
 do-install:
 	@${DO_NADA}
 
-do-install-X11-on:
-	${INSTALL_PROGRAM} ${WRKSRC}/xmbmon \
-		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_DATA} ${WRKSRC}/xmbmon.resources \
-		${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XMBmon
-	${INSTALL_MAN} ${WRKSRC}/xmbmon.1x ${STAGEDIR}${PREFIX}/share/man/man1
-
 do-install-CLI-on:
 	${INSTALL_PROGRAM} ${WRKSRC}/mbmon ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/mbmon.1 ${STAGEDIR}${PREFIX}/share/man/man1
@@ -68,4 +67,11 @@ do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
+do-install-X11-on:
+	${INSTALL_PROGRAM} ${WRKSRC}/xmbmon \
+		${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/xmbmon.resources \
+		${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XMBmon
+	${INSTALL_MAN} ${WRKSRC}/xmbmon.1x ${STAGEDIR}${PREFIX}/share/man/man1
+
 .include <bsd.port.mk>