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 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