summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-12 13:04:00 +0000
committerasami <asami@FreeBSD.org>2000-09-12 13:04:00 +0000
commit47da741123ef8e21ee636c92c56aeea79f52ccbd (patch)
treee040907401668bad88013b550a9c94e03adcd7e6 /x11-fonts
parent799d0bf099681efbc3cb438ad809c1b2f0175d36 (diff)
downloadFreeBSD-ports-47da741123ef8e21ee636c92c56aeea79f52ccbd.zip
FreeBSD-ports-47da741123ef8e21ee636c92c56aeea79f52ccbd.tar.gz
Add BUILD_DEPENDS=bdftopcf:XFree86-4-clients and
RUN_DEPENDS=mkfontdir:XFree86-4-clients when XFREE86_VERSION=4. Submitted by: bento
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Xg/Makefile9
-rw-r--r--x11-fonts/etlfonts/Makefile9
2 files changed, 16 insertions, 2 deletions
diff --git a/x11-fonts/Xg/Makefile b/x11-fonts/Xg/Makefile
index b01191e..b9e36d4 100644
--- a/x11-fonts/Xg/Makefile
+++ b/x11-fonts/Xg/Makefile
@@ -16,4 +16,11 @@ MAINTAINER= ports@FreeBSD.org
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
-.include <bsd.port.mk>
+.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
+
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/etlfonts/Makefile b/x11-fonts/etlfonts/Makefile
index af75018..f65e805 100644
--- a/x11-fonts/etlfonts/Makefile
+++ b/x11-fonts/etlfonts/Makefile
@@ -19,10 +19,17 @@ EXTRACT_BEFORE_ARGS= -xf
EXTRACT_AFTER_ARGS= # empty
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
+
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/*.gz
post-install:
@${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud