[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / fcitx5-chinese-addons

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / fcitx5-chinese-addons / Makefile (download)

Revision 1.12, Wed Oct 26 10:31:34 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.11: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.12 2022/10/26 10:31:34 wiz Exp $

DISTNAME=	fcitx5-chinese-addons-5.0.4
PKGREVISION=	8
CATEGORIES=	inputmethod
MASTER_SITES=	https://download.fcitx-im.org/fcitx5/fcitx5-chinese-addons/
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://github.com/fcitx/fcitx5-chinese-addons
COMMENT=	Pinyin and table input method support for fcitx5
LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1

DIST_SUBDIR=	${PKGNAME_NOREV}

DISTFILES+=	${DEFAULT_DISTFILES}
MOREDISTFILES+=	py_stroke-20121124.tar.gz
MOREDISTFILES+=	py_table-20121124.tar.gz
.for f in ${MOREDISTFILES}
DISTFILES+=	${f}
SITES.${f}=	https://download.fcitx-im.org/data/
.endfor
EXTRACT_ONLY=	${DEFAULT_DISTFILES}

BUILD_DEPENDS+=	extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules

USE_CMAKE=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		pkg-config
USE_LANGUAGES=		c c++

post-extract:
.for f in ${MOREDISTFILES}
	cd ${WRKSRC}/modules/pinyinhelper && \
		${LN} -sf ${DISTDIR}/${DIST_SUBDIR}/${f} ${f}
.endfor


.include "../../converters/opencc/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../inputmethod/fcitx5-lua/buildlink3.mk"
.include "../../inputmethod/fcitx5-qt/buildlink3.mk"
.include "../../inputmethod/libime/buildlink3.mk"
.include "../../textproc/fmtlib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/qt5-qtwebkit/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"