summaryrefslogtreecommitdiff
path: root/japanese/kappa20/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-12 11:08:05 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-09-12 11:08:05 +0000
commita1862f30e74f949fa0554cc9266b7b82b4ffa079 (patch)
treebaae9bdbad9ebbc9c058a6028b2cb1c4456b6ec5 /japanese/kappa20/Makefile
parentAdd iconv-extra - an additional charset modules for the iconv-1.0 library (diff)
Add dependency to mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.
Submitted by: bento and gohan
Notes
Notes: svn path=/head/; revision=32544
Diffstat (limited to 'japanese/kappa20/Makefile')
-rw-r--r--japanese/kappa20/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/japanese/kappa20/Makefile b/japanese/kappa20/Makefile
index 0606cd640ef3..3ff2c6292739 100644
--- a/japanese/kappa20/Makefile
+++ b/japanese/kappa20/Makefile
@@ -13,8 +13,15 @@ DISTNAME= Kappa20-${PORTVERSION}
MAINTAINER= ginga@athena.club.ne.jp
-ALL_TARGET= default
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+ALL_TARGET= default
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
MAKE_ARGS= TARGETDIR="${PREFIX}/${FONTSDIR}"
@@ -32,4 +39,4 @@ post-install:
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/pcf/fonts.alias.kappa ${PREFIX}/share/doc/kappa20/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>