aboutsummaryrefslogtreecommitdiff
path: root/japanese/kanji18
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/kanji18
parent6f5ea235402cf08df7ce974712be299f08383f5a (diff)
downloadports-a1862f30e74f949fa0554cc9266b7b82b4ffa079.tar.gz
ports-a1862f30e74f949fa0554cc9266b7b82b4ffa079.zip
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/kanji18')
-rw-r--r--japanese/kanji18/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/japanese/kanji18/Makefile b/japanese/kanji18/Makefile
index 7a54eae41d02..954e9597eabd 100644
--- a/japanese/kanji18/Makefile
+++ b/japanese/kanji18/Makefile
@@ -23,6 +23,12 @@ FONTSDIR= lib/X11/fonts/local
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
EXTRACT_CMD= zcat
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= | gunshar -d $(WRKDIR)
@@ -68,4 +74,4 @@ post-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>