aboutsummaryrefslogtreecommitdiff
path: root/japanese/nethack
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 /japanese/nethack
parent689bb16caf7d3965751302db1979553acbfc67e6 (diff)
downloadports-3405e8106be4f80b5cc8d9888af0765a32364b34.tar.gz
ports-3405e8106be4f80b5cc8d9888af0765a32364b34.zip
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 'japanese/nethack')
-rw-r--r--japanese/nethack/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/japanese/nethack/Makefile b/japanese/nethack/Makefile
index 8d48ba6c5702..ae4480016fe5 100644
--- a/japanese/nethack/Makefile
+++ b/japanese/nethack/Makefile
@@ -17,6 +17,13 @@ PATCHFILES= j${PORTNAME}-${PORTVERSION}.gz
MAINTAINER= max@FreeBSD.org
+.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
+
USE_XPM= yes
USE_GMAKE= yes
MAN6= dlb.6 dgn_comp.6 lev_comp.6 nethack.6 recover.6
@@ -50,4 +57,4 @@ post-install:
.endfor
${CAT} ${PKGDIR}/MESSAGE
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>