From e49f9e50dd0bcd4dac966724bd89a5774a4b7777 Mon Sep 17 00:00:00 2001
From: Tim Vanderhoek <hoek@FreeBSD.org>
Date: Thu, 2 Apr 1998 03:56:43 +0000
Subject: Another Rubik's Cube-style puzzle.  Uses 5 diamands, including one
 distinct diamond per side.  Rather difficult to follow the movement of
 diamonds around the sides, though...

PR:		ports/6159
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
---
 games/xskewb/Makefile    | 25 +++++++++++++++++++++++++
 games/xskewb/distinfo    |  1 +
 games/xskewb/pkg-comment |  1 +
 games/xskewb/pkg-descr   | 13 +++++++++++++
 games/xskewb/pkg-plist   |  3 +++
 5 files changed, 43 insertions(+)
 create mode 100644 games/xskewb/Makefile
 create mode 100644 games/xskewb/distinfo
 create mode 100644 games/xskewb/pkg-comment
 create mode 100644 games/xskewb/pkg-descr
 create mode 100644 games/xskewb/pkg-plist

diff --git a/games/xskewb/Makefile b/games/xskewb/Makefile
new file mode 100644
index 000000000000..47a001335eaa
--- /dev/null
+++ b/games/xskewb/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for:	xskewb
+# Version required:			5.4.3
+# Date created:				25 March 1998
+# Whom:					Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME=		xskewb-5.4.3
+CATEGORIES=		games x11
+MASTER_SITES=		${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR=	games/xpuzzles
+
+MAINTAINER=		andy@icc.surw.chel.su
+
+WRKSRC=			${WRKDIR}/xskewb
+USE_IMAKE=		yes
+MAN1=			xskewb.1
+
+do-install:
+	@ ${INSTALL_PROGRAM} ${WRKSRC}/xskewb ${PREFIX}/bin
+	@ ${INSTALL_DATA} ${WRKSRC}/Skewb.ad ${PREFIX}/lib/X11/app-defaults/Skewb
+	@ ${INSTALL_MAN} ${WRKSRC}/xskewb.man ${PREFIX}/man/man1/xskewb.1
+
+.include <bsd.port.mk>
diff --git a/games/xskewb/distinfo b/games/xskewb/distinfo
new file mode 100644
index 000000000000..1e614a88bf7b
--- /dev/null
+++ b/games/xskewb/distinfo
@@ -0,0 +1 @@
+MD5 (xskewb-5.4.3.tar.gz) = af11b5ebc2e2ee5ba47acce31eb6e88b
diff --git a/games/xskewb/pkg-comment b/games/xskewb/pkg-comment
new file mode 100644
index 000000000000..0aa3393f1dda
--- /dev/null
+++ b/games/xskewb/pkg-comment
@@ -0,0 +1 @@
+Skewb puzzle (similar to Rubik's Cube) for XWindows.
diff --git a/games/xskewb/pkg-descr b/games/xskewb/pkg-descr
new file mode 100644
index 000000000000..eacd2b83f201
--- /dev/null
+++ b/games/xskewb/pkg-descr
@@ -0,0 +1,13 @@
+Xskewb is a puzzle similar in nature to the famous Rubik's Cube.
+Its variations on the inspiration include using 5 blocks per side,
+including a large distinct diamond block, and optionally requiring
+correct block "orientation".  This is similar to other puzzles
+such as the "Creative Puzzle Ball", "Meffert's Challenge", and Disney's
+"Mickey's Challenge".  The original design was by Uwe Meffert
+("Pyraminx Cube") and coined Skewb by Douglas Hofstadter.
+
+By building from the source and editing its Imakefile before the
+``build'' phase, you may be able to use Motif or LessTif with this port.
+
+- Andrey Zakhvatov
+andy@icc.surw.chel.su
diff --git a/games/xskewb/pkg-plist b/games/xskewb/pkg-plist
new file mode 100644
index 000000000000..b3c9447ca61e
--- /dev/null
+++ b/games/xskewb/pkg-plist
@@ -0,0 +1,3 @@
+bin/xskewb
+man/man1/xskewb.1.gz
+lib/X11/app-defaults/Skewb
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0