aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-01-10 15:54:03 +0800
committertg <tg@FreeBSD.org>1997-01-10 15:54:03 +0800
commit25c494e79ee4af02bb92836a613ee6cc42767cf0 (patch)
tree95506f5085500bfd0aac3e3666ae789cb58c6da7
parent22204e1afc79ac18b05ed055f51545d2cdfb6090 (diff)
downloadfreebsd-ports-gnome-25c494e79ee4af02bb92836a613ee6cc42767cf0.tar.gz
freebsd-ports-gnome-25c494e79ee4af02bb92836a613ee6cc42767cf0.tar.zst
freebsd-ports-gnome-25c494e79ee4af02bb92836a613ee6cc42767cf0.zip
Import of xminehunter, yet another minesweeper game.
Uses Motif, and almost works with the latest lesstif-current.
-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