Files

55 lines
1.3 KiB
Makefile
Raw Permalink Normal View History

2022-05-13 01:40:53 +00:00
COMMENT = library to support generic input method implementation
2025-01-22 02:25:25 +00:00
DISTNAME = libime-1.1.9
REVISION = 4
2022-05-13 01:40:53 +00:00
2025-01-22 02:25:25 +00:00
SHARED_LIBS += IMECore 0.2 # 0.0
SHARED_LIBS += IMEPinyin 0.2 # 0.0
2024-01-23 08:13:51 +00:00
SHARED_LIBS += IMETable 1.0 # 0.0
2022-05-13 01:40:53 +00:00
CATEGORIES = inputmethods
HOMEPAGE = https://github.com/fcitx/libime
# LGPLv2.1+
PERMIT_PACKAGE= Yes
2025-07-25 11:20:45 +00:00
2022-05-13 01:40:53 +00:00
WANTLIB += ${COMPILER_LIBCXX} Fcitx5Utils boost_filesystem-mt
2024-01-23 08:13:51 +00:00
WANTLIB += boost_iostreams-mt boost_regex-mt c m zstd
2026-02-10 13:25:01 +00:00
WANTLIB += boost_atomic-mt boost_random-mt
2022-05-13 01:40:53 +00:00
2023-09-25 17:07:27 +00:00
SITES = https://download.fcitx-im.org/fcitx5/libime/
2022-05-13 01:40:53 +00:00
2023-09-25 17:07:27 +00:00
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
2025-01-22 02:25:25 +00:00
DISTFILES.data += dict-20241001.tar.zst
DISTFILES.data += lm_sc.arpa-20241001.tar.zst
DISTFILES.data += table-20240108.tar.zst
2022-05-13 01:40:53 +00:00
2025-01-22 02:25:25 +00:00
EXTRACT_SUFX = .tar.zst
2022-05-13 01:40:53 +00:00
COMPILER = base-clang ports-gcc
2022-05-13 01:40:53 +00:00
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 \
2022-05-13 01:40:53 +00:00
devel/boost
post-patch:
2025-01-22 02:25:25 +00:00
.for d in ${DISTFILES.data}
@cp ${FULLDISTDIR}/${d} \
2022-05-13 01:40:53 +00:00
${WRKSRC}/data/
2025-01-22 02:25:25 +00:00
.endfor
2022-05-13 01:40:53 +00:00
.include <bsd.port.mk>