aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/scim-tables/Makefile
blob: d74e81c6d554128a8f29d059c448aa4bf79f2b32 (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
# Created by: Jie Gao   <gaoj@cpsc.ucalgary.ca>
# $FreeBSD$

PORTNAME=   scim-tables
PORTVERSION=    0.5.10
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   SF/scim/${PORTNAME}/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    SCIM table based Japanese input methods

BUILD_DEPENDS=  scim:${PORTSDIR}/textproc/scim \
        scim-make-table:${PORTSDIR}/textproc/scim-table-imengine
RUN_DEPENDS=    scim-make-table:${PORTSDIR}/textproc/scim-table-imengine

USES=       pkgconfig gmake
GNU_CONFIGURE=  yes

CPPFLAGS+=  -I${LOCALBASE}/include -D__STDC_ISO_10646__

CONFIGURE_ENV+= SCIM_DATADIR=${PREFIX}/share/scim \
        SCIM_ICONDIR=${PREFIX}/share/scim/icons
LDFLAGS+=   -L${LOCALBASE}/lib -lintl

CONFIGURE_ARGS+=    --disable-skim-support

post-extract:
    @${CP} ${FILESDIR}/T-Code.txt.in   ${WRKSRC}/tables/ja/
    @${CP} ${FILESDIR}/TUT-Code.txt.in ${WRKSRC}/tables/ja/

.include <bsd.port.mk>