summaryrefslogtreecommitdiffstats
path: root/japanese/uim-canna/Makefile
blob: 2b5e3585a594e77a611dc821c2a0cae813eb5059 (plain) (blame)
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
35
36
37
38
# New ports collection makefile for:   ja-uim-canna
# Date created:        31 August 2003
# Whom:                MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD: ports/japanese/uim-canna/Makefile,v 1.7 2006/09/03 14:09:22 nobutaka Exp $
#

CATEGORIES= japanese
.if defined(WITHOUT_X11)
PKGNAMESUFFIX=  -canna-nox11
.else
PKGNAMESUFFIX=  -canna
.endif

COMMENT=    Uim plugin using Canna input method

LIB_DEPENDS=    canna.1:${PORTSDIR}/japanese/Canna \
        uim.3:${PORTSDIR}/textproc/uim

MASTERDIR=  ${.CURDIR}/../../textproc/uim
PKGDIR=     ${.CURDIR}
CONFIGURE_ARGS= --with-canna

UIM_SLAVE=  yes

EXTRA_PATCHES=  ${PATCHDIR}/extra-patch-uim_Makefile.in

do-build:
    (cd ${WRKSRC}/uim && ${GMAKE} libuim-canna.la)

do-install:
    (cd ${WRKSRC}/uim && \
    ${GMAKE} uim_plugin_LTLIBRARIES=libuim-canna.la install-uim_pluginLTLIBRARIES)

post-install:
    ${LOCALBASE}/bin/uim-module-manager --register canna

.include "${MASTERDIR}/Makefile"