summaryrefslogtreecommitdiff
path: root/games/tksol
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-07-04 10:25:20 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-07-04 10:25:20 +0000
commit0b4fb0aea64ee5358c1eb819188f7285ff6a9abc (patch)
tree58f27f63bcc11b7cc39136b9fae28f141e03b59a /games/tksol
parentChange "install -d <dir>" to mkdir. (diff)
A Tk version of xsol.
Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
Notes
Notes: svn path=/head/; revision=1921
Diffstat (limited to 'games/tksol')
-rw-r--r--games/tksol/Makefile25
-rw-r--r--games/tksol/distinfo1
-rw-r--r--games/tksol/files/patch-a77
-rw-r--r--games/tksol/pkg-comment1
-rw-r--r--games/tksol/pkg-descr10
-rw-r--r--games/tksol/pkg-plist4
6 files changed, 118 insertions, 0 deletions
diff --git a/games/tksol/Makefile b/games/tksol/Makefile
new file mode 100644
index 000000000000..929fbd32c00d
--- /dev/null
+++ b/games/tksol/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: tksol
+# Version required: 1.0
+# Date created: 26 June 1995
+# Whom: thomas@ghpc8.ihf.rwth-aachen.de
+#
+# $Id$
+#
+
+DISTNAME= tksol-1.0
+CATEGORIES+= games
+KEYWORDS+= games x11 tk solitaire
+MASTER_SITES= ftp://ftp.cs.umd.edu/pub/misc_software/tksol/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= thomas@ghpc8.ihf.rwth-aachen.de
+
+LIB_DEPENDS= tk\\.3\\.:${PORTSDIR}/x11/tk
+
+PATCH_STRIP= -p1
+WRKSRC= ${WRKDIR}/release
+
+post-install:
+ gzip -9nf ${PREFIX}/man/man1/tksol.1
+
+.include <bsd.port.mk>
diff --git a/games/tksol/distinfo b/games/tksol/distinfo
new file mode 100644
index 000000000000..d2a6341d43c9
--- /dev/null
+++ b/games/tksol/distinfo
@@ -0,0 +1 @@
+MD5 (tksol-1.0.tar.Z) = 24c27e1e1a3c651aad3097cf8ec78b70
diff --git a/games/tksol/files/patch-a b/games/tksol/files/patch-a
new file mode 100644
index 000000000000..12e1e74137de
--- /dev/null
+++ b/games/tksol/files/patch-a
@@ -0,0 +1,77 @@
+diff -cr tksol-0.9.orig/Makefile tksol-0.9/Makefile
+*** tksol-0.9.orig/Makefile Fri Jan 7 21:30:02 1994
+--- tksol-0.9/Makefile Sun Jun 25 19:28:08 1995
+***************
+*** 7,13 ****
+ CHMOD = chmod
+ ECHO = echo
+ MKDIR = mkdir -p
+! INSTALL = install -c -m 644
+
+ BINSCRIPT = -e 's+@cardbitmaps@+$(CARDBITMAPS)+g' \
+ -e 's+@downbitmaps@+$(DOWNBITMAPS)+g' \
+--- 7,13 ----
+ CHMOD = chmod
+ ECHO = echo
+ MKDIR = mkdir -p
+! INSTALL = install -c -m 644 -g bin -o bin
+
+ BINSCRIPT = -e 's+@cardbitmaps@+$(CARDBITMAPS)+g' \
+ -e 's+@downbitmaps@+$(DOWNBITMAPS)+g' \
+***************
+*** 19,45 ****
+ ############################################
+ # Absolute pathname of the wish executable #
+ ############################################
+! WISH = /usr/imports/bin/wish
+
+ ####################################################
+ # Directory where the script tksol will be located #
+ ####################################################
+! BINDIR = /homes/bao/src/test/tksol
+
+ #####################################################
+ # Directory where the tksol manpage will be located #
+ #####################################################
+! MANDIR = /homes/bao/src/man
+
+ ####################################################################
+ # Directory where the bitmaps for the faceup cards will be located #
+ ####################################################################
+! CARDBITMAPS = /homes/bao/src/test/tksol/cardbitmaps
+
+ ######################################################################
+ # Directory where the bitmaps for the facedown cards will be located #
+ ######################################################################
+! DOWNBITMAPS = /homes/bao/src/test/tksol/downbitmaps
+
+
+ all: tksol tksol.1
+--- 19,45 ----
+ ############################################
+ # Absolute pathname of the wish executable #
+ ############################################
+! WISH = ${PREFIX}/bin/wish
+
+ ####################################################
+ # Directory where the script tksol will be located #
+ ####################################################
+! BINDIR = ${PREFIX}/bin
+
+ #####################################################
+ # Directory where the tksol manpage will be located #
+ #####################################################
+! MANDIR = ${PREFIX}/man/man1
+
+ ####################################################################
+ # Directory where the bitmaps for the faceup cards will be located #
+ ####################################################################
+! CARDBITMAPS = ${PREFIX}/lib/tk/tksol/cardbitmaps
+
+ ######################################################################
+ # Directory where the bitmaps for the facedown cards will be located #
+ ######################################################################
+! DOWNBITMAPS = ${PREFIX}/lib/tk/tksol/downbitmaps
+
+
+ all: tksol tksol.1
diff --git a/games/tksol/pkg-comment b/games/tksol/pkg-comment
new file mode 100644
index 000000000000..4b66ce750d7c
--- /dev/null
+++ b/games/tksol/pkg-comment
@@ -0,0 +1 @@
+TkSol is a version of the card game solitaire.
diff --git a/games/tksol/pkg-descr b/games/tksol/pkg-descr
new file mode 100644
index 000000000000..37a333a118e0
--- /dev/null
+++ b/games/tksol/pkg-descr
@@ -0,0 +1,10 @@
+WHAT IS TKSOL
+-------------
+TkSol is a version of the card game solitaire written with the Tcl/Tk
+language. It requires Tcl 7.0 or above and Tk 3.3 or above. A color
+monitor is highly recommended, especially if you want to get addicted
+to the game, as trying to see which card is black and which is red
+under monochrome can be rather eye soring :(. TkSol comes with a set
+of cardfront [faceup card] bitmaps created by Joseph L. Traub (see
+cardbitmaps/copyright.h). An initial set of cardback [facedown card]
+bitmaps was hacked up by James da Silva <jds@cs.umd.edu>.
diff --git a/games/tksol/pkg-plist b/games/tksol/pkg-plist
new file mode 100644
index 000000000000..0516b649cf9d
--- /dev/null
+++ b/games/tksol/pkg-plist
@@ -0,0 +1,4 @@
+bin/tksol
+lib/tk/tksol/cardbitmaps
+lib/tk/tksol/downbitmaps
+man/man1/tksol.1.gz