Files
ports/inputmethods/libime/Makefile
T

55 lines
1.3 KiB
Makefile

COMMENT = library to support generic input method implementation
DISTNAME = libime-1.1.9
REVISION = 3
SHARED_LIBS += IMECore 0.2 # 0.0
SHARED_LIBS += IMEPinyin 0.2 # 0.0
SHARED_LIBS += IMETable 1.0 # 0.0
CATEGORIES = inputmethods
HOMEPAGE = https://github.com/fcitx/libime
# LGPLv2.1+
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} Fcitx5Utils boost_filesystem-mt
WANTLIB += boost_iostreams-mt boost_regex-mt c m zstd
WANTLIB += boost_atomic-mt boost_random-mt
SITES = https://download.fcitx-im.org/fcitx5/libime/
SITES.data = https://download.fcitx-im.org/data/
# Dictionary and Language Model
# Keep in sync with the post-patch section + upstream list
# https://github.com/fcitx/libime/blob/master/data/CMakeLists.txt
DISTFILES.data += dict-20241001.tar.zst
DISTFILES.data += lm_sc.arpa-20241001.tar.zst
DISTFILES.data += table-20240108.tar.zst
EXTRACT_SUFX = .tar.zst
COMPILER = base-clang ports-gcc
MODULES = devel/kf5
MODQT5_DEPS = No
BUILD_DEPENDS = devel/gettext,-tools \
devel/boost \
devel/iso-codes
RUN_DEPENDS = devel/desktop-file-utils \
misc/shared-mime-info
LIB_DEPENDS = inputmethods/fcitx \
devel/boost
post-patch:
.for d in ${DISTFILES.data}
@cp ${FULLDISTDIR}/${d} \
${WRKSRC}/data/
.endfor
.include <bsd.port.mk>