diff --git a/games/xminehunter/Makefile b/games/xminehunter/Makefile new file mode 100644 index 00000000000..79293ff2b3d --- /dev/null +++ b/games/xminehunter/Makefile @@ -0,0 +1,23 @@ +# OpenBSD makefile for: xminehunter +# Version required: 0.4 +# Date created: May 19 1998 +# Whom: Angelos D. Keromytis +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 01:58:18 angelos Exp $ +# + +DISTNAME= xminehunter-0.4 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= games + +MAINTAINER= angelos@openbsd.org + +LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm + +USE_X11= yes +WRKSRC= ${WRKDIR}/xminehunter +REQUIRES_MOTIF= yes +ALL_TARGET= xminehunter + +.include diff --git a/games/xminehunter/files/md5 b/games/xminehunter/files/md5 new file mode 100644 index 00000000000..05e80caa492 --- /dev/null +++ b/games/xminehunter/files/md5 @@ -0,0 +1 @@ +MD5 (xminehunter-0.4.tar.gz) = 143164c97112dacb6c0f6ba6494dc7ed diff --git a/games/xminehunter/patches/patch-aa b/games/xminehunter/patches/patch-aa new file mode 100644 index 00000000000..4cc6ac4fc76 --- /dev/null +++ b/games/xminehunter/patches/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 00000000000..fff857079dd --- /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 00000000000..8ab5d12d2c5 --- /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 00000000000..dda9499c01b --- /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