diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 1997-10-23 14:42:22 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 1997-10-23 14:42:22 +0000 |
commit | 6f0fed1dc23156f7f9b5d698c85d4756a3bea89c (patch) | |
tree | fc36525ccfbb1bc84998b2c25aa1d9b290b038b5 /games/tvp | |
parent | 87ee8da89096f796519227c78bf44708f697d402 (diff) | |
download | ports-6f0fed1dc23156f7f9b5d698c85d4756a3bea89c.tar.gz ports-6f0fed1dc23156f7f9b5d698c85d4756a3bea89c.zip |
Notes
Diffstat (limited to 'games/tvp')
-rw-r--r-- | games/tvp/Makefile | 41 | ||||
-rw-r--r-- | games/tvp/distinfo | 1 | ||||
-rw-r--r-- | games/tvp/files/patch-aa | 20 | ||||
-rw-r--r-- | games/tvp/files/tvp.6 | 26 | ||||
-rw-r--r-- | games/tvp/pkg-comment | 1 | ||||
-rw-r--r-- | games/tvp/pkg-descr | 13 | ||||
-rw-r--r-- | games/tvp/pkg-plist | 108 |
7 files changed, 210 insertions, 0 deletions
diff --git a/games/tvp/Makefile b/games/tvp/Makefile new file mode 100644 index 000000000000..41ef1a0c5582 --- /dev/null +++ b/games/tvp/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: tvp +# Version Required: 0.9.7.1 +# Date Created: 3 Jul 1996 +# Whom: Tim Vanderhoek <ac199@hwcn.org> +# +# $Id$ +# + +DISTNAME= tvp-0.9.7.1 +CATEGORIES= games tk80 +MASTER_SITES= http://www3.sympatico.ca/john.vanderhoek/tim/src/president/ + +MAINTAINER= hoek@FreeBSD.ORG + +# If you comment this out, the port should automatically use whichever +# version of tk you have installed, or, lacking all versions, it will +# build only the ANSI and terminal interfaces (not the nice X interface). +LIB_DEPENDS= tk80\\.1\\.:${PORTSDIR}/x11/tk80 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --enable-tcl-dir=${PREFIX}/lib +# carddir defaults to ${PREFIX}/libdata/xprez, as hier(9) dictates. +# You may prefer ${PREFIX}/lib/tk80/xprez. Beware PLIST differences. +# CONFIGURE_ARGS+= --enable-carddir=${PREFIX}/lib/tk80/xprez + +MAN6= tvp.6 + +DOCFILES= aprez.txt libass.txt president.txt prez.txt xprez.txt + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/tvp +.for f in ${DOCFILES} + ${INSTALL_DATA} ${WRKSRC}/docs/${f} ${PREFIX}/share/doc/tvp +.endfor +.endif + ${INSTALL_MAN} ${FILESDIR}/tvp.6 ${PREFIX}/man/man6/tvp.6 + a='${PREFIX}/share/doc/tvp/' perl -pi -e 's/TOKEN/$$ENV{a}/' \ + ${PREFIX}/man/man6/tvp.6 + +.include <bsd.port.mk> diff --git a/games/tvp/distinfo b/games/tvp/distinfo new file mode 100644 index 000000000000..fa8421f7cfe4 --- /dev/null +++ b/games/tvp/distinfo @@ -0,0 +1 @@ +MD5 (tvp-0.9.7.1.tar.gz) = d7a0cac4fd18ce83a5d0dccf1538890f diff --git a/games/tvp/files/patch-aa b/games/tvp/files/patch-aa new file mode 100644 index 000000000000..59f93db9d802 --- /dev/null +++ b/games/tvp/files/patch-aa @@ -0,0 +1,20 @@ +--- configure.orig Thu Oct 23 08:34:26 1997 ++++ configure Thu Oct 23 08:36:34 1997 +@@ -1306,7 +1306,7 @@ + + WINDLL=true + TCLTK="" +-for tkver in 42 4.2 41 4.1 80 8.0 ++for tkver in 80 8.0 42 4.2 41 4.1 + do + echo $ac_n "checking for Tk_Main in -ltk${tkver}""... $ac_c" 1>&6 + echo "configure:1313: checking for Tk_Main in -ltk${tkver}" >&5 +@@ -1345,7 +1345,7 @@ + echo "$ac_t""yes" 1>&6 + + WINDLL=false +- for tclver in 76 7.6 75 7.5 80 8.0 ++ for tclver in 80 8.0 76 7.6 75 7.5 + do + echo $ac_n "checking for Tcl_Main in -ltcl${tclver}""... $ac_c" 1>&6 + echo "configure:1352: checking for Tcl_Main in -ltcl${tclver}" >&5 diff --git a/games/tvp/files/tvp.6 b/games/tvp/files/tvp.6 new file mode 100644 index 000000000000..5a070c9f9a1a --- /dev/null +++ b/games/tvp/files/tvp.6 @@ -0,0 +1,26 @@ +.Dd Jul 3, 1997 +.Dt TVP 6 +.Sh NAME +.Nm tvp +.Nd programs to play the cardgame of President (aka Ass) +.Sh DESCRIPTION +.Ar Tvp +is composed of a set of three different programs. One, +.Ar prez +is a simple CLI interface, another, +.Ar aprez +is a full-screen ansi interface. The preferred one, +.Ar xprez +is a proper Tcl/Tk-based graphical user interface. +.Pp +You can find instructions on how to play the cardgame Ass +in the file TOKENpresident.txt. You will also find full +documentation for +.Ar prez, +.Ar aprez, +and +.Ar xprez +in TOKEN. +.Pp +The author requests that you read the ABOUT file, which is available +from inside of all three of the programs. diff --git a/games/tvp/pkg-comment b/games/tvp/pkg-comment new file mode 100644 index 000000000000..6e3bc9e1ca35 --- /dev/null +++ b/games/tvp/pkg-comment @@ -0,0 +1 @@ +Play the cardgame President (or Ass) against 3 AIs. diff --git a/games/tvp/pkg-descr b/games/tvp/pkg-descr new file mode 100644 index 000000000000..82ab724b5f67 --- /dev/null +++ b/games/tvp/pkg-descr @@ -0,0 +1,13 @@ +This is an implementation of the cardgame President (aka Ass) +which is based on Tcl/Tk. You will play against three computer +players, each of which has a slightly different playing style, +although the styles are not that advanced (yet). An explanation +of how to play the game is included for the unfamiliar. + +As a package, this requires Tk80. However, if you edit the port +Makefile and build it yourself it will automatically detect and +configure for any of Tk41, Tk42, Tk80, or the absence of all three +(in which case no GUI will be available). + +- Tim Vanderhoek +hoek@FreeBSD.ORG diff --git a/games/tvp/pkg-plist b/games/tvp/pkg-plist new file mode 100644 index 000000000000..d2a4d3bd5656 --- /dev/null +++ b/games/tvp/pkg-plist @@ -0,0 +1,108 @@ +bin/xpwish +bin/xprez +bin/prez +bin/aprez +man/man6/tvp.6.gz +share/doc/tvp/aprez.txt +share/doc/tvp/libass.txt +share/doc/tvp/president.txt +share/doc/tvp/prez.txt +share/doc/tvp/xprez.txt +libdata/xprez/backs-01.gif +libdata/xprez/backs-02.gif +libdata/xprez/backs-03.gif +libdata/xprez/backs-04.gif +libdata/xprez/backs-1.gif +libdata/xprez/backs-2.gif +libdata/xprez/backs-3.gif +libdata/xprez/backs-4.gif +libdata/xprez/clubs-01.gif +libdata/xprez/clubs-02.gif +libdata/xprez/clubs-03.gif +libdata/xprez/clubs-04.gif +libdata/xprez/clubs-05.gif +libdata/xprez/clubs-06.gif +libdata/xprez/clubs-07.gif +libdata/xprez/clubs-08.gif +libdata/xprez/clubs-09.gif +libdata/xprez/clubs-1.gif +libdata/xprez/clubs-10.gif +libdata/xprez/clubs-11.gif +libdata/xprez/clubs-12.gif +libdata/xprez/clubs-13.gif +libdata/xprez/clubs-2.gif +libdata/xprez/clubs-3.gif +libdata/xprez/clubs-4.gif +libdata/xprez/clubs-5.gif +libdata/xprez/clubs-6.gif +libdata/xprez/clubs-7.gif +libdata/xprez/clubs-8.gif +libdata/xprez/clubs-9.gif +libdata/xprez/diamonds-01.gif +libdata/xprez/diamonds-02.gif +libdata/xprez/diamonds-03.gif +libdata/xprez/diamonds-04.gif +libdata/xprez/diamonds-05.gif +libdata/xprez/diamonds-06.gif +libdata/xprez/diamonds-07.gif +libdata/xprez/diamonds-08.gif +libdata/xprez/diamonds-09.gif +libdata/xprez/diamonds-1.gif +libdata/xprez/diamonds-10.gif +libdata/xprez/diamonds-11.gif +libdata/xprez/diamonds-12.gif +libdata/xprez/diamonds-13.gif +libdata/xprez/diamonds-2.gif +libdata/xprez/diamonds-3.gif +libdata/xprez/diamonds-4.gif +libdata/xprez/diamonds-5.gif +libdata/xprez/diamonds-6.gif +libdata/xprez/diamonds-7.gif +libdata/xprez/diamonds-8.gif +libdata/xprez/diamonds-9.gif +libdata/xprez/hearts-01.gif +libdata/xprez/hearts-02.gif +libdata/xprez/hearts-03.gif +libdata/xprez/hearts-04.gif +libdata/xprez/hearts-06.gif +libdata/xprez/hearts-07.gif +libdata/xprez/hearts-08.gif +libdata/xprez/hearts-09.gif +libdata/xprez/hearts-1.gif +libdata/xprez/hearts-10.gif +libdata/xprez/hearts-11.gif +libdata/xprez/hearts-12.gif +libdata/xprez/hearts-13.gif +libdata/xprez/hearts-2.gif +libdata/xprez/hearts-3.gif +libdata/xprez/hearts-4.gif +libdata/xprez/hearts-5.gif +libdata/xprez/hearts-6.gif +libdata/xprez/hearts-7.gif +libdata/xprez/hearts-8.gif +libdata/xprez/hearts-9.gif +libdata/xprez/joker.gif +libdata/xprez/spades-01.gif +libdata/xprez/spades-02.gif +libdata/xprez/spades-03.gif +libdata/xprez/spades-04.gif +libdata/xprez/spades-05.gif +libdata/xprez/spades-06.gif +libdata/xprez/spades-07.gif +libdata/xprez/spades-08.gif +libdata/xprez/spades-09.gif +libdata/xprez/spades-1.gif +libdata/xprez/spades-10.gif +libdata/xprez/spades-11.gif +libdata/xprez/spades-12.gif +libdata/xprez/spades-13.gif +libdata/xprez/spades-2.gif +libdata/xprez/spades-3.gif +libdata/xprez/spades-4.gif +libdata/xprez/spades-5.gif +libdata/xprez/spades-6.gif +libdata/xprez/spades-7.gif +libdata/xprez/spades-8.gif +libdata/xprez/spades-9.gif +@unexec rmdir %D/share/doc/tvp +@unexec rmdir %D/libdata/xprez |