summaryrefslogtreecommitdiff
path: root/games/xcogitate
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-04-27 14:34:05 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-04-27 14:34:05 +0000
commit088052c51a115d57740db48ad85e9e799179829b (patch)
tree7a79f3dba0f5b87d8ba2c60923dae53cc45a4a2b /games/xcogitate
parentActivate xldlas, and edit its COMMENT so that it does not start (diff)
Import of xcogitate, a logic game for X11. This port is currently
BROKEN, until the distfile is present in MASTER_SITE_LOCAL. PR: 6041 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=10707
Diffstat (limited to 'games/xcogitate')
-rw-r--r--games/xcogitate/Makefile31
-rw-r--r--games/xcogitate/distinfo1
-rw-r--r--games/xcogitate/pkg-comment1
-rw-r--r--games/xcogitate/pkg-descr20
-rw-r--r--games/xcogitate/pkg-plist1
5 files changed, 54 insertions, 0 deletions
diff --git a/games/xcogitate/Makefile b/games/xcogitate/Makefile
new file mode 100644
index 000000000000..5a6e77df4a18
--- /dev/null
+++ b/games/xcogitate/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: xcogitate
+# Version required: 1.02
+# Date created: 15 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xcogs
+PKGNAME= xcogitate-1.02
+CATEGORIES= games x11
+# Fetch truncates the file when retrieved from...
+# MASTER_SITES= http://www.pff-software.demon.nl/archive/
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
+
+BROKEN= Waiting for distfile to be moved to MASTER_SITE_LOCAL
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}/XCOGITATE_SOURCE
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include -o xcogitate xcogitate.c -L${X11BASE}/lib -lX11 -lXpm
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xcogitate ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/xcogitate/distinfo b/games/xcogitate/distinfo
new file mode 100644
index 000000000000..4c02f514c58b
--- /dev/null
+++ b/games/xcogitate/distinfo
@@ -0,0 +1 @@
+MD5 (xcogs.tar.gz) = 3bcaadeca502576b23b32910ea92b1c3
diff --git a/games/xcogitate/pkg-comment b/games/xcogitate/pkg-comment
new file mode 100644
index 000000000000..6f2a510d3b1b
--- /dev/null
+++ b/games/xcogitate/pkg-comment
@@ -0,0 +1 @@
+A logic game with board and stones.
diff --git a/games/xcogitate/pkg-descr b/games/xcogitate/pkg-descr
new file mode 100644
index 000000000000..5dbe119d315a
--- /dev/null
+++ b/games/xcogitate/pkg-descr
@@ -0,0 +1,20 @@
+ The game is played with 72 stones. There are 36 different stones,
+each occuring twice. The stones are shuffled in a pouch. The player
+takes an arbitrary stone from the pouch and must put it on the board
+somewhere.
+
+ The following rules must be followed:
+
+ 1. The stone must touch at least one other stone.
+
+ 2. If the stone touches only 1 other stone, the colours or symbols
+ must be the same.
+
+ 3. If the stone touches 2 other stones, it must have the same
+ colour as one of them, and the same symbol as the other.
+
+ 4. If the stone touches 3 other stones, it must have the same
+ colour as one of them, and the same symbol as the other 2, and
+ vice versa.
+
+ The object of the game is to place all 72 stones on the board.
diff --git a/games/xcogitate/pkg-plist b/games/xcogitate/pkg-plist
new file mode 100644
index 000000000000..5df1d5fc03d3
--- /dev/null
+++ b/games/xcogitate/pkg-plist
@@ -0,0 +1 @@
+bin/xcogitate