aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/kanji18
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/kanji18
parent26b64903c91d4e9cc56e8a8939a5ece4bdc276d4 (diff)
downloadfreebsd-ports-gnome-6e012c844b936e05d0eec98fd0c653828d56d9ef.tar.gz
freebsd-ports-gnome-6e012c844b936e05d0eec98fd0c653828d56d9ef.tar.zst
freebsd-ports-gnome-6e012c844b936e05d0eec98fd0c653828d56d9ef.zip
Add dependency to mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.
Submitted by: bento and gohan
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>