summaryrefslogtreecommitdiff
path: root/textproc/ipadic/Makefile
blob: 7b5ac8eedb51dcf9ad6988bfccf69ea79431df6b (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
# $NetBSD: Makefile,v 1.15 2008/10/22 02:37:21 obache Exp $
#

DISTNAME=	ipadic-2.7.0
PKGREVISION=	2
CATEGORIES=	japanese textproc
MASTER_SITES=	http://chasen.aist-nara.ac.jp/stable/ipadic/
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP:=ipadic/24435/}

MAINTAINER=	tech-pkg-ja@jp.NetBSD.org
HOMEPAGE=	http://chasen-legacy.sourceforge.jp/
COMMENT=	Japanese Morphological Dictionary including parameter for ChaSen

GNU_CONFIGURE=	yes
CONF_FILES=	${PREFIX}/${CHASEN_DICDIR}/ipadic/chasenrc.example \
		${PKG_SYSCONFDIR}/chasenrc

DOCDIR=		share/doc/chasen
DOCS=		AUTHORS COPYING ChangeLog NEWS doc/ipadic-ja.pdf

INSTALLATION_DIRS=	${DOCDIR}
PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_JOBS_SAFE=		no

post-install:
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
.endfor
	${INSTALL_DATA} ${WRKSRC}/chasenrc \
		${DESTDIR}${PREFIX}/${CHASEN_DICDIR}/ipadic/chasenrc.example

.include "../../textproc/chasen/Makefile.common"
.include "../../textproc/chasen-base/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"