git: 88d9678c1ffa - main - games/oneko-sakura: Take maintainership

From: Kousuke Kannagi <mce_at_FreeBSD.org>
Date: Fri, 18 Sep 2026 17:40:50 UTC
The branch main has been updated by mce:

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

commit 88d9678c1ffa3a85200958d48aea3211326c7da1
Author:     Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-09-17 02:57:24 +0000
Commit:     Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-09-18 17:39:16 +0000

    games/oneko-sakura: Take maintainership
    
    Switch from REINPLACE_CMD to patch file.
    
    PR:             298594
    Approved by:    fluffy (mentor)
---
 games/oneko-sakura/Makefile              | 20 ++++----------------
 games/oneko-sakura/files/patch-Imakefile | 14 ++++++++++++++
 games/oneko-sakura/pkg-descr             |  1 -
 3 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/games/oneko-sakura/Makefile b/games/oneko-sakura/Makefile
index 36a78c9b9626..a5c881d1d549 100644
--- a/games/oneko-sakura/Makefile
+++ b/games/oneko-sakura/Makefile
@@ -1,12 +1,12 @@
 PORTNAME=	oneko
-PORTVERSION=	1.2
-PORTREVISION=	3
+DISTVERSION=	1.2
+PORTREVISION=	4
 CATEGORIES=	games
 MASTER_SITES=	http://www.daidouji.com/oneko/distfiles/
-DISTNAME=	${PORTNAME}-${PORTVERSION}.sakura.5
 PKGNAMESUFFIX=	-sakura
+DISTNAME=	${PORTNAME}-${DISTVERSION}.sakura.5
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	mce@FreeBSD.org
 COMMENT=	Cat, Sakura or Tomoyo chasing a mouse all over the screen
 WWW=		http://www.daidouji.com/oneko/
 
@@ -16,21 +16,9 @@ LICENSE_NAME=	oneko
 LICENSE_TEXT=	Including derivatives from CARDCAPTOR SAKURA. See http://www.clamp-net.com/ -> INFORMATION
 LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
-CONFLICTS=	oneko-2.*
-
 USES=		imake xorg
 USE_XORG=	x11 xext
 PLIST_FILES=	bin/oneko \
 		share/man/man6/oneko.6.gz
 
-pre-configure:
-	@${REINPLACE_CMD} -e 's,/\*\*/# Cannot compile in using Gcc,/* Cannot compile using Gcc */,' \
-		${WRKSRC}/Imakefile
-	@${ECHO_CMD} "MANSUFFIX=6" >>${WRKSRC}/Imakefile
-
-post-configure:
-	@${REINPLACE_CMD} -e 's,^all:: oneko\..*\.html$$,,' \
-			  -e 's,^install.man:: oneko\..*\.html$$,do-nada:,' \
-		${WRKSRC}/Makefile
-
 .include <bsd.port.mk>
diff --git a/games/oneko-sakura/files/patch-Imakefile b/games/oneko-sakura/files/patch-Imakefile
new file mode 100644
index 000000000000..175f7cc390bf
--- /dev/null
+++ b/games/oneko-sakura/files/patch-Imakefile
@@ -0,0 +1,14 @@
+--- Imakefile.orig	1999-06-05 14:03:59 UTC
++++ Imakefile
+@@ -1,4 +1,4 @@
+-/**/# Cannot compile in using Gcc
++/* Cannot compile using Gcc */
+ #             CC = cc
+ 
+   SYS_LIBRARIES = MathLibrary
+@@ -9,3 +9,5 @@ SimpleProgramTarget(oneko)
+ SimpleProgramTarget(oneko)
+ 
+ /* InstallAppDefaults(Oneko) */
++
++MANSUFFIX=6
diff --git a/games/oneko-sakura/pkg-descr b/games/oneko-sakura/pkg-descr
index f4da6c4ae0dc..d432a6fadc53 100644
--- a/games/oneko-sakura/pkg-descr
+++ b/games/oneko-sakura/pkg-descr
@@ -9,4 +9,3 @@ CLAMP-NET.COM (http://www.clamp-net.com/).
 Modified to support -name, -towindow, -toname and -tofocus.
 
 by Kiichiroh Mukose <mukose@hbar.mp.es.osaka-u.ac.jp>,
-This port maintainer is:	HOTARU-YA <hotaru@tail.net>