aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/cmigemo-dict/Makefile
blob: 0e4c41915f8b969a827f65988b4863b2d14649d9 (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: MANTANI Nobutaka <nobutaka@FreeBSD.org>
# $FreeBSD$

CATEGORIES= japanese
MASTER_SITES=   LOCAL/nobutaka:skkdic
PKGNAMESUFFIX=  -dict
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} \
        ${SKKDIC_FILE}:skkdic
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= nobutaka@FreeBSD.org
COMMENT=    Dictionary for C/Migemo Japanese incremental search tool

LICENSE=    GPLv2

MASTERDIR=  ${.CURDIR}/../../japanese/cmigemo
PKGDIR=     ${.CURDIR}

USES=       perl5
USE_PERL5=  patch build run

ALL_TARGET= gcc-dict
INSTALL_TARGET= gcc-install-dict

SKKDIC_FILE=    SKK-JISYO.L-20110813.bz2
LICENSE_DISTFILES=  ${SKKDIC_FILE}

post-extract:
    ${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE} > ${WRKSRC}/dict/SKK-JISYO.L
    ${CHMOD} a+x ${WRKSRC}/configure

.include "${MASTERDIR}/Makefile"