summaryrefslogtreecommitdiff
path: root/inputmethod/scim-ccinput/Makefile
blob: 39cc23d5299a056210f2081f0ed118beda1058e2 (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
34
# $NetBSD: Makefile,v 1.42 2021/12/08 16:05:17 adam Exp $
#

DISTNAME=		scim-ccinput-0.3.1
PKGREVISION=		35
CATEGORIES=		inputmethod chinese
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=scim/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://github.com/scim-im/scim
COMMENT=		SCIM IMEngine module for CCInput
LICENSE=		gnu-gpl-v2

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_LANGUAGES=		c c++
USE_TOOLS+=		pkg-config bash msgfmt
CONFIG_SHELL=		${BASH}

USE_SCIM_GTKUTILS=	yes

SUBST_CLASSES+=		localedir
SUBST_STAGE.localedir=	pre-configure
SUBST_SED.localedir+=	-e 's,\$$(datadir)/locale,@prefix@/${PKGLOCALEDIR}/locale,'
SUBST_SED.localedir+=	-e 's,/usr/share/locale,${PREFIX}/${PKGLOCALEDIR}/locale,'
SUBST_FILES.localedir=	po/Makefile.am po/Makefile.in
SUBST_FILES.localedir+=	scim/IMEngine/scim_ccin_imengine.cpp
SUBST_FILES.localedir+=	scim/SetupUI/scim_ccin_imengine_setup.cpp

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../inputmethod/scim/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"