summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-01-13 21:41:41 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-01-13 21:41:41 +0000
commit879702a47e1883e9067f2b1f0857a98c65a22529 (patch)
tree2e61f75aac2dbe5dca84b664c22e88366d29b7f2 /games
parentremove duplicate entries. (diff)
add missing dependencies with XFree86-4.
Notes
Notes: svn path=/head/; revision=37171
Diffstat (limited to 'games')
-rw-r--r--games/nethack-gtk/Makefile9
-rw-r--r--games/nethack32-gtk/Makefile9
2 files changed, 16 insertions, 2 deletions
diff --git a/games/nethack-gtk/Makefile b/games/nethack-gtk/Makefile
index 4ace4bbeb730..43ff33c9dd4d 100644
--- a/games/nethack-gtk/Makefile
+++ b/games/nethack-gtk/Makefile
@@ -22,6 +22,13 @@ PATCHFILES= nh-3.2.2-3.2.3.diff \
MAINTAINER= sf@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_GTK= yes
USE_GMAKE= yes
@@ -47,4 +54,4 @@ post-install:
${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/nethack32-gtk/Makefile b/games/nethack32-gtk/Makefile
index 4ace4bbeb730..43ff33c9dd4d 100644
--- a/games/nethack32-gtk/Makefile
+++ b/games/nethack32-gtk/Makefile
@@ -22,6 +22,13 @@ PATCHFILES= nh-3.2.2-3.2.3.diff \
MAINTAINER= sf@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_GTK= yes
USE_GMAKE= yes
@@ -47,4 +54,4 @@ post-install:
${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>