2000-11-13 06:15:26 +00:00
|
|
|
# New ports collection makefile for: kdrill
|
|
|
|
# Date created: 14 November 2000
|
|
|
|
# Whom: Seth Kingsley <sethk@osd.bsdi.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kdrill
|
2005-08-06 19:20:55 +00:00
|
|
|
PORTVERSION= 6.4
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
2000-11-13 06:15:26 +00:00
|
|
|
CATEGORIES= japanese
|
2002-11-09 01:14:23 +00:00
|
|
|
MASTER_SITES= http://www.bolthole.com/kdrill/
|
2000-11-13 06:15:26 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
|
2002-04-30 12:34:16 +00:00
|
|
|
MAINTAINER= sethk@meowfishies.com
|
2003-02-21 12:35:09 +00:00
|
|
|
COMMENT= A program to quiz you on the meanings of Kanji
|
2000-11-13 06:15:26 +00:00
|
|
|
|
2002-09-01 16:46:39 +00:00
|
|
|
# Explictly state HTML'ized man pages in packing list since not all are
|
|
|
|
# generated from imake.
|
|
|
|
XFREE86_HTML_MAN=no
|
2000-11-13 06:15:26 +00:00
|
|
|
MAN1= kdrill.1 makedic.1 makeedict.1
|
2002-09-01 16:46:39 +00:00
|
|
|
|
2000-11-13 06:15:26 +00:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
USE_IMAKE= yes
|
|
|
|
|
|
|
|
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>
|