summaryrefslogtreecommitdiff
path: root/games/tvp/Makefile
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1997-10-23 14:42:22 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1997-10-23 14:42:22 +0000
commit6f0fed1dc23156f7f9b5d698c85d4756a3bea89c (patch)
treefc36525ccfbb1bc84998b2c25aa1d9b290b038b5 /games/tvp/Makefile
parentRemove japanese from the CATEGORIES. (diff)
Port import of TVP (play cardgame of Ass vs. AIs)
PR: ports/4023
Notes
Notes: svn path=/head/; revision=8339
Diffstat (limited to 'games/tvp/Makefile')
-rw-r--r--games/tvp/Makefile41
1 files changed, 41 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>