summaryrefslogtreecommitdiffstats
path: root/japanese/kappa20/Makefile
diff options
context:
space:
mode:
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 0606cd6..3ff2c62 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>
OpenPOWER on IntegriCloud