summaryrefslogtreecommitdiff
path: root/inputmethod/scim-ccinput/Makefile
blob: 72b6abeb0975a2e2e3c14c1e3757a921983a3a83 (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.22 2013/06/06 12:54:38 wiz Exp $
#

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

MAINTAINER=		obache@NetBSD.org
HOMEPAGE=		http://www.scim-im.org/
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"