blob: 11727161ee7e7cafc84511092d43a5bcbf7cbb36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.49 2022/08/11 05:08:51 gutteridge Exp $
#
DISTNAME= ibus-handwrite-3.0.0
PKGREVISION= 15
CATEGORIES= inputmethod
MASTER_SITES= https://github.com/microcai/ibus-handwrite/releases/download/${PKGVERSION_NOREV:R}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://code.google.com/archive/p/ibus-handwrite/
COMMENT= Handwrite recognizer for ibus
LICENSE= gnu-gpl-v3
DEPENDS+= zinnia-tomoe-[0-9]*:../../inputmethod/zinnia-tomoe
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --enable-zinnia
CONFIGURE_ARGS+= --with-zinnia-tomoe=${LOCALBASE}/lib/zinnia/model/tomoe
SUBST_CLASSES+= locale_dir
SUBST_STAGE.locale_dir= pre-configure
SUBST_FILES.locale_dir= src/main.c
SUBST_VARS.locale_dir= _PKGLOCALEDIR
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../inputmethod/ibus/buildlink3.mk"
.include "../../inputmethod/zinnia/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|