aboutsummaryrefslogtreecommitdiff
path: root/korean/kaistfonts
diff options
context:
space:
mode:
Diffstat (limited to 'korean/kaistfonts')
-rw-r--r--korean/kaistfonts/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/korean/kaistfonts/Makefile b/korean/kaistfonts/Makefile
index ef6a503b2db8..cee9f23fdb40 100644
--- a/korean/kaistfonts/Makefile
+++ b/korean/kaistfonts/Makefile
@@ -16,6 +16,14 @@ DISTFILES= kaist-newmj18.bdf.gz ks_philgi16.bdf.gz \
MAINTAINER= cjh@FreeBSD.org
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
USE_GMAKE= yes
NO_WRKSUBDIR= yes
MAKE_ENV= DISTDIR=${DISTDIR} DISTFILES="${DISTFILES}"
@@ -31,4 +39,4 @@ do-extract:
post-install:
${CAT} ${PKGDIR}/MESSAGE
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>