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> |