summaryrefslogtreecommitdiffstats
path: root/japanese/ngraph-fonts
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-12 11:08:05 +0000
committerasami <asami@FreeBSD.org>2000-09-12 11:08:05 +0000
commit6e012c844b936e05d0eec98fd0c653828d56d9ef (patch)
treea9051cdfdb437814124438255e25105e0e94cd7d /japanese/ngraph-fonts
parent26b64903c91d4e9cc56e8a8939a5ece4bdc276d4 (diff)
downloadFreeBSD-ports-6e012c844b936e05d0eec98fd0c653828d56d9ef.zip
FreeBSD-ports-6e012c844b936e05d0eec98fd0c653828d56d9ef.tar.gz
Add dependency to mkfontdir:XFree86-4-clients when XFREE86_VERSION=4.
Submitted by: bento and gohan
Diffstat (limited to 'japanese/ngraph-fonts')
-rw-r--r--japanese/ngraph-fonts/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/japanese/ngraph-fonts/Makefile b/japanese/ngraph-fonts/Makefile
index d610070..5e7d4bf 100644
--- a/japanese/ngraph-fonts/Makefile
+++ b/japanese/ngraph-fonts/Makefile
@@ -18,8 +18,15 @@ RUN_DEPENDS= \
${X11BASE}/lib/X11/fonts/local/kanji26.pcf.gz:${PORTSDIR}/japanese/kanji26
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
NO_BUILD= yes
do-install: # empty
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud