diff options
author | Brian Feldman <green@FreeBSD.org> | 2000-11-13 06:15:26 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2000-11-13 06:15:26 +0000 |
commit | c9a003239ec3718437203f37e8712ca09f036141 (patch) | |
tree | 205f7e1789466710e69c72728c7d8add463c7a09 /japanese/kdrill/Makefile | |
parent | - Provide the full path for gmake(1) so configure doesn't fall over. (diff) |
Add kdrill, a kanji tutor/quiz program.
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>
Notes
Notes:
svn path=/head/; revision=35053
Diffstat (limited to 'japanese/kdrill/Makefile')
-rw-r--r-- | japanese/kdrill/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/japanese/kdrill/Makefile b/japanese/kdrill/Makefile new file mode 100644 index 000000000000..7069ad843dbe --- /dev/null +++ b/japanese/kdrill/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: kdrill +# Date created: 14 November 2000 +# Whom: Seth Kingsley <sethk@osd.bsdi.com> +# +# $FreeBSD$ +# + +PORTNAME= kdrill +PORTVERSION= 5.10 +CATEGORIES= japanese +MASTER_SITES= ftp://ftp.bolthole.com/kdrill/ +DISTNAME= ${PORTNAME}${PORTVERSION} + +MAINTAINER= sethk@osd.bsdi.com + +MAN1= kdrill.1 makedic.1 makeedict.1 +MANCOMPRESSED= yes +USE_IMAKE= yes +MAKE_ENV+= LOCALBASE=${LOCALBASE} + +RUN_DEPENDS+= xjdic:${PORTSDIR}/japanese/edict + +post-build: + @cd ${WRKSRC}/makedic && ${MAKE} ${MAKE_ENV} clean all + +DATADIR= ${PREFIX}/share/dict/kdrill +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/makedic/makedic ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/makedic/makeedict ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${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 +.endif + ${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} + +.include <bsd.port.mk> |