pkgsrc/inputmethod/fcitx5-zhuyin/Makefile
2021-02-20 21:52:29 +00:00

35 lines
971 B
Makefile

# $NetBSD: Makefile,v 1.1 2021/02/20 21:52:29 ryoon Exp $
DISTNAME= fcitx5-zhuyin-5.0.3
CATEGORIES= inputmethod
MASTER_SITES= https://download.fcitx-im.org/fcitx5/fcitx5-zhuyin/
EXTRACT_SUFX= .tar.xz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://github.com/fcitx/fcitx5-zhuyin
COMMENT= Libzhuyin Wrapper for Fcitx5
LICENSE= gnu-gpl-v2
DISTFILES+= ${DEFAULT_DISTFILES}
MOREDISTFILES+= model.text.20161206.tar.gz
.for f in ${MOREDISTFILES}
DISTFILES+= ${f}
SITES.${f}= https://download.fcitx-im.org/data/
.endfor
EXTRACT_ONLY= ${DEFAULT_DISTFILES}
USE_CMAKE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
post-extract:
.for f in ${MOREDISTFILES}
cd ${WRKSRC}/data && \
${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${f} ${f}
.endfor
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../inputmethod/fcitx5/buildlink3.mk"
.include "../../textproc/fmtlib/buildlink3.mk"
.include "../../textproc/libpinyin/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"