aboutsummaryrefslogtreecommitdiff
path: root/japanese/ipadic/Makefile
blob: 0a7b62bff60f5cc660cc1fd16513df6283654c82 (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
# Created by: kuriyama

PORTNAME=	ipadic
PORTVERSION=	2.7.0
PORTREVISION=	2
CATEGORIES=	japanese textproc
MASTER_SITES=	OSDN/${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Japanese Morphological Dictionary for ChaSen

BUILD_DEPENDS=	chasen:japanese/chasen-base
RUN_DEPENDS=	chasen:japanese/chasen-base

CONFIGURE_ARGS=	--with-dicdir=${PREFIX}/share/chasen/dic \
		--with-chasenrc-path=${STAGEDIR}${PREFIX}/share/chasen/dic/ipadic
GNU_CONFIGURE=	yes
MAKE_JOBS_UNSAFE=	yes

pre-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic/ipadic
	${INSTALL_DATA} ${WRKSRC}/chasenrc \
	    ${STAGEDIR}${PREFIX}/share/chasen/dic/ipadic/chasenrc.sample

.include <bsd.port.mk>