git: 4524cc4fa496 - main - japanese/fcitx-anthy: Update to 0.2.4 and flavorize for anthy-unicode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Dec 2024 09:06:58 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4524cc4fa49613104789780a3f1697cfa6cc7160
commit 4524cc4fa49613104789780a3f1697cfa6cc7160
Author: mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-12-08 03:31:49 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-12-10 09:02:59 +0000
japanese/fcitx-anthy: Update to 0.2.4 and flavorize for anthy-unicode
Changelog: https://github.com/fcitx/fcitx-anthy/commits/0.2.4/
PR: 283191
Approved by: lichray@gmail.com (maintainer)
---
japanese/fcitx-anthy/Makefile | 21 ++++++++++++++++-----
japanese/fcitx-anthy/distinfo | 6 +++---
2 files changed, 19 insertions(+), 8 deletions(-)
diff --git a/japanese/fcitx-anthy/Makefile b/japanese/fcitx-anthy/Makefile
index 12790f5d7f0a..659b18dcf714 100644
--- a/japanese/fcitx-anthy/Makefile
+++ b/japanese/fcitx-anthy/Makefile
@@ -1,6 +1,5 @@
PORTNAME= fcitx-anthy
-PORTVERSION= 0.2.3
-PORTREVISION= 1
+DISTVERSION= 0.2.4
CATEGORIES= japanese
MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/
DIST_SUBDIR= fcitx
@@ -10,11 +9,23 @@ COMMENT= Anthy support for Fcitx
WWW= https://fcitx-im.org/wiki/Fcitx
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= bash:shells/bash
-LIB_DEPENDS= libfcitx-config.so:chinese/fcitx \
- libanthy.so:japanese/anthy
+BUILD_DEPENDS= bash:shells/bash \
+ fcitx:chinese/fcitx
+
+FLAVORS= original unicode
+FLAVOR?= ${FLAVORS:[1]}
USES= cmake gettext gnome pkgconfig tar:xz
+.if ${FLAVOR} == original
+LIB_DEPENDS+= libanthy.so:japanese/anthy
+CONFLICTS_INSTALL= ${PORTNAME}-unicode
+.else
+PKGNAMESUFFIX= -unicode
+LIB_DEPENDS+= libanthy-unicode.so:japanese/anthy-unicode
+CONFLICTS_INSTALL= ${PORTNAME}
+.endif
+
.include <bsd.port.mk>
diff --git a/japanese/fcitx-anthy/distinfo b/japanese/fcitx-anthy/distinfo
index 560afc00a351..36fb2e41790e 100644
--- a/japanese/fcitx-anthy/distinfo
+++ b/japanese/fcitx-anthy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541934183
-SHA256 (fcitx/fcitx-anthy-0.2.3.tar.xz) = ed9b4956356ca68e5f7bdd46492873ebebc921a6cf713d7fc62e5680393f5d06
-SIZE (fcitx/fcitx-anthy-0.2.3.tar.xz) = 78020
+TIMESTAMP = 1733562201
+SHA256 (fcitx/fcitx-anthy-0.2.4.tar.xz) = 1f186cd915ee15ffdb85ccdc437f998fe808dfe6780447c8ccc21f50e50d5fb3
+SIZE (fcitx/fcitx-anthy-0.2.4.tar.xz) = 77856