summaryrefslogtreecommitdiff
path: root/games/xpyraminx
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1998-05-20 07:56:07 +0000
committerThomas Gellekum <tg@FreeBSD.org>1998-05-20 07:56:07 +0000
commit484dee9ee00cb017ffb59d8ea94865c86b600783 (patch)
treebf544170e0849189d40eaa056dcf23c50f7a4a2b /games/xpyraminx
parentNew port xpanex, another puzzle for X11. (diff)
New port xpyraminx, last puzzle in this series.
PR: 6163 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=11077
Diffstat (limited to 'games/xpyraminx')
-rw-r--r--games/xpyraminx/Makefile25
-rw-r--r--games/xpyraminx/distinfo1
-rw-r--r--games/xpyraminx/pkg-comment1
-rw-r--r--games/xpyraminx/pkg-descr20
-rw-r--r--games/xpyraminx/pkg-plist3
5 files changed, 50 insertions, 0 deletions
diff --git a/games/xpyraminx/Makefile b/games/xpyraminx/Makefile
new file mode 100644
index 000000000000..d1c15b9ef78c
--- /dev/null
+++ b/games/xpyraminx/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xpyraminx
+# Version required: 5.4.3
+# Date created: 26 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xpyraminx-5.4.3
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games/xpuzzles
+
+MAINTAINER= andy@icc.surw.chel.su
+
+WRKSRC= ${WRKDIR}/xpyraminx
+USE_IMAKE= yes
+MAN1= xpyraminx.1
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xpyraminx ${PREFIX}/bin
+ @ ${INSTALL_DATA} ${WRKSRC}/Pyraminx.ad ${PREFIX}/lib/X11/app-defaults/Pyraminx
+ @ ${INSTALL_MAN} ${WRKSRC}/xpyraminx.man ${PREFIX}/man/man1/xpyraminx.1
+
+.include <bsd.port.mk>
diff --git a/games/xpyraminx/distinfo b/games/xpyraminx/distinfo
new file mode 100644
index 000000000000..601379f5afbb
--- /dev/null
+++ b/games/xpyraminx/distinfo
@@ -0,0 +1 @@
+MD5 (xpyraminx-5.4.3.tar.gz) = 2aa10372b90641ab71e5b97fed845194
diff --git a/games/xpyraminx/pkg-comment b/games/xpyraminx/pkg-comment
new file mode 100644
index 000000000000..f679ccd7d6c1
--- /dev/null
+++ b/games/xpyraminx/pkg-comment
@@ -0,0 +1 @@
+Pyraminx puzzle for X Window.
diff --git a/games/xpyraminx/pkg-descr b/games/xpyraminx/pkg-descr
new file mode 100644
index 000000000000..d5df71b380ce
--- /dev/null
+++ b/games/xpyraminx/pkg-descr
@@ -0,0 +1,20 @@
+ The original puzzle has 9 triangles per face (size = 3) and
+has period 3 turning (i.e. the face or points turn in 120 degree
+intervals). The puzzle was designed by Uwe Meffert and called
+the Pyraminx. This has 2^5*3^8*6!/2 or 75,582,720 different
+combinations.
+ Another puzzle Senior Pyraminx 3x3x3 exists only on paper, it
+has period 2 turning (i.e. edges turn with 180 degree intervals)
+but the corners would fall off unless it had some tricky
+mechanism. (This may be the same as the Master Pyraminx which
+has 446,965,972,992,000 different combinations).
+ Another puzzle (which was not widely distributed), the Junior
+Pyraminx (and similarly the Junior Pyraminx Star, a octahedron
+formed by two tetrahedra, this has 7!*3^6 or 3,674,160 different
+combinations), has 4 triangles (size = 2) per face and at the
+time I designed this computer puzzle thought that it had only
+period 2 turning (i.e the edges rotate). It turns out the puzzle
+has a period 4 turning (edges turn with 90 degree intervals)
+which makes it analogous to the 2x2x2 Rubik's cube. This puzzle
+makes various non-tetrahedral shapes. The puzzle contained here
+has no period 4 turning flexability.
diff --git a/games/xpyraminx/pkg-plist b/games/xpyraminx/pkg-plist
new file mode 100644
index 000000000000..fdab2374bfd3
--- /dev/null
+++ b/games/xpyraminx/pkg-plist
@@ -0,0 +1,3 @@
+bin/xpyraminx
+man/man1/xpyraminx.1.gz
+lib/X11/app-defaults/Pyraminx