summaryrefslogtreecommitdiff
path: root/japanese/k10/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/k10/Makefile')
-rw-r--r--japanese/k10/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/k10/Makefile b/japanese/k10/Makefile
index 6c386f49559b..97855c9ec899 100644
--- a/japanese/k10/Makefile
+++ b/japanese/k10/Makefile
@@ -15,6 +15,12 @@ MAINTAINER= usagi@clave.gr.jp
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= FONTSDIR=${FONTSDIR}
PLIST_SUB= FONTSDIR=${FONTSDIR}
@@ -30,4 +36,4 @@ post-install:
@${CP} ${WRKSRC}/README ${PREFIX}/share/doc/naga10/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>