diff options
author | asami <asami@FreeBSD.org> | 1995-07-04 18:25:20 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1995-07-04 18:25:20 +0800 |
commit | 4aa19b2c69fc4f893421216bf2c23dccaf3ef27e (patch) | |
tree | 84b7d75f14e0e292f03208435f578ea581324984 /games/tksol | |
parent | 752ee554e230e91b53fcf4ad6541d54a1c45d93b (diff) | |
download | freebsd-ports-gnome-4aa19b2c69fc4f893421216bf2c23dccaf3ef27e.tar.gz freebsd-ports-gnome-4aa19b2c69fc4f893421216bf2c23dccaf3ef27e.tar.zst freebsd-ports-gnome-4aa19b2c69fc4f893421216bf2c23dccaf3ef27e.zip |
A Tk version of xsol.
Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
Diffstat (limited to 'games/tksol')
-rw-r--r-- | games/tksol/Makefile | 25 | ||||
-rw-r--r-- | games/tksol/distinfo | 1 | ||||
-rw-r--r-- | games/tksol/files/patch-a | 77 | ||||
-rw-r--r-- | games/tksol/pkg-comment | 1 | ||||
-rw-r--r-- | games/tksol/pkg-descr | 10 | ||||
-rw-r--r-- | games/tksol/pkg-plist | 4 |
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 |