Commit c4a81f1b authored by MANTANI Nobutaka's avatar MANTANI Nobutaka
Browse files

japanese/anthy: Remove it and its consumers

japanese/anthy uses Debian Project's fork of Anthy as the upstream
(https://salsa.debian.org/debian/anthy). The development of the upstream
has stopped for five years. There is a newer fork, anthy-unicode
(https://github.com/fujiwarat/anthy-unicode) and we have its port
japanese/anthy-unicode.

japanese/anthy-unicode has become the replacement of japanese/anthy.

japanese/kasumi and japanese/uim-anthy have been removed.
japanese/kasumi-unicode and japanese/uim-anthy-unicode have become their
replacements.

japanese/fcitx-anthy, japanese/fcitx5-anthy, and japanese/ibus-anthy
have been unflavorized in accordance with the removal of japanese/anthy.

japanese/scim-anthy has been modified to support japanese/anthy-unicode.

CONFLICTS_INSTALL has been removed because there is no conflict now.
parent 779e5041
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -4562,3 +4562,12 @@ textproc/py-libxml2|textproc/libxml2-python|2025-06-28|Use correct Python packag
audio/carla||2025-06-29|Remove expired port. Depends on expired audio/py-pyliblo
audio/lmms||2025-06-29|Remove expired port. Depends on expiring audio/carla
audio/py-pyliblo||2025-06-29|Remove expired port. Upstream is inactive for over 9 years
japanese/anthy|japanese/anthy-unicode|2025-06-29|Has expired: Use japanese/anthy-unicode instead
japanese/kasumi|japanese/kasumi-unicode|2025-06-29|Has expired: Use japanese/kasumi-unicode instead
japanese/uim-anthy|japanese/uim-anthy-unicode|2025-06-29|Has expired: Use japanese/uim-anthy-unicode instead
japanese/fcitx-anthy@original|japanese/fcitx-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/fcitx-anthy@unicode|japanese/fcitx-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/fcitx5-anthy@original|japanese/fcitx5-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/fcitx5-anthy@unicode|japanese/fcitx5-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/ibus-anthy@original|japanese/ibus-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/ibus-anthy@unicode|japanese/ibus-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
+25 −0
Original line number Diff line number Diff line
@@ -5,6 +5,31 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.

20250629:
  AFFECTS: users of japanese/anthy
  AUTHOR: nobutaka@FreeBSD.org

  japanese/anthy has been removed. Please use japanese/anthy-unicode as the
  replacement.

  japanese/anthy and japanese/anthy-unicode use different user dictionary
  file location.

  japanese/anthy: ~/.anthy/private_words_default
  japanese/anthy-unicode: ~/.config/anthy/private_words_default

  You can migrate your user dictionary for japanese/anthy with
  anthy-dic-tool-unicode.

  anthy-dic-tool-unicode --migrate

  If you use the japanese-anthy or japanese-anthy-uim input method on Emacs,
  please change them in your Emacs init file such as ~/.emacs.el and ~/.emacs
  as follows:

  japanese-anthy -> japanese-anthy-unicode
  japanese-anthy-uim -> japanese-anthy-utf8-uim

20250627:
  AFFECTS: users of finance/ktoblzcheck
  AUTHOR: jhale@FreeBSD.org
+0 −3
Original line number Diff line number Diff line
@@ -13,7 +13,6 @@
    SUBDIR += ajaxzip2-data
    SUBDIR += alias-fonts
    SUBDIR += another-htmllint
    SUBDIR += anthy
    SUBDIR += anthy-unicode
    SUBDIR += aobook
    SUBDIR += bible_names-fpw
@@ -142,7 +141,6 @@
    SUBDIR += jls
    SUBDIR += jvim3
    SUBDIR += kakasi
    SUBDIR += kasumi
    SUBDIR += kasumi-unicode
    SUBDIR += kbanner
    SUBDIR += kcc
@@ -280,7 +278,6 @@
    SUBDIR += timidity++-slang
    SUBDIR += today
    SUBDIR += tomoe
    SUBDIR += uim-anthy
    SUBDIR += uim-anthy-unicode
    SUBDIR += uim-mozc
    SUBDIR += uim-tomoe-gtk
+0 −2
Original line number Diff line number Diff line
@@ -19,8 +19,6 @@ USE_LDCONFIG= yes
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

CONFLICTS_INSTALL=	ja-anthy

ELISPDIR=	share/emacs/site-lisp/anthy-unicode
PLIST_SUB=	ELISPDIR=${ELISPDIR}

japanese/anthy/Makefile

deleted100644 → 0
+0 −77
Original line number Diff line number Diff line
PORTNAME=	anthy
PORTVERSION=	0.4
PORTREVISION=	5
PORTEPOCH=	1
CATEGORIES=	japanese
MASTER_SITES=	DEBIAN
DISTFILES=	${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX}
EXTRACT_ONLY=	${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX}

MAINTAINER=	nobutaka@FreeBSD.org
COMMENT=	Another Kana-Kanji conversion system
WWW=		https://salsa.debian.org/debian/anthy

LICENSE=	GPLv2 LGPL21
LICENSE_COMB=	multi
LICENSE_FILE_GPLv2=	${WRKSRC}/alt-cannadic/COPYING
LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING

USES=		iconv:patch libtool pathfix pkgconfig
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
DOCSDIR=	${PREFIX}/share/doc/ja/anthy
ELISPDIR=	share/emacs/site-lisp/anthy
PLIST_SUB=	ELISPDIR=${ELISPDIR}

CONFLICTS_INSTALL=	ja-anthy-unicode

OPTIONS_DEFINE=	ODIC GSKKDIC DOCS

ODIC_DESC=	Okinawa Dictionary
GSKKDIC_DESC=	SKK Dictionary

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MODIC}
MASTER_SITES+=	http://www.ofug.net/~yamajun/files/:odic
DISTFILES+=	${ODIC_SRCS}:odic
ODIC_SRCS=	${ODIC_VERS}.t
ODIC_VERS=	okinawa-20070717
.endif

.if ${PORT_OPTIONS:MGSKKDIC}
MASTER_SITES+=	http://www.ohnolab.org/~kimoto/:gskk
DISTFILES+=	${GSKK_SRCS}:gskk
GSKK_SRCS=	${GSKK_VERS}.t.gz
GSKK_VERS=	gskk-20041208
.endif

post-extract:
.if ${PORT_OPTIONS:MODIC}
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${ODIC_SRCS} ${WRKSRC}/mkworddic
	${PRINTF} "/mkworddic\\\\/base.t/a\\\\\\nread @top_srcdir@/mkworddic/${ODIC_SRCS}\\n" | \
	${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkworddic/dict.args.in
.endif

.if ${PORT_OPTIONS:MGSKKDIC}
	${CP} ${DISTDIR}/${DIST_SUBDIR}/${GSKK_SRCS} ${WRKSRC}/mkworddic
	${GUNZIP_CMD} ${WRKSRC}/mkworddic/${GSKK_SRCS}
	${PRINTF} "/mkworddic\\\\/base.t/a\\\\\\nread @top_srcdir@/mkworddic/${GSKK_VERS}.t\\n" | \
	${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkworddic/dict.args.in
.endif

post-patch:
	${REINPLACE_CMD} -e \
		's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
	${CP} ${WRKSRC}/src-util/rkhelper.c ${WRKSRC}/src-util/rkhelper.c.orig
	${ICONV_CMD} -f utf-8 -t euc-jp ${WRKSRC}/src-util/rkhelper.c.orig >  ${WRKSRC}/src-util/rkhelper.c

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
	${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${STAGEDIR}${PREFIX}/${ELISPDIR}
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
Loading