diff --git a/chinese/bsdconv-opencc/Makefile b/chinese/bsdconv-opencc/Makefile index 0d6098ec98d7..4a34c38f3e55 100644 --- a/chinese/bsdconv-opencc/Makefile +++ b/chinese/bsdconv-opencc/Makefile @@ -1,30 +1,31 @@ PORTNAME= opencc PORTVERSION= 11.5 +PORTREVISION= 1 CATEGORIES= chinese converters PKGNAMEPREFIX= bsdconv- MAINTAINER= buganini@gmail.com COMMENT= OpenCC conversion module for bsdconv WWW= https://github.com/buganini/bsdconv-opencc LICENSE= BSD2CLAUSE BUILD_DEPENDS= ${LOCALBASE}/bin/bsdconv-mktable:converters/bsdconv LIB_DEPENDS= libbsdconv.so:converters/bsdconv \ libopencc.so:chinese/opencc PLIST_FILES= share/bsdconv/inter/OPENCC \ share/bsdconv/inter/OPENCC.man \ share/bsdconv/inter/OPENCC.so USE_GITHUB= yes GH_ACCOUNT= buganini GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME} pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/ post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/bsdconv/inter/OPENCC.so .include diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile index 081fe35f4094..518d0d3d45ee 100644 --- a/chinese/fcitx/Makefile +++ b/chinese/fcitx/Makefile @@ -1,99 +1,99 @@ PORTNAME= fcitx DISTVERSION= 4.2.9.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= chinese x11 MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \ http://download.fcitx-im.org/data/:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:fcitx \ en_dict-${_DICT_VER}.tar.gz:data \ pinyin.tar.gz:data \ py_stroke-${_PYSTROKE_VER}.tar.gz:data \ py_table-${_PYTABLE_VER}.tar.gz:data \ table.tar.gz:data DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lichray@gmail.com COMMENT= Flexible Input Method Framework WWW= https://fcitx-im.org/wiki/Fcitx LICENSE= GPLv2 BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ bash:shells/bash \ ${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config LIB_DEPENDS= libcairo.so:graphics/cairo \ libdbus-1.so:devel/dbus \ libenchant-2.so:textproc/enchant2 \ libjson-c.so:devel/json-c \ libXfixes.so:x11/libXfixes \ libXinerama.so:x11/libXinerama \ libXrender.so:x11/libXrender \ libxkbcommon.so:x11/libxkbcommon \ libuuid.so:misc/libuuid RUN_DEPENDS= xdg-open:devel/xdg-utils \ xkeyboard-config>=0:x11/xkeyboard-config USES= compiler:c++11-lang gnome tar:xz cmake:noninja desktop-file-utils \ gettext-tools:build,run gettext-runtime iconv:wchar_t \ kde:5 pkgconfig shared-mime-info compiler:c++14-lang xorg USE_GNOME= intltool introspection libxml2 pango USE_KDE= ecm:build USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xkbfile CMAKE_ARGS= -DDATADIR=${DATADIR} \ -DGOBJECT_INTROSPECTION_GIRDIR=${PREFIX}/share/gir-1.0 \ -DGOBJECT_INTROSPECTION_TYPELIBDIR=${PREFIX}/lib/girepository-1.0 \ -DPREFIX=${PREFIX} CMAKE_ON= FORCE_ENCHANT .if defined(WITH_DEBUG) CMAKE_ON+= ENABLE_DEBUG .endif CMAKE_OFF= ENABLE_QT \ ENABLE_QT_IM_MODULE \ ENABLE_QT_GUI \ ENABLE_XDGAUTOSTART \ LIBICONV_LIBC_HAS_ICONV_OPEN \ CONFLICTS_INSTALL= fcitx5 zh-fcitx5-chinese-addons # bin/createPYMB share/icons/hicolor/128x128/apps/fcitx.png share/icons/hicolor/16x16/apps/fcitx-fullwidth-active.png SUB_FILES= pkg-message SUB_LIST= DESKTOPDIR=${DESKTOPDIR} OPTIONS_DEFINE= DOCS GTK2 GTK3 OPENCC TPUNC OPTIONS_DEFAULT= GTK2 GTK3 OPTIONS_SUB= yes GTK2_DESC= Enable Gtk2 IM module GTK3_DESC= Enable Gtk3 IM module OPENCC_DESC= Enable OpenCC for Chinese Transform TPUNC_DESC= Use traditional quotation marks GTK2_USE= GNOME=gtk20 GTK2_CMAKE_BOOL= ENABLE_GTK2_IM_MODULE GTK2_VARS= SUB_LIST+=GTK2_IM=fcitx GTK2_VARS_OFF= SUB_LIST+=GTK2_IM=xim GTK3_USE= GNOME=gtk30 GTK3_CMAKE_BOOL= ENABLE_GTK3_IM_MODULE GTK3_VARS= SUB_LIST+=GTK3_IM=fcitx GTK3_VARS_OFF= SUB_LIST+=GTK3_IM=xim OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc OPENCC_CMAKE_BOOL= ENABLE_OPENCC TPUNC_EXTRA_PATCHES= ${PATCHDIR}/tpunc-data_punc.mb.zh_CN _DICT_VER= 20121020 _PYSTROKE_VER= 20121124 _PYTABLE_VER= 20121124 post-patch: @${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/src/module/spell/dict/ @${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/src/im/pinyin/data/ @${CP} ${_DISTDIR}/py_stroke-${_PYSTROKE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/ @${CP} ${_DISTDIR}/py_table-${_PYTABLE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/ @${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/src/im/table/data/ .include diff --git a/chinese/fcitx5-chinese-addons/Makefile b/chinese/fcitx5-chinese-addons/Makefile index 6f57bfd8a74c..6a5f4392e343 100644 --- a/chinese/fcitx5-chinese-addons/Makefile +++ b/chinese/fcitx5-chinese-addons/Makefile @@ -1,59 +1,60 @@ PORTNAME= fcitx5-chinese-addons DISTVERSION= 5.1.11 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \ https://download.fcitx-im.org/data/:py_stroke,py_table DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PY_STROKE_TAR}:py_stroke \ ${PY_TABLE_TAR}:py_table DIST_SUBDIR= ${PORTNAME} MAINTAINER= khng@FreeBSD.org COMMENT= Pinyin and table input method support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-chinese-addons LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt BUILD_DEPENDS= fcitx5-lua>0:textproc/fcitx5-lua LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libcurl.so:ftp/curl \ libFcitx5Core.so:textproc/fcitx5 \ libfmt.so:devel/libfmt \ libIMEPinyin.so:chinese/libime \ libopencc.so:chinese/opencc RUN_DEPENDS= fcitx5-lua>0:textproc/fcitx5-lua USES= cmake compiler:c++17-lang gettext kde:5 localbase pkgconfig \ tar:zst OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI USE_LDCONFIG= yes GUI_DESC= Configuration GUI GUI_USES= qt:6 GUI_USE= qt=base,webengine GUI_LIB_DEPENDS= libFcitx5Qt6DBusAddons.so:textproc/fcitx5-qt@qt6 GUI_CMAKE_ON= -DUSE_WEBKIT:BOOL=false USE_KDE= ecm CMAKE_ON= ENABLE_OPENCC CMAKE_OFF= ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE CONFLICTS_INSTALL= zh-fcitx # share/icons/hicolor/16x16/apps/fcitx-fullwidth-active.png # These must follow modules/pinyinhelper/CMakeLists.txt PY_STROKE_VER= 20250329 PY_TABLE_VER= 20121124 PY_STROKE_TAR= py_stroke-${PY_STROKE_VER}.tar.gz PY_TABLE_TAR= py_table-${PY_TABLE_VER}.tar.gz post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PY_STROKE_TAR} ${WRKSRC}/modules/pinyinhelper ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PY_TABLE_TAR} ${WRKSRC}/modules/pinyinhelper .include diff --git a/chinese/ibus-array/Makefile b/chinese/ibus-array/Makefile index adffa83b73c4..335a9f49975d 100644 --- a/chinese/ibus-array/Makefile +++ b/chinese/ibus-array/Makefile @@ -1,32 +1,33 @@ PORTNAME= ibus-array PORTVERSION= 0.2.2.${SNAPDATE} +PORTREVISION= 1 CATEGORIES= chinese MAINTAINER= jiashiun@gmail.com COMMENT= Array 30 input method for IBus WWW= https://github.com/lexical/ibus-array/ LICENSE= GPLv2 BUILD_DEPENDS= ibus-daemon:textproc/ibus zh-opencc>=1.0:chinese/opencc RUN_DEPENDS= ibus-daemon:textproc/ibus zh-opencc>=1.0:chinese/opencc USES= autoreconf gmake gnome libtool pkgconfig python sqlite USE_GNOME+= glib20 USE_GITHUB= yes GH_ACCOUNT= lexical GH_TAGNAME= 06146c5e6518ddf813d0ab1789ba84eadbe9d52b SNAPDATE= 20230502 GNU_CONFIGURE= yes OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls pre-configure: cd ${WRKSRC} && ./autogen.sh .include diff --git a/chinese/ibus-libpinyin/Makefile b/chinese/ibus-libpinyin/Makefile index 1dde205c367d..99184e58d88e 100644 --- a/chinese/ibus-libpinyin/Makefile +++ b/chinese/ibus-libpinyin/Makefile @@ -1,47 +1,48 @@ PORTNAME= ibus-libpinyin DISTVERSION= 1.15.4 +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= SF/libpinyin/${PORTNAME} MAINTAINER= henry.hu.sh@gmail.com COMMENT= Intelligent Pinyin engine based on libpinyin for IBus WWW= https://github.com/libpinyin/ibus-libpinyin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libibus-1.0.so:textproc/ibus \ libpinyin.so:chinese/libpinyin USES= compiler:c++11-lib gmake gnome python pkgconfig gettext USE_GNOME= glib20 GLIB_SCHEMAS= com.github.libpinyin.ibus-libpinyin.gschema.xml WRKSRC= ${WRKDIR}/${DISTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost \ --disable-lua-extension OPTIONS_DEFINE= ENGLISH TABLE OPENCC NLS OPTIONS_DEFAULT= ENGLISH TABLE OPENCC OPTIONS_SUB= yes ENGLISH_DESC= Enable English input mode TABLE_DESC= Enable table input mode OPENCC_DESC= Use opencc for simplified and traditional Chinese conversion ENGLISH_CONFIGURE_ENABLE= english-input-mode TABLE_CONFIGURE_ENABLE= table-input-mode OPENCC_CONFIGURE_ENABLE= opencc OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc NLS_USES= gettext NLS_USE= GNOME=intltool NLS_CONFIGURE_ENABLE= nls post-configure: @${REINPLACE_CMD} -e 's|DATADIRNAME = lib|DATADIRNAME = share|' ${WRKSRC}/po/Makefile .include diff --git a/chinese/librime/Makefile b/chinese/librime/Makefile index 54440a5eb8ad..4f0fe9772b03 100644 --- a/chinese/librime/Makefile +++ b/chinese/librime/Makefile @@ -1,37 +1,38 @@ PORTNAME= librime DISTVERSION= 1.16.1 +PORTREVISION= 1 CATEGORIES= chinese textproc MAINTAINER= eric@camachat.org COMMENT= Rime Input Method Engine, the core library WWW= https://rime.github.io/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libleveldb.so:databases/leveldb \ libmarisa.so:devel/marisa-trie \ libopencc.so:chinese/opencc \ libyaml-cpp.so:devel/yaml-cpp USES= cmake compiler:c++17-lang perl5 pathfix pkgconfig xorg USE_PERL5= build patch USE_XORG= xorgproto USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= rime PLIST_SUB= VER=${DISTVERSION} CMAKE_OFF= CMAKE_CXX_EXTENSIONS \ BUILD_TEST post-patch: @${FIND} ${WRKSRC} \( -name '*.cc' -or -name '*.h' \) \ -exec ${PERL} -i -pe '$$. == 1 && s/^\xef\xbb\xbf//;' {} \; .include diff --git a/chinese/opencc/Makefile b/chinese/opencc/Makefile index 293b295039ee..13f8e19d4371 100644 --- a/chinese/opencc/Makefile +++ b/chinese/opencc/Makefile @@ -1,24 +1,30 @@ PORTNAME= opencc DISTVERSIONPREFIX= ver. -DISTVERSION= 1.3.1 +DISTVERSION= 1.4.1 CATEGORIES= chinese converters MAINTAINER= lichray@gmail.com COMMENT= Open Chinese Convert library and utilities WWW= https://github.com/BYVoid/OpenCC LICENSE= APACHE20 -USES= cmake:testing compiler:c++11-lib python:build +USES= cmake:testing compiler:c++17-lang python:build USE_GITHUB= yes USE_LDCONFIG= yes GH_ACCOUNT= BYVoid GH_PROJECT= OpenCC +CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD} CMAKE_TESTING_ON= ENABLE_GTEST TEST_TARGET= test -# tests as of 1.3.1: 100% tests passed, 0 tests failed out of 18 +OPTIONS_DEFINE= JIEBA +OPTIONS_DEFAULT= JIEBA +OPTIONS_SUB= yes + +JIEBA_DESC= Jieba segmentation plugin +JIEBA_CMAKE_BOOL= BUILD_OPENCC_JIEBA_PLUGIN .include diff --git a/chinese/opencc/distinfo b/chinese/opencc/distinfo index 72c7d799fe87..9a6a3194f969 100644 --- a/chinese/opencc/distinfo +++ b/chinese/opencc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1781847645 -SHA256 (BYVoid-OpenCC-ver.1.3.1_GH0.tar.gz) = 1cc663704ff15728d6ea41ced8cd9dcc086f7bd9a80e8531b2f8054d2f3b8733 -SIZE (BYVoid-OpenCC-ver.1.3.1_GH0.tar.gz) = 11886343 +TIMESTAMP = 1784168480 +SHA256 (BYVoid-OpenCC-ver.1.4.1_GH0.tar.gz) = d4b94877c508a4774853f3b07330b3d25df00105c39dfba6ab9889d77946cc8a +SIZE (BYVoid-OpenCC-ver.1.4.1_GH0.tar.gz) = 11799305 diff --git a/chinese/opencc/files/patch-CMakeLists.txt b/chinese/opencc/files/patch-CMakeLists.txt index 699df629f2a9..e629dd7d8fb7 100644 --- a/chinese/opencc/files/patch-CMakeLists.txt +++ b/chinese/opencc/files/patch-CMakeLists.txt @@ -1,11 +1,11 @@ ---- CMakeLists.txt.orig 2016-07-02 15:04:34 UTC +--- CMakeLists.txt.orig 2026-07-12 14:54:12 UTC +++ CMakeLists.txt -@@ -98,7 +98,7 @@ install( +@@ -263,7 +263,7 @@ FILES - ${CMAKE_BINARY_DIR}/opencc.pc + ${CMAKE_CURRENT_BINARY_DIR}/opencc.pc DESTINATION - ${DIR_LIBRARY}/pkgconfig + ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig ) + endif() - ######## Compiler flags diff --git a/chinese/opencc/files/patch-cmake_GitVersion.cmake b/chinese/opencc/files/patch-cmake_GitVersion.cmake new file mode 100644 index 000000000000..34a37f5f0d77 --- /dev/null +++ b/chinese/opencc/files/patch-cmake_GitVersion.cmake @@ -0,0 +1,16 @@ +Bump the Git-less fallback version to 1.4.1: the release tarball carries +no Git metadata, so without this the build identifies itself as 1.4.0 and +installs libopencc.so.1.4.0. + +Obtained from: https://github.com/BYVoid/OpenCC/commit/c23e743702f4 + +--- cmake/GitVersion.cmake.orig 2026-07-12 14:54:12 UTC ++++ cmake/GitVersion.cmake +@@ -14,7 +14,7 @@ + + set(_OPENCC_FALLBACK_MAJOR 1) + set(_OPENCC_FALLBACK_MINOR 4) +-set(_OPENCC_FALLBACK_REVISION 0) ++set(_OPENCC_FALLBACK_REVISION 1) + + find_package(Git QUIET) diff --git a/chinese/opencc/pkg-plist b/chinese/opencc/pkg-plist index d9cbdbfc4d1c..51174cfca0c1 100644 --- a/chinese/opencc/pkg-plist +++ b/chinese/opencc/pkg-plist @@ -1,74 +1,89 @@ bin/opencc bin/opencc_dict bin/opencc_phrase_extract -include/opencc/BinaryDict.hpp include/opencc/Common.hpp include/opencc/Config.hpp include/opencc/Conversion.hpp include/opencc/ConversionChain.hpp include/opencc/ConversionInspection.hpp include/opencc/Converter.hpp -include/opencc/DartsDict.hpp include/opencc/Dict.hpp -include/opencc/DictConverter.hpp include/opencc/DictEntry.hpp include/opencc/DictGroup.hpp include/opencc/Exception.hpp include/opencc/Export.hpp include/opencc/Lexicon.hpp include/opencc/MarisaDict.hpp include/opencc/MaxMatchSegmentation.hpp include/opencc/Optional.hpp -include/opencc/PhraseExtract.hpp -include/opencc/PluginSegmentation.hpp -include/opencc/PrefixMatch.hpp +include/opencc/ResourceProvider.hpp include/opencc/Segmentation.hpp include/opencc/Segments.hpp include/opencc/SerializableDict.hpp -include/opencc/SerializedValues.hpp include/opencc/SimpleConverter.hpp include/opencc/TextDict.hpp -include/opencc/UTF8StringSlice.hpp include/opencc/UTF8Util.hpp include/opencc/opencc.h -include/opencc/opencc_config.h include/opencc/plugin/OpenCCPlugin.h lib/cmake/opencc/OpenCCConfig.cmake lib/cmake/opencc/OpenCCConfigVersion.cmake lib/cmake/opencc/OpenCCTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/opencc/OpenCCTargets.cmake lib/libmarisa.a lib/libopencc.so -lib/libopencc.so.1.3 -lib/libopencc.so.1.3.1 +lib/libopencc.so.1.4 +lib/libopencc.so.1.4.1 libdata/pkgconfig/opencc.pc +%%DATADIR%%/CJK_Compatibility_Ideographs.ocd2 +%%DATADIR%%/HKPhrases.ocd2 +%%DATADIR%%/HKPhrasesRev.ocd2 %%DATADIR%%/HKVariants.ocd2 +%%DATADIR%%/HKVariantsPhrases.ocd2 %%DATADIR%%/HKVariantsRev.ocd2 %%DATADIR%%/HKVariantsRevPhrases.ocd2 %%DATADIR%%/JPShinjitaiCharacters.ocd2 +%%DATADIR%%/JPShinjitaiCharactersRev.ocd2 %%DATADIR%%/JPShinjitaiPhrases.ocd2 -%%DATADIR%%/JPVariants.ocd2 -%%DATADIR%%/JPVariantsRev.ocd2 %%DATADIR%%/STCharacters.ocd2 %%DATADIR%%/STPhrases.ocd2 +%%DATADIR%%/STPhrases_GeneratedFromRegionalPhrases.ocd2 %%DATADIR%%/TSCharacters.ocd2 +%%DATADIR%%/TSCharactersExt.ocd2 %%DATADIR%%/TSPhrases.ocd2 %%DATADIR%%/TWPhrases.ocd2 %%DATADIR%%/TWPhrasesRev.ocd2 %%DATADIR%%/TWVariants.ocd2 +%%DATADIR%%/TWVariantsPhrases.ocd2 %%DATADIR%%/TWVariantsRev.ocd2 %%DATADIR%%/TWVariantsRevPhrases.ocd2 %%DATADIR%%/hk2s.json +%%DATADIR%%/hk2sp.json %%DATADIR%%/hk2t.json %%DATADIR%%/jp2t.json %%DATADIR%%/s2hk.json +%%DATADIR%%/s2hkp.json %%DATADIR%%/s2t.json %%DATADIR%%/s2tw.json %%DATADIR%%/s2twp.json %%DATADIR%%/t2hk.json %%DATADIR%%/t2jp.json %%DATADIR%%/t2s.json %%DATADIR%%/t2tw.json %%DATADIR%%/tw2s.json %%DATADIR%%/tw2sp.json %%DATADIR%%/tw2t.json +@comment Jieba segmentation plugin (JIEBA option) +%%JIEBA%%lib/opencc/plugins/libopencc-jieba.so +%%JIEBA%%%%DATADIR%%/hk2sp_jieba.json +%%JIEBA%%%%DATADIR%%/s2hk_jieba.json +%%JIEBA%%%%DATADIR%%/s2hkp_jieba.json +%%JIEBA%%%%DATADIR%%/s2t_jieba.json +%%JIEBA%%%%DATADIR%%/s2tw_jieba.json +%%JIEBA%%%%DATADIR%%/s2twp_jieba.json +%%JIEBA%%%%DATADIR%%/tw2sp_jieba.json +%%JIEBA%%%%DATADIR%%/jieba_dict/hmm_model.utf8 +%%JIEBA%%%%DATADIR%%/jieba_dict/idf.utf8 +%%JIEBA%%%%DATADIR%%/jieba_dict/jieba.dict.utf8 +%%JIEBA%%%%DATADIR%%/jieba_dict/jieba_merged.ocd2 +%%JIEBA%%%%DATADIR%%/jieba_dict/stop_words.utf8 +%%JIEBA%%%%DATADIR%%/jieba_dict/user.dict.utf8 diff --git a/chinese/php-opencc/Makefile b/chinese/php-opencc/Makefile index d0e8eb43c08b..1c4de198d8bc 100644 --- a/chinese/php-opencc/Makefile +++ b/chinese/php-opencc/Makefile @@ -1,20 +1,21 @@ PORTNAME= opencc PORTVERSION= 0.0.0.20201211 +PORTREVISION= 1 CATEGORIES= chinese PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= gasol.wu@gmail.com COMMENT= OpenCC shared extension for php WWW= https://github.com/NauxLiu/opencc4php LICENSE= PHP301 LIB_DEPENDS= libopencc.so:chinese/opencc USES= php:ext USE_GITHUB= yes GH_ACCOUNT= NauxLiu GH_PROJECT= opencc4php GH_TAGNAME= 56973eb .include diff --git a/chinese/pyzy/Makefile b/chinese/pyzy/Makefile index 163183bbfa7e..e50f0f52b868 100644 --- a/chinese/pyzy/Makefile +++ b/chinese/pyzy/Makefile @@ -1,36 +1,36 @@ PORTNAME= pyzy PORTVERSION= 0.1.0 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= chinese MAINTAINER= henry.hu.sh@gmail.com COMMENT= Chinese PinYin and Bopomofo conversion library WWW= https://github.com/pyzy/pyzy LICENSE= LGPL21 LIB_DEPENDS= libsqlite3.so:databases/sqlite3 USES= autoreconf compiler:c++11-lang gettext-runtime gmake gnome \ libtool pkgconfig python:build shebangfix SHEBANG_FILES= data/db/android/create_db.py USE_GITHUB= yes GH_TAGNAME= 6d9c3cd USE_GNOME= glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-dependency-tracking --disable-boost OPTIONS_DEFINE= OPENCC OPTIONS_DEFAULT= OPTIONS_SUB= yes OPENCC_DESC= Use opencc for simplified and traditional Chinese conversion OPENCC_CONFIGURE_ENABLE= opencc OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-1.0.so .include diff --git a/textproc/goldendict-ng/Makefile b/textproc/goldendict-ng/Makefile index 39450b9bf1f1..7c71fa99e729 100644 --- a/textproc/goldendict-ng/Makefile +++ b/textproc/goldendict-ng/Makefile @@ -1,45 +1,46 @@ PORTNAME= goldendict-ng DISTVERSIONPREFIX= v DISTVERSION= 26.6.2 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= eduardo@FreeBSD.org COMMENT= Advanced dictionary lookup program, supporting many formats WWW= https://xiaoyifang.github.io/goldendict-ng/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libfmt.so:devel/libfmt \ libhunspell-1.7.so:textproc/hunspell \ liblzo2.so:archivers/lzo2 \ libopencc.so:chinese/opencc \ libtomlplusplus.so:devel/tomlplusplus \ libvorbis.so:audio/libvorbis \ libxapian.so:databases/xapian-core14 \ libzim.so:devel/libzim USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:6 \ xorg USE_GITHUB= yes GH_ACCOUNT= xiaoyifang USE_GL= opengl USE_QT= 5compat base declarative multimedia positioning svg webchannel \ webengine tools:build USE_XORG= ice sm x11 xext xorgproto xtst CMAKE_ON= USE_ALTERNATIVE_NAME USE_SYSTEM_FMT USE_SYSTEM_TOML CMAKE_OFF= WITH_FFMPEG_PLAYER CONFIGURE_WRKSRC= ${WRKSRC}/build_dir OPTIONS_DEFINE= EPWING SPEECH EPWING_DESC= Japanese EPWING dictionary format support SPEECH_DESC= Text to speech support EPWING_LIB_DEPENDS= libeb.so:japanese/eb EPWING_CMAKE_OFF= -DWITH_EPWING_SUPPORT=OFF SPEECH_USE= QT=speech SPEECH_CMAKE_ON= -DWITH_TTS=ON .include diff --git a/textproc/goldendict/Makefile b/textproc/goldendict/Makefile index 8f3b80f6e641..fc239caec4e3 100644 --- a/textproc/goldendict/Makefile +++ b/textproc/goldendict/Makefile @@ -1,70 +1,70 @@ PORTNAME= goldendict PORTVERSION= 1.5.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc PATCH_SITES= https://github.com/goldendict/goldendict/commit/ PATCHFILES= 718462c5c1e2b6f3064f921c0800e45b8d5b84b8.patch:-p1 \ b4f3fcdc4861975ec49ae2bb894f907c072fc8f6.patch:-p1 MAINTAINER= danfe@FreeBSD.org COMMENT= Feature-rich dictionary lookup program WWW= http://goldendict.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ liblzo2.so:archivers/lzo2 \ libogg.so:audio/libogg \ libtiff.so:graphics/tiff \ libvorbis.so:audio/libvorbis \ libzstd.so:archivers/zstd USES= compiler:c++11-lang gnome iconv:wchar_t pkgconfig \ qmake qt:5 xorg USE_GITHUB= yes GH_ACCOUNT= vedgy GH_TAGNAME= 5a87a71 USE_XORG= x11 xtst USE_QT= buildtools:build linguisttools:build \ core declarative gui help network printsupport \ sql svg webchannel webengine widgets x11extras xml QMAKE_ARGS= ${PORTNAME}.pro CONFIG+="use_qtwebengine zim_support" OPTIONS_DEFINE= EPWING FFMPEG MULTIMEDIA OPENCC OPTIONS_DEFAULT= EPWING FFMPEG MULTIMEDIA OPENCC EPWING_DESC= Japanese EPWING dictionary format support EPWING_LIB_DEPENDS= libeb.so:japanese/eb EPWING_QMAKE_OFF= CONFIG+="no_epwing_support" FFMPEG_LIB_DEPENDS= libao.so:audio/libao \ libavutil.so:multimedia/ffmpeg FFMPEG_QMAKE_OFF= CONFIG+="no_ffmpeg_player" MULTIMEDIA_DESC= Multimedia support with QMediaPlayer MULTIMEDIA_USE= QT=multimedia MULTIMEDIA_QMAKE_OFF= CONFIG+="no_qtmultimedia_player" OPENCC_DESC= Chinese conversion support via OpenCC OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc OPENCC_QMAKE_ON= CONFIG+="chinese_conversion_support" post-patch: @${REINPLACE_CMD} -e '/QMAKE_CXXFLAGS += -rdynamic/d ; \ /^VERSION = /s,git,&-${GH_ACCOUNT}-${GH_TAGNAME},' \ ${WRKSRC}/goldendict.pro @${REINPLACE_CMD} -e '/^#include / { x; \ s/^/#include /; G; }' ${WRKSRC}/main.cc post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/locale ${INSTALL_DATA} ${WRKSRC}/locale/*.qm ${STAGEDIR}${DATADIR}/locale ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} post-stage: ${RM} ${STAGEDIR}${PREFIX}/share/applications/ecp.* .include