diff options
author | John Marino <marino@FreeBSD.org> | 2014-07-31 12:52:38 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-07-31 12:52:38 +0000 |
commit | 62d8318f107621f4fdcffdd4479471dcf3c85fe0 (patch) | |
tree | 605788373af28991b8af2f1425ddf420777795e2 /japanese | |
parent | 0c8866a171c2ebac7e24e535739273e9c95bcfc9 (diff) | |
download | ports-62d8318f107621f4fdcffdd4479471dcf3c85fe0.tar.gz ports-62d8318f107621f4fdcffdd4479471dcf3c85fe0.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/kdrill/Makefile | 40 | ||||
-rw-r--r-- | japanese/kdrill/distinfo | 4 | ||||
-rw-r--r-- | japanese/kdrill/pkg-plist | 16 |
3 files changed, 26 insertions, 34 deletions
diff --git a/japanese/kdrill/Makefile b/japanese/kdrill/Makefile index a87ac0b6eb58..ba8ee36f576b 100644 --- a/japanese/kdrill/Makefile +++ b/japanese/kdrill/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= kdrill -PORTVERSION= 6.4 -PORTREVISION= 2 +PORTVERSION= 6.5 CATEGORIES= japanese MASTER_SITES= http://www.bolthole.com/kdrill/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -11,36 +10,27 @@ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Program to quiz you on the meanings of Kanji -# Explictly state HTML'ized man pages in packing list since not all are -# generated from imake. -XFREE86_HTML_MAN=no -MAN1= kdrill.1 makedic.1 makeedict.1 +RUN_DEPENDS= xjdic:${PORTSDIR}/japanese/edict USES= imake -MANCOMPRESSED= yes USE_XORG= ice sm x11 xaw xext xmu xpm xt -RUN_DEPENDS+= xjdic:${PORTSDIR}/japanese/edict +DATADIR= ${PREFIX}/share/dict/kdrill -NO_STAGE= yes post-build: - @cd ${WRKSRC}/makedic && ${MAKE} ${MAKE_ENV} clean all + @(cd ${WRKSRC}/makedic && ${DO_MAKE_BUILD} ${ALL_TARGET}) -DATADIR= ${PREFIX}/share/dict/kdrill post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/makedic/makedic ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/makedic/makeedict ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/makedic/makedic.1 \ - ${PREFIX}/man/man1 - ${GZIP_CMD} ${PREFIX}/man/man1/makedic.1 - ${INSTALL_MAN} ${WRKSRC}/makedic/makeedict.1 \ - ${PREFIX}/man/man1 - ${GZIP_CMD} ${PREFIX}/man/man1/makeedict.1 - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/makedic/fullkatahira.edic ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/makedic/hira.edic ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/makedic/hiraplus.edic ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/makedic/kata.edic ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/makedic/kataplus.edic ${DATADIR} +.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> diff --git a/japanese/kdrill/distinfo b/japanese/kdrill/distinfo index 55a6a4a3ac04..bd87836ce041 100644 --- a/japanese/kdrill/distinfo +++ b/japanese/kdrill/distinfo @@ -1,2 +1,2 @@ -SHA256 (kdrill6.4.tar.gz) = 63588c61a242a8e9469942c12640b2f833c7798fe0b0468c483dd6e2da441de4 -SIZE (kdrill6.4.tar.gz) = 233196 +SHA256 (kdrill6.5.tar.gz) = 7d71b74ee4a24312652a1fe8e30003d31a84cab6f5b34ab24e0b8e449024b4d7 +SIZE (kdrill6.5.tar.gz) = 233569 diff --git a/japanese/kdrill/pkg-plist b/japanese/kdrill/pkg-plist index 747106804d47..f287f38441ed 100644 --- a/japanese/kdrill/pkg-plist +++ b/japanese/kdrill/pkg-plist @@ -1,11 +1,13 @@ bin/kdrill bin/makedic bin/makeedict -share/dict/kdrill/fullkatahira.edic -share/dict/kdrill/hira.edic -share/dict/kdrill/hiraplus.edic -share/dict/kdrill/kata.edic -share/dict/kdrill/kataplus.edic lib/X11/app-defaults/KDrill -@dirrm share/dict/kdrill -@dirrmtry share/dict +man/man1/kdrill.1.gz +man/man1/makedic.1.gz +man/man1/makeedict.1.gz +%%DATADIR%%/fullkatahira.edic +%%DATADIR%%/hira.edic +%%DATADIR%%/hiraplus.edic +%%DATADIR%%/kata.edic +%%DATADIR%%/kataplus.edic +@dirrm %%DATADIR%% |