From 0443cef8709dde9718d272fb7f30b15e92f7616b Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Fri, 10 Jan 1997 07:54:03 +0000 Subject: [PATCH] Import of xminehunter, yet another minesweeper game. Uses Motif, and almost works with the latest lesstif-current. --- games/xminehunter/Makefile | 23 +++++++++++++++++++++++ games/xminehunter/distinfo | 1 + games/xminehunter/files/patch-aa | 15 +++++++++++++++ games/xminehunter/pkg-comment | 1 + games/xminehunter/pkg-descr | 6 ++++++ games/xminehunter/pkg-plist | 4 ++++ 6 files changed, 50 insertions(+) create mode 100644 games/xminehunter/Makefile create mode 100644 games/xminehunter/distinfo create mode 100644 games/xminehunter/files/patch-aa create mode 100644 games/xminehunter/pkg-comment create mode 100644 games/xminehunter/pkg-descr create mode 100644 games/xminehunter/pkg-plist 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 +# +# $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 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