View | Details | Raw Unified | Return to bug 191823
Collapse All | Expand All

(-)japanese/kdrill/Makefile (-25 / +15 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/japanese/kdrill/Makefile 360246 2014-07-02 19:21:25Z antoine $
2
# $FreeBSD: head/japanese/kdrill/Makefile 360246 2014-07-02 19:21:25Z antoine $
3
3
4
PORTNAME=	kdrill
4
PORTNAME=	kdrill
5
PORTVERSION=	6.4
5
PORTVERSION=	6.5
6
PORTREVISION=	2
7
CATEGORIES=	japanese
6
CATEGORIES=	japanese
8
MASTER_SITES=	http://www.bolthole.com/kdrill/
7
MASTER_SITES=	http://www.bolthole.com/kdrill/
9
DISTNAME=	${PORTNAME}${PORTVERSION}
8
DISTNAME=	${PORTNAME}${PORTVERSION}
Lines 11-46 Link Here
11
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Program to quiz you on the meanings of Kanji
11
COMMENT=	Program to quiz you on the meanings of Kanji
13
12
14
# Explictly state HTML'ized man pages in packing list since not all are
13
RUN_DEPENDS=	xjdic:${PORTSDIR}/japanese/edict
15
# generated from imake.
16
XFREE86_HTML_MAN=no
17
MAN1=		kdrill.1 makedic.1 makeedict.1
18
14
19
USES=		imake
15
USES=		imake
20
MANCOMPRESSED=	yes
21
USE_XORG=	ice sm x11 xaw xext xmu xpm xt
16
USE_XORG=	ice sm x11 xaw xext xmu xpm xt
22
17
23
RUN_DEPENDS+=	xjdic:${PORTSDIR}/japanese/edict
18
DATADIR=	${PREFIX}/share/dict/kdrill
24
19
25
NO_STAGE=	yes
26
post-build:
20
post-build:
27
	@cd ${WRKSRC}/makedic && ${MAKE} ${MAKE_ENV} clean all
21
	@(cd ${WRKSRC}/makedic && ${DO_MAKE_BUILD} ${ALL_TARGET})
28
22
29
DATADIR=	${PREFIX}/share/dict/kdrill
30
post-install:
23
post-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/makedic/makedic ${PREFIX}/bin
24
.for i in makedic makeedict
32
	${INSTALL_PROGRAM} ${WRKSRC}/makedic/makeedict ${PREFIX}/bin
25
	(cd ${WRKSRC}/makedic && ${INSTALL_PROGRAM} ${i} \
33
	${INSTALL_MAN} ${WRKSRC}/makedic/makedic.1 \
26
		${STAGEDIR}${PREFIX}/bin)
34
	    ${PREFIX}/man/man1
27
	(cd ${WRKSRC}/makedic && ${INSTALL_MAN} ${i}.1 \
35
	${GZIP_CMD} ${PREFIX}/man/man1/makedic.1
28
		${STAGEDIR}${MANPREFIX}/man/man1)
36
	${INSTALL_MAN} ${WRKSRC}/makedic/makeedict.1 \
29
.endfor
37
	    ${PREFIX}/man/man1
30
	@${MKDIR} ${STAGEDIR}${DATADIR}
38
	${GZIP_CMD} ${PREFIX}/man/man1/makeedict.1
31
.for i in fullkatahira.edic hira.edic hiraplus.edic kata.edic kataplus.edic
39
	${MKDIR} ${DATADIR}
32
	(cd ${WRKSRC}/makedic && ${INSTALL_DATA} ${i} \
40
	${INSTALL_DATA} ${WRKSRC}/makedic/fullkatahira.edic ${DATADIR}
33
		${STAGEDIR}${DATADIR})
41
	${INSTALL_DATA} ${WRKSRC}/makedic/hira.edic ${DATADIR}
34
.endfor
42
	${INSTALL_DATA} ${WRKSRC}/makedic/hiraplus.edic ${DATADIR}
43
	${INSTALL_DATA} ${WRKSRC}/makedic/kata.edic ${DATADIR}
44
	${INSTALL_DATA} ${WRKSRC}/makedic/kataplus.edic ${DATADIR}
45
35
46
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)japanese/kdrill/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (kdrill6.4.tar.gz) = 63588c61a242a8e9469942c12640b2f833c7798fe0b0468c483dd6e2da441de4
1
SHA256 (kdrill6.5.tar.gz) = 7d71b74ee4a24312652a1fe8e30003d31a84cab6f5b34ab24e0b8e449024b4d7
2
SIZE (kdrill6.4.tar.gz) = 233196
2
SIZE (kdrill6.5.tar.gz) = 233569
(-)japanese/kdrill/pkg-plist (-7 / +9 lines)
Lines 1-11 Link Here
1
bin/kdrill
1
bin/kdrill
2
bin/makedic
2
bin/makedic
3
bin/makeedict
3
bin/makeedict
4
share/dict/kdrill/fullkatahira.edic
5
share/dict/kdrill/hira.edic
6
share/dict/kdrill/hiraplus.edic
7
share/dict/kdrill/kata.edic
8
share/dict/kdrill/kataplus.edic
9
lib/X11/app-defaults/KDrill
4
lib/X11/app-defaults/KDrill
10
@dirrm share/dict/kdrill
5
man/man1/kdrill.1.gz
11
@dirrmtry share/dict
6
man/man1/makedic.1.gz
7
man/man1/makeedict.1.gz
8
%%DATADIR%%/fullkatahira.edic
9
%%DATADIR%%/hira.edic
10
%%DATADIR%%/hiraplus.edic
11
%%DATADIR%%/kata.edic
12
%%DATADIR%%/kataplus.edic
13
@dirrm %%DATADIR%%

Return to bug 191823