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,20 +1,31 @@ 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 MAINTAINER= lichray@gmail.com 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 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