summaryrefslogtreecommitdiff
path: root/games/xjewel
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-12 13:04:00 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-09-12 13:04:00 +0000
commit3405e8106be4f80b5cc8d9888af0765a32364b34 (patch)
treed6d3642705885c3d18d93eb26686161f0de71a46 /games/xjewel
parentMove variable definitions before including bsd.port.pre.mk. (diff)
Add BUILD_DEPENDS=bdftopcf:XFree86-4-clients and
RUN_DEPENDS=mkfontdir:XFree86-4-clients when XFREE86_VERSION=4. Submitted by: bento
Notes
Notes: svn path=/head/; revision=32551
Diffstat (limited to 'games/xjewel')
-rw-r--r--games/xjewel/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile
index 6f8960f3b675..1d9d74e52886 100644
--- a/games/xjewel/Makefile
+++ b/games/xjewel/Makefile
@@ -16,6 +16,14 @@ EXTRACT_SUFX= .tar.z
MAINTAINER= jmz@FreeBSD.org
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
+
MAN6= xjewel.6
FONTSDIR= lib/X11/fonts/local
@@ -29,4 +37,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/bitmaps/seven_seg.pcf.gz ${PREFIX}/${FONTSDIR}
@(cd ${PREFIX}/${FONTSDIR} ; mkfontdir)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>