aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/k12
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-12 19:08:05 +0800
committerasami <asami@FreeBSD.org>2000-09-12 19:08:05 +0800
commit6e012c844b936e05d0eec98fd0c653828d56d9ef (patch)
treea9051cdfdb437814124438255e25105e0e94cd7d /japanese/k12
parent26b64903c91d4e9cc56e8a8939a5ece4bdc276d4 (diff)
downloadfreebsd-ports-graphics-6e012c844b936e05d0eec98fd0c653828d56d9ef.tar.gz
freebsd-ports-graphics-6e012c844b936e05d0eec98fd0c653828d56d9ef.tar.zst
freebsd-ports-graphics-6e012c844b936e05d0eec98fd0c653828d56d9ef.zip
Add dependency to mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.
Submitted by: bento and gohan
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 83301a748cc..a8ae2d0b85f 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>