blob: cf11878cee87fddb4c6fa556f7219fcfe73de6dd (
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
34
35
36
|
# Created by: Seth Kingsley <sethk@osd.bsdi.com>
# $FreeBSD$
PORTNAME= kdrill
PORTVERSION= 6.5
CATEGORIES= japanese
MASTER_SITES= http://www.bolthole.com/kdrill/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Program to quiz you on the meanings of Kanji
RUN_DEPENDS= xjdic:japanese/edict
USES= imake
USE_XORG= ice sm x11 xaw xext xmu xpm xt
DATADIR= ${PREFIX}/share/dict/kdrill
post-build:
@(cd ${WRKSRC}/makedic && ${DO_MAKE_BUILD} ${ALL_TARGET})
post-install:
.for i in makedic makeedict
(cd ${WRKSRC}/makedic && ${INSTALL_PROGRAM} ${i} \
${STAGEDIR}${PREFIX}/bin)
(cd ${WRKSRC}/makedic && ${INSTALL_MAN} ${i}.1 \
${STAGEDIR}${MANPREFIX}/man/man1)
.endfor
@${MKDIR} ${STAGEDIR}${DATADIR}
.for i in fullkatahira.edic hira.edic hiraplus.edic kata.edic kataplus.edic
(cd ${WRKSRC}/makedic && ${INSTALL_DATA} ${i} \
${STAGEDIR}${DATADIR})
.endfor
.include <bsd.port.mk>
|