aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1998-05-20 15:54:07 +0800
committertg <tg@FreeBSD.org>1998-05-20 15:54:07 +0800
commit28358697748e7780250534312dcf8aad7a39a82a (patch)
tree48e571bb96d711921099d6268f28b6fa23fe74c6 /games
parent7e663492c8124c77fd69eb5370394ca5e9d04a03 (diff)
downloadfreebsd-ports-graphics-28358697748e7780250534312dcf8aad7a39a82a.tar.gz
freebsd-ports-graphics-28358697748e7780250534312dcf8aad7a39a82a.tar.zst
freebsd-ports-graphics-28358697748e7780250534312dcf8aad7a39a82a.zip
New port xpanex, another puzzle for X11.
PR: 6165 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Diffstat (limited to 'games')
-rw-r--r--games/xpanex/Makefile25
-rw-r--r--games/xpanex/distinfo1
-rw-r--r--games/xpanex/pkg-comment1
-rw-r--r--games/xpanex/pkg-descr11
-rw-r--r--games/xpanex/pkg-plist3
5 files changed, 41 insertions, 0 deletions
diff --git a/games/xpanex/Makefile b/games/xpanex/Makefile
new file mode 100644
index 00000000000..22a2728c15e
--- /dev/null
+++ b/games/xpanex/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: xpanex
+# Version required: 5.4.3
+# Date created: 27 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xpanex-5.4.3
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games/xpuzzles
+
+MAINTAINER= andy@icc.surw.chel.su
+
+WRKSRC= ${WRKDIR}/xpanex
+USE_IMAKE= yes
+MAN1= xpanex.1
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xpanex ${PREFIX}/bin
+ @ ${INSTALL_DATA} ${WRKSRC}/Panex.ad ${PREFIX}/lib/X11/app-defaults/Panex
+ @ ${INSTALL_MAN} ${WRKSRC}/xpanex.man ${PREFIX}/man/man1/xpanex.1
+
+.include <bsd.port.mk>
diff --git a/games/xpanex/distinfo b/games/xpanex/distinfo
new file mode 100644
index 00000000000..1a58631c387
--- /dev/null
+++ b/games/xpanex/distinfo
@@ -0,0 +1 @@
+MD5 (xpanex-5.4.3.tar.gz) = 7726ee13c38965a88f23408456371786
diff --git a/games/xpanex/pkg-comment b/games/xpanex/pkg-comment
new file mode 100644
index 00000000000..9f72bac6797
--- /dev/null
+++ b/games/xpanex/pkg-comment
@@ -0,0 +1 @@
+Panex puzzle for X Window.
diff --git a/games/xpanex/pkg-descr b/games/xpanex/pkg-descr
new file mode 100644
index 00000000000..59ccf8d69de
--- /dev/null
+++ b/games/xpanex/pkg-descr
@@ -0,0 +1,11 @@
+ The original Panex puzzle is from the Japanese Magic Company
+from the 1980's. Mathematicians at Bell Laboratories estimated
+the number of moves to swap 2 columns of order 10 to be
+27,564 <= N <= 31,537. It came in two varieties: one with a
+blue and a yellow pyramid of order 10 on silver tiles; in the
+gold version pieces of each color look alike i.e. no pyramid
+is drawn on them), this is a little harder.
+ The original Tower of Hanoi puzzle is the invention of
+Edouard Lucas and was sold as a toy in France in 1883. The
+legend of 64 disks in the great temple of Benares of the god
+Brahma is also his invention.
diff --git a/games/xpanex/pkg-plist b/games/xpanex/pkg-plist
new file mode 100644
index 00000000000..9300bd5bb12
--- /dev/null
+++ b/games/xpanex/pkg-plist
@@ -0,0 +1,3 @@
+bin/xpanex
+man/man1/xpanex.1.gz
+lib/X11/app-defaults/Panex