aboutsummaryrefslogtreecommitdiff
path: root/games/xoct
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-05-20 07:52:39 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-05-20 07:52:39 +0000
commit4b53c3734889bbe9eb2f88fbc1d5ac6ac9c08fff (patch)
treecc82263df919e8abd95aa437cc646c7884574acd /games/xoct
parent9cf0ce2c80a34cb2cec63ecc953d25181637f5f7 (diff)
downloadports-4b53c3734889bbe9eb2f88fbc1d5ac6ac9c08fff.tar.gz
ports-4b53c3734889bbe9eb2f88fbc1d5ac6ac9c08fff.zip
New port xoct, another puzzle for X11.
PR: 6166 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=11075
Diffstat (limited to 'games/xoct')
-rw-r--r--games/xoct/Makefile25
-rw-r--r--games/xoct/distinfo1
-rw-r--r--games/xoct/pkg-comment1
-rw-r--r--games/xoct/pkg-descr16
-rw-r--r--games/xoct/pkg-plist3
5 files changed, 46 insertions, 0 deletions
diff --git a/games/xoct/Makefile b/games/xoct/Makefile
new file mode 100644
index 000000000000..3b7963c41c74
--- /dev/null
+++ b/games/xoct/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xoct
+# Version required: 5.4.3
+# Date created: 28 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xoct-5.4.3
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games/xpuzzles
+
+MAINTAINER= andy@icc.surw.chel.su
+
+WRKSRC= ${WRKDIR}/xoct
+USE_IMAKE= yes
+MAN1= xoct.1
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xoct ${PREFIX}/bin
+ @ ${INSTALL_DATA} ${WRKSRC}/Oct.ad ${PREFIX}/lib/X11/app-defaults/Oct
+ @ ${INSTALL_MAN} ${WRKSRC}/xoct.man ${PREFIX}/man/man1/xoct.1
+
+.include <bsd.port.mk>
diff --git a/games/xoct/distinfo b/games/xoct/distinfo
new file mode 100644
index 000000000000..33a6929cb304
--- /dev/null
+++ b/games/xoct/distinfo
@@ -0,0 +1 @@
+MD5 (xoct-5.4.3.tar.gz) = 46079f240f0539ae9d69e003719b716e
diff --git a/games/xoct/pkg-comment b/games/xoct/pkg-comment
new file mode 100644
index 000000000000..a57a77dca192
--- /dev/null
+++ b/games/xoct/pkg-comment
@@ -0,0 +1 @@
+Oct puzzle for X Window.
diff --git a/games/xoct/pkg-descr b/games/xoct/pkg-descr
new file mode 100644
index 000000000000..862abb6c415f
--- /dev/null
+++ b/games/xoct/pkg-descr
@@ -0,0 +1,16 @@
+ The original puzzle has 9 triangles per face (size = 3)
+and has period 4 turning (i.e. the face or points turn with
+90 degree intervals). The puzzle was designed by Uwe Meffert
+and called the Magic Octahedron (or Star Puzzler). The
+puzzle was not widely distributed but not exactly rare. This
+puzzle has some analogies to the Rubik's Cube and the
+solving techniques are the same to that of the Pyraminx.
+Christoph's Magic Jewel is similar except there are no
+trivial corners to solve. This has 2^22*12! or
+2,009,078,326,886,400 different combinations.
+ Uwe Meffert also noticed that there could be an alternate
+twisting for the octahedron where it has period 3 turning
+(i.e. faces turn with 120 degree intervals).
+ One is able to simulate a Trajber's Octahedron (period 3
+turning and sticky mode). Also one is able to simulate one
+with variant turning (period 4 turning and sticky mode).
diff --git a/games/xoct/pkg-plist b/games/xoct/pkg-plist
new file mode 100644
index 000000000000..cdd00cc9a973
--- /dev/null
+++ b/games/xoct/pkg-plist
@@ -0,0 +1,3 @@
+bin/xoct
+man/man1/xoct.1.gz
+lib/X11/app-defaults/Oct