summaryrefslogtreecommitdiff
path: root/inputmethod/anthy/Makefile
blob: 218ada1b7f67302db75b14592a9f9c16a64dea9f (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
35
36
37
38
39
40
41
42
# $NetBSD: Makefile,v 1.1.1.1 2004/12/04 03:57:44 taya Exp $

DISTNAME=	anthy-5900
CATEGORIES=	inputmethod
MASTER_SITES=	http://downloads.sourceforge.jp/anthy/12071/
DISTFILES=	${DISTNAME}.tar.gz
EXTRACT_ONLY=	${DISTNAME}.tar.gz

MAINTAINER=	taya@NetBSD.org
HOMEPAGE=	http://anthy.sourceforge.jp/
COMMENT=	Kana Kanji conversion system

USE_LIBTOOL=		yes
USE_LANGUAGES=		c
USE_GNU_TOOLS+=		make
GNU_CONFIGURE=		yes

EMACS_USE_LEIM= # defined

# Global and legacy options
.if defined(USE_2CH_DICT) && ${USE_2CH_DICT} == "yes"
PKG_DEFAULT_OPTIONS+=	2ch_dict
.endif

PKG_OPTIONS_VAR=	PKG_OPTIONS.anthy
PKG_SUPPORTED_OPTIONS=	2ch_dict

.include	"../../mk/bsd.options.mk"

###
### 2ch dictionary support
###
.if !empty(PKG_OPTIONS:M2ch_dict)
DISTFILES+=	2ch.t
SITES_2ch.t+=	http://omaemona.sourceforge.net/packages/Zisyo/

post-extract:
	${CP} ${DISTDIR}/2ch.t ${WRKSRC}/mkanthydic
.endif

.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"