summaryrefslogtreecommitdiffstats
path: root/japanese/kappa20
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/kappa20
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/kappa20')
-rw-r--r--japanese/kappa20/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/japanese/kappa20/Makefile b/japanese/kappa20/Makefile
index 0606cd6..3ff2c62 100644
--- a/japanese/kappa20/Makefile
+++ b/japanese/kappa20/Makefile
@@ -13,8 +13,15 @@ DISTNAME= Kappa20-${PORTVERSION}
MAINTAINER= ginga@athena.club.ne.jp
-ALL_TARGET= default
USE_X_PREFIX= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${XFREE86_VERSION} == 4
+RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
+.endif
+
+ALL_TARGET= default
FONTSDIR= lib/X11/fonts/local
MAKE_ENV= INSTALL_DATA="${INSTALL_DATA}"
MAKE_ARGS= TARGETDIR="${PREFIX}/${FONTSDIR}"
@@ -32,4 +39,4 @@ post-install:
@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/pcf/fonts.alias.kappa ${PREFIX}/share/doc/kappa20/
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud