Files
ports/inputmethods/libime/Makefile
T
sthen d0a1372e64 change the few ports with "base-clang ports-clang ports-gcc" COMPILER lines
to "base-clang ports-gcc". these don't seem to be a special case (in fact
many of them aren't compiled at all, just header-only packages) and it's
simpler all round if base-gcc archs have a consistent set of compilers in
ports.
2025-01-28 09:24:17 +00:00

55 lines
1.3 KiB
Makefile

COMMENT = library to support generic input method implementation
DISTNAME = libime-1.1.9
REVISION = 0
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
MAINTAINER = Yifei Zhan <openbsd@zhan.science>
# LGPLv2.1+
PERMIT_PACKAGE= Yes
WANTLIB += ${COMPILER_LIBCXX} Fcitx5Utils boost_filesystem-mt
WANTLIB += boost_iostreams-mt boost_regex-mt c m zstd
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>