freebsd-ports/japanese/kdrill/Makefile
Dmitry Marakasov 33e3d901d4 Convert most of remaining ports that depend on xorg-libraries to
modular xorg.

- supply corresponding USE_XORG for all imake-using ports that need it
- USE_IMAKE no longer implies USE_XLIB in absence of USE_XORG
- retire USE_X_PREFIX which is not really used anywhere after the
  above change
- a few minor nits like whitespace and SF macro

Tested by:	2 tinderbox runs by pav
Approved by:	portmgr (pav)
2009-06-09 15:33:28 +00:00

49 lines
1.4 KiB
Makefile

# New ports collection makefile for: kdrill
# Date created: 14 November 2000
# Whom: Seth Kingsley <sethk@osd.bsdi.com>
#
# $FreeBSD$
#
PORTNAME= kdrill
PORTVERSION= 6.4
PORTREVISION= 2
CATEGORIES= japanese
MASTER_SITES= http://www.bolthole.com/kdrill/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= sethk@meowfishies.com
COMMENT= A 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
MANCOMPRESSED= yes
USE_IMAKE= yes
USE_XORG= ice sm x11 xaw xext xmu xpm xt
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
${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}
.include <bsd.port.mk>