aboutsummaryrefslogtreecommitdiff
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
parent333433d9d9158e5f803d3f89550e5e7b81f3e8f7 (diff)
downloadports-879702a47e1883e9067f2b1f0857a98c65a22529.tar.gz
ports-879702a47e1883e9067f2b1f0857a98c65a22529.zip
Notes
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>