From 47da741123ef8e21ee636c92c56aeea79f52ccbd Mon Sep 17 00:00:00 2001 From: asami Date: Tue, 12 Sep 2000 13:04:00 +0000 Subject: Add BUILD_DEPENDS=bdftopcf:XFree86-4-clients and RUN_DEPENDS=mkfontdir:XFree86-4-clients when XFREE86_VERSION=4. Submitted by: bento --- chinese/cxterm/Makefile | 9 ++++++++- chinese/kcfonts/Makefile | 10 +++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'chinese') diff --git a/chinese/cxterm/Makefile b/chinese/cxterm/Makefile index 588bdd1fb4bb..1da6502b2883 100644 --- a/chinese/cxterm/Makefile +++ b/chinese/cxterm/Makefile @@ -24,6 +24,13 @@ MAINTAINER= obrien@FreeBSD.org WRKSRC= ${WRKDIR}/cxterm-5.0 USE_IMAKE= yes +.include + +.if ${XFREE86_VERSION} == 4 +BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients +RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients +.endif + XMKMF= xmkmf ALL_TARGET= xrelease Makefiles includes all @@ -42,4 +49,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/Doc/input.doc ${PREFIX}/share/doc/cxterm .endif -.include +.include diff --git a/chinese/kcfonts/Makefile b/chinese/kcfonts/Makefile index 2b185f01b1f4..7b94adf62e39 100644 --- a/chinese/kcfonts/Makefile +++ b/chinese/kcfonts/Makefile @@ -14,6 +14,14 @@ MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/distfiles/ \ MAINTAINER= PA@FreeBSD.ee.Ntu.edu.TW USE_X_PREFIX= yes + +.include + +.if ${XFREE86_VERSION} == 4 +BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients +RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients +.endif + NO_WRKSUBDIR= yes -.include +.include -- cgit