summaryrefslogtreecommitdiff
path: root/games/tvp/Makefile
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1999-07-20 05:29:34 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1999-07-20 05:29:34 +0000
commit718c111a1d8ec44de4af1ee60fea7cbe0f6b848f (patch)
tree31963c6726495936b857fc026e13a2bec1d3a5a1 /games/tvp/Makefile
parentUpdate to 0.3.2 with modifications by me. (diff)
The configure script stopped working some time ago (probably a victim of
the ELF switch). Trick it into working again. Fix a badly broken PLIST that was saved only by configure not working (or would that be vice-versa?). Add some nice MLINKS. FreeBSD.ORG -> FreeBSD.org
Notes
Notes: svn path=/head/; revision=20279
Diffstat (limited to 'games/tvp/Makefile')
-rw-r--r--games/tvp/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/games/tvp/Makefile b/games/tvp/Makefile
index 2e525fa9f31a..e3c6ca7adafe 100644
--- a/games/tvp/Makefile
+++ b/games/tvp/Makefile
@@ -3,25 +3,26 @@
# Date Created: 3 Jul 1996
# Whom: Tim Vanderhoek <ac199@hwcn.org>
#
-# $Id: Makefile,v 1.6 1998/09/25 10:05:07 asami Exp $
+# $Id: Makefile,v 1.7 1998/09/28 02:14:24 steve Exp $
#
DISTNAME= tvp-0.9.7.1
CATEGORIES= games tk80
MASTER_SITES= http://www3.sympatico.ca/john.vanderhoek/tim/src/president/
-MAINTAINER= hoek@FreeBSD.ORG
+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).
+# Comment-out this (and CFLAGS) to compile only the CLI and ansi interfaces
LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-tcl-dir=${PREFIX}/lib \
- --enable-carddir=${PREFIX}/share/games/tvp
+CONFIGURE_ARGS= --enable-carddir=${PREFIX}/share/games/tvp
+# Comment-out this (and LIB_DEPENDS) to compile only the CLI and ansi interfaces
+CFLAGS+= -lX11 -lm -ltcl80 -ltk80 \
+ -L ${LOCALBASE}/lib -L ${X11BASE}/lib
MAN6= tvp.6
+MLINKS= tvp.6 xprez.6 - aprez.6 - prez.6
DOCFILES= aprez.txt libass.txt president.txt prez.txt xprez.txt
@@ -35,6 +36,6 @@ post-install:
${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
- strip ${PREFIX}/bin/aprez ${PREFIX}/bin/prez
+ strip ${PREFIX}/bin/aprez ${PREFIX}/bin/prez ${PREFIX}/bin/xpwish
.include <bsd.port.mk>