aboutsummaryrefslogtreecommitdiff
path: root/games/xminehunter
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-01-10 07:54:03 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-01-10 07:54:03 +0000
commit0443cef8709dde9718d272fb7f30b15e92f7616b (patch)
tree86b47f19f5ede09de9f66a7606f18fa3971c577b /games/xminehunter
parent0790bbe8e01d8501824716eed34c4d14d7377ab4 (diff)
downloadports-0443cef8709dde9718d272fb7f30b15e92f7616b.tar.gz
ports-0443cef8709dde9718d272fb7f30b15e92f7616b.zip
Import of xminehunter, yet another minesweeper game.
Uses Motif, and almost works with the latest lesstif-current.
Notes
Notes: svn path=/head/; revision=5296
Diffstat (limited to 'games/xminehunter')
-rw-r--r--games/xminehunter/Makefile23
-rw-r--r--games/xminehunter/distinfo1
-rw-r--r--games/xminehunter/files/patch-aa15
-rw-r--r--games/xminehunter/pkg-comment1
-rw-r--r--games/xminehunter/pkg-descr6
-rw-r--r--games/xminehunter/pkg-plist4
6 files changed, 50 insertions, 0 deletions
diff --git a/games/xminehunter/Makefile b/games/xminehunter/Makefile
new file mode 100644
index 000000000000..0ed5e3002873
--- /dev/null
+++ b/games/xminehunter/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: xminehunter
+# Version required: 0.3
+# Date created: 09 January 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= xminehunter-0.3
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games/
+
+MAINTAINER= tg@FreeBSD.ORG
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+PREFIX= ${X11BASE}
+WRKSRC= ${WRKDIR}/xminehunter
+REQUIRES_MOTIF= yes
+ALL_TARGET= xminehunter
+
+.include <bsd.port.mk>
diff --git a/games/xminehunter/distinfo b/games/xminehunter/distinfo
new file mode 100644
index 000000000000..f0210c2583c1
--- /dev/null
+++ b/games/xminehunter/distinfo
@@ -0,0 +1 @@
+MD5 (xminehunter-0.3.tar.gz) = cea6d1d009eb6cf006cca406c94fcfa8
diff --git a/games/xminehunter/files/patch-aa b/games/xminehunter/files/patch-aa
new file mode 100644
index 000000000000..4cc6ac4fc764
--- /dev/null
+++ b/games/xminehunter/files/patch-aa
@@ -0,0 +1,15 @@
+--- Makefile.orig Mon Jul 22 08:11:34 1996
++++ Makefile Thu Jan 9 17:28:57 1997
+@@ -1,8 +1,8 @@
+-INSTALL_BIN_PATH = /usr/local/bin
+-INSTALL_SCORE_PATH = /usr/local/lib/xminehunter
++INSTALL_BIN_PATH = ${X11BASE}/bin
++INSTALL_SCORE_PATH = ${X11BASE}/lib/X11/xminehunter
+
+-INCLUDES = -I/usr/local/X11R5/include
+-LIBS = -L/usr/local/X11R5/lib -lXm -lXt -lXpm -lXext -lX11
++INCLUDES = -I${X11BASE}/include
++LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXpm -lXext -lX11
+
+
+ CC = g++
diff --git a/games/xminehunter/pkg-comment b/games/xminehunter/pkg-comment
new file mode 100644
index 000000000000..fff857079dd3
--- /dev/null
+++ b/games/xminehunter/pkg-comment
@@ -0,0 +1 @@
+A Motif minesweeper game.
diff --git a/games/xminehunter/pkg-descr b/games/xminehunter/pkg-descr
new file mode 100644
index 000000000000..8ab5d12d2c50
--- /dev/null
+++ b/games/xminehunter/pkg-descr
@@ -0,0 +1,6 @@
+A Motif minesweeper game.
+
+Use left mouse button to uncover square; right to mark mine;
+middle to mark question if the square is covered, or quickturn if the square
+is uncovered. Menus are pretty straight forward, so no need further
+explanation here.
diff --git a/games/xminehunter/pkg-plist b/games/xminehunter/pkg-plist
new file mode 100644
index 000000000000..dda9499c01b8
--- /dev/null
+++ b/games/xminehunter/pkg-plist
@@ -0,0 +1,4 @@
+bin/xminehunter
+@exec mkdir lib/X11/xminehunter
+@exec chmod 333 lib/X11/xminehunter
+@dirrm lib/X11/xminehunter