aboutsummaryrefslogtreecommitdiff
path: root/games/merlin
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-08-24 01:47:12 +0000
committerSteve Price <steve@FreeBSD.org>1998-08-24 01:47:12 +0000
commit14f8bf787144e95c8d7a0a07bc6046530af439ca (patch)
treed54f25b329bdc4531071da4621e24d92713713ba /games/merlin
parentfa2ad5a02524a0197e8b32f6cd85d0a35514badc (diff)
downloadports-14f8bf787144e95c8d7a0a07bc6046530af439ca.tar.gz
ports-14f8bf787144e95c8d7a0a07bc6046530af439ca.zip
Notes
Diffstat (limited to 'games/merlin')
-rw-r--r--games/merlin/Makefile32
-rw-r--r--games/merlin/distinfo1
-rw-r--r--games/merlin/files/patch-aa17
-rw-r--r--games/merlin/pkg-comment1
-rw-r--r--games/merlin/pkg-descr11
-rw-r--r--games/merlin/pkg-plist3
6 files changed, 65 insertions, 0 deletions
diff --git a/games/merlin/Makefile b/games/merlin/Makefile
new file mode 100644
index 000000000000..97fb3de84a73
--- /dev/null
+++ b/games/merlin/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: merlin
+# Version required: 1.0
+# Date created: 12 August 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= merlin
+PKGNAME= merlin-1.0
+CATEGORIES= games
+MASTER_SITES= http://outoften.doc.ic.ac.uk/~np2/software/download/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+RUN_DEPENDS= wish8.0:${PORTSDIR}/x11-toolkits/tk80
+
+NO_BUILD= yes
+USE_X_PREFIX= yes
+WRKSRC= ${WRKDIR}
+
+post-extract:
+ @ ${MV} ${WRKSRC}/merlin.tcl ${WRKSRC}/merlin
+
+do-install:
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${PREFIX}/share/doc/merlin
+ @ ${INSTALL_DATA} ${WRKSRC}/merlin.README.txt ${PREFIX}/share/doc/merlin/README
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/merlin/distinfo b/games/merlin/distinfo
new file mode 100644
index 000000000000..6faff1e4be7b
--- /dev/null
+++ b/games/merlin/distinfo
@@ -0,0 +1 @@
+MD5 (merlin.tar.gz) = d9ca606adc1e2b53db1186d966dcd0cf
diff --git a/games/merlin/files/patch-aa b/games/merlin/files/patch-aa
new file mode 100644
index 000000000000..8f594d5f95ad
--- /dev/null
+++ b/games/merlin/files/patch-aa
@@ -0,0 +1,17 @@
+--- merlin.orig Mon Jul 7 11:28:19 1997
++++ merlin Sun Aug 23 18:09:17 1998
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/wish4.1
++#!/usr/local/bin/wish8.0
+ #
+ # Merlin - a pointless puzzle game
+ #
+@@ -22,7 +22,7 @@
+ # UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+
+-set score_file {c:\\Users\\np2\\Dev\\Tcl\\Merlin\\merlin.sc}
++set score_file {~/merlin.score}
+ #[file join Users np2 Dev Tcl Merlin merlin.sc]
+
+ font create Merlin -family Helvetica -size 24
diff --git a/games/merlin/pkg-comment b/games/merlin/pkg-comment
new file mode 100644
index 000000000000..e3e85857698e
--- /dev/null
+++ b/games/merlin/pkg-comment
@@ -0,0 +1 @@
+A pointless puzzle game for Tcl/Tk.
diff --git a/games/merlin/pkg-descr b/games/merlin/pkg-descr
new file mode 100644
index 000000000000..ac1d39335237
--- /dev/null
+++ b/games/merlin/pkg-descr
@@ -0,0 +1,11 @@
+Merlin is a puzzle game. The window contains nine buttons each of
+which can either be in the "pushed in" or "popped out" state.
+Initially the buttons are pushed in or popped out randomly. The
+player must clear the board by toggling the buttons until they are
+all pushed in. Buttons are toggled with the mouse or via the appropriate
+number key. The user starts the game with a number of points. Toggling a
+button costs a point. If you clear the board, you get some more points
+and a new level to solve. If you run out of points, the game is over.
+Merlin records the high-score and the high-level between games.
+
+http://outofnet.doc.ac.ic.uk/~np2/software/merlin.html
diff --git a/games/merlin/pkg-plist b/games/merlin/pkg-plist
new file mode 100644
index 000000000000..274659ce09db
--- /dev/null
+++ b/games/merlin/pkg-plist
@@ -0,0 +1,3 @@
+bin/merlin
+share/doc/merlin/README
+@dirrm share/doc/merlin