aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/netscape-fonts
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/netscape-fonts
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/netscape-fonts')
-rw-r--r--japanese/netscape-fonts/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/japanese/netscape-fonts/Makefile b/japanese/netscape-fonts/Makefile
index a6b02790166a..eb26d8401ee9 100644
--- a/japanese/netscape-fonts/Makefile
+++ b/japanese/netscape-fonts/Makefile
@@ -19,10 +19,17 @@ RUN_DEPENDS= \
${PREFIX}/lib/X11/fonts/local/k20b.pcf.gz:${PORTSDIR}/japanese/kappa20
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:
@${SETENV} PKG_PREFIX=${PREFIX} \
/usr/bin/perl ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>