summaryrefslogtreecommitdiff
path: root/japanese/truetypefonts/Makefile
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/truetypefonts/Makefile
parentAdd iconv-extra - an additional charset modules for the iconv-1.0 library (diff)
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/truetypefonts/Makefile')
-rw-r--r--japanese/truetypefonts/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/japanese/truetypefonts/Makefile b/japanese/truetypefonts/Makefile
index 60ad2a4e569e..4f84efab9aef 100644
--- a/japanese/truetypefonts/Makefile
+++ b/japanese/truetypefonts/Makefile
@@ -14,12 +14,17 @@ DISTNAME= xtt-fonts_0.${PORTVERSION:S/.//g}-3
MAINTAINER= candy@kgc.co.jp
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
WRKSRC= ${WRKDIR}/xtt-fonts-0.${PORTVERSION:S/.//g}
NO_BUILD= yes
FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType
-.include <bsd.port.pre.mk>
-
do-install:
.if !exists(${FONTDIR})
@${ECHO} "*********************************************************"