summaryrefslogtreecommitdiff
path: root/japanese/k12
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/k12
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/k12')
-rw-r--r--japanese/k12/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/k12/Makefile b/japanese/k12/Makefile
index 83301a748cc1..a8ae2d0b85ff 100644
--- a/japanese/k12/Makefile
+++ b/japanese/k12/Makefile
@@ -18,6 +18,12 @@ MAINTAINER= mita@jp.FreeBSD.org
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
WRKSRC= ${WRKDIR}/fonts
EXTRACT_ONLY= knm_new_linux.tar.gz
@@ -41,4 +47,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${PREFIX}/share/doc/k12
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>