aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmemory
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-02-12 16:11:09 +0800
committertg <tg@FreeBSD.org>1998-02-12 16:11:09 +0800
commitc455591b945312e6daba223bff988080cc233075 (patch)
tree61f51022bcb19ab84fd882552047e0b6351b7a95 /games/xmemory
parent9bafdfe22d15ea851f1648fbcdb58c2009e9ed95 (diff)
downloadfreebsd-ports-gnome-c455591b945312e6daba223bff988080cc233075.tar.gz
freebsd-ports-gnome-c455591b945312e6daba223bff988080cc233075.tar.zst
freebsd-ports-gnome-c455591b945312e6daba223bff988080cc233075.zip
Import xmemory port. xmemory is a multiplayer memory game.
PR: 5678 Submitted by: Dave Chapeskie <dchapes@ddm.on.ca>
Diffstat (limited to 'games/xmemory')
-rw-r--r--games/xmemory/Makefile25
-rw-r--r--games/xmemory/distinfo1
-rw-r--r--games/xmemory/files/patch-aa21
-rw-r--r--games/xmemory/pkg-comment1
-rw-r--r--games/xmemory/pkg-descr6
-rw-r--r--games/xmemory/pkg-plist7
6 files changed, 61 insertions, 0 deletions
diff --git a/games/xmemory/Makefile b/games/xmemory/Makefile
new file mode 100644
index 000000000000..6b337c33b712
--- /dev/null
+++ b/games/xmemory/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xmemory
+# Version required: 3.7
+# Date Created: Sat Feb 7 21:37:09 EST 1998
+# Whom: Dave Chapeskie <dchapes@ddm.on.ca>
+#
+# $Id$
+#
+
+DISTNAME= xmemory-3.7
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games/multiplayer
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dchapes@ddm.on.ca
+
+USE_IMAKE= yes
+
+post-install:
+ @${MKDIR} ${X11BASE}/lib/X11/xmemory
+ ${INSTALL_DATA} ${WRKSRC}/home.mem ${WRKSRC}/sports.mem \
+ ${X11BASE}/lib/X11/xmemory
+ ${LN} -sf home.mem ${X11BASE}/lib/X11/xmemory/default.mem
+
+.include <bsd.port.mk>
diff --git a/games/xmemory/distinfo b/games/xmemory/distinfo
new file mode 100644
index 000000000000..63c05211b204
--- /dev/null
+++ b/games/xmemory/distinfo
@@ -0,0 +1 @@
+MD5 (xmemory-3.7.tgz) = 3617a53cfa5f766ebf124e874d7c5493
diff --git a/games/xmemory/files/patch-aa b/games/xmemory/files/patch-aa
new file mode 100644
index 000000000000..aa7e783b49df
--- /dev/null
+++ b/games/xmemory/files/patch-aa
@@ -0,0 +1,21 @@
+--- Imakefile.orig Thu Jul 18 11:02:56 1996
++++ Imakefile Sat Feb 7 22:15:55 1998
+@@ -8,7 +8,7 @@
+
+ XCOMM where to search for data-files, when not found in current dir
+
+- XMEMORYDIR = \"/usr/games/lib/xmemory\"
++ XMEMORYDIR = \"${LIBDIR}/xmemory\"
+
+ XCOMM set the compiler that you like,
+ XCOMM gcc should suit, since the libraries are not needed.
+@@ -29,8 +29,7 @@
+ $(RM) $@
+ $(CXX) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
+
+-InstallProgram(xmemory,$(BINDIR))
+-InstallManPage(xmemory,$(MANDIR))
++ComplexProgramTarget(xmemory)
+ DependTarget()
+ CleanTarget()
+
diff --git a/games/xmemory/pkg-comment b/games/xmemory/pkg-comment
new file mode 100644
index 000000000000..61c113614638
--- /dev/null
+++ b/games/xmemory/pkg-comment
@@ -0,0 +1 @@
+XMemory is a multi player memory game.
diff --git a/games/xmemory/pkg-descr b/games/xmemory/pkg-descr
new file mode 100644
index 000000000000..f7d90f16b41a
--- /dev/null
+++ b/games/xmemory/pkg-descr
@@ -0,0 +1,6 @@
+XMemory is a multi player memory game. It can be played simultaneously on
+several X Displays, which have to be listed on the command-line. Like in
+the traditional memory game, the players have to find similar tiles on the
+table to get the tiles. The main difference to this game is, that the
+players really play simultaneous and therefor the whole game gets
+some kind of an action game.
diff --git a/games/xmemory/pkg-plist b/games/xmemory/pkg-plist
new file mode 100644
index 000000000000..080527f5ce11
--- /dev/null
+++ b/games/xmemory/pkg-plist
@@ -0,0 +1,7 @@
+bin/xmemory
+man/man1/xmemory.1.gz
+lib/X11/xmemory/sports.mem
+lib/X11/xmemory/home.mem
+@exec ln -sf %f %B/default.mem
+@unexec rm %B/default.mem
+@dirrm lib/X11/xmemory