aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-12 21:04:00 +0800
committerasami <asami@FreeBSD.org>2000-09-12 21:04:00 +0800
commit47da741123ef8e21ee636c92c56aeea79f52ccbd (patch)
treee040907401668bad88013b550a9c94e03adcd7e6 /chinese
parent799d0bf099681efbc3cb438ad809c1b2f0175d36 (diff)
downloadfreebsd-ports-gnome-47da741123ef8e21ee636c92c56aeea79f52ccbd.tar.gz
freebsd-ports-gnome-47da741123ef8e21ee636c92c56aeea79f52ccbd.tar.zst
freebsd-ports-gnome-47da741123ef8e21ee636c92c56aeea79f52ccbd.zip
Add BUILD_DEPENDS=bdftopcf:XFree86-4-clients and
RUN_DEPENDS=mkfontdir:XFree86-4-clients when XFREE86_VERSION=4. Submitted by: bento
Diffstat (limited to 'chinese')
-rw-r--r--chinese/cxterm/Makefile9
-rw-r--r--chinese/kcfonts/Makefile10
2 files changed, 17 insertions, 2 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>