aboutsummaryrefslogtreecommitdiff
path: root/japanese/cannadic/Makefile
blob: b1ff0d31b8789d7a0bf8270f283285f2a155c25a (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
33
# Created by: TOGAWA Satoshi <toga@puyo.org>
# $FreeBSD$

PORTNAME=	cannadic
PORTVERSION=	0.95c
PORTREVISION=	3
CATEGORIES=	japanese
MASTER_SITES=	http://cannadic.oucrc.org/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Canna dictionary containing a lot of words

RUN_DEPENDS=	${LOCALBASE}/sbin/cannaserver:japanese/canna-server
BUILD_DEPENDS=	crxdic:japanese/canna-server

ALL_TARGET=	maindic
SUB_FILES=	README.FreeBSD pkg-message
PORTDOCS=	README.ja README.FreeBSD

DICS=		gcanna.cbd gcanna.cld gcannaf.ctd
DICSFILE=	dics.dir.gpl_canna
DICDIR=		share/canna/dic/canna
OPTIONS_DEFINE=	DOCS

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${DICDIR}
	cd ${WRKSRC} && \
		${INSTALL_DATA} ${DICS} ${DICSFILE} ${STAGEDIR}${PREFIX}/${DICDIR}
	${INSTALL_DATA} ${WRKDIR}/README.FreeBSD ${WRKSRC}
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>