1997-10-23 14:42:22 +00:00
|
|
|
# New ports collection makefile for: tvp
|
|
|
|
# Date Created: 3 Jul 1996
|
|
|
|
# Whom: Tim Vanderhoek <ac199@hwcn.org>
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1997-10-23 14:42:22 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= tvp
|
|
|
|
PORTVERSION= 0.9.7.1
|
1999-11-28 18:32:45 +00:00
|
|
|
CATEGORIES= games tk82
|
1997-10-23 14:42:22 +00:00
|
|
|
MASTER_SITES= http://www3.sympatico.ca/john.vanderhoek/tim/src/president/
|
|
|
|
|
1999-07-20 05:29:34 +00:00
|
|
|
MAINTAINER= hoek@FreeBSD.org
|
1997-10-23 14:42:22 +00:00
|
|
|
|
1999-07-20 05:29:34 +00:00
|
|
|
# Comment-out this (and CFLAGS) to compile only the CLI and ansi interfaces
|
1999-11-28 18:32:45 +00:00
|
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --enable-carddir=${PREFIX}/share/games/tvp
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/tcl8.2 \
|
|
|
|
-I${LOCALBASE}/include/tk8.2" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib \
|
|
|
|
-ltcl82 -ltk82 -lX11 -lm"
|
|
|
|
#CFLAGS+= -lX11 -lm -ltcl82 -ltk82 \
|
|
|
|
# -L${LOCALBASE}/lib -L${X11BASE}/lib
|
1997-10-23 14:42:22 +00:00
|
|
|
|
|
|
|
MAN6= tvp.6
|
1999-07-20 05:29:34 +00:00
|
|
|
MLINKS= tvp.6 xprez.6 - aprez.6 - prez.6
|
1997-10-23 14:42:22 +00:00
|
|
|
|
|
|
|
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
|
1999-07-20 05:29:34 +00:00
|
|
|
strip ${PREFIX}/bin/aprez ${PREFIX}/bin/prez ${PREFIX}/bin/xpwish
|
1997-10-23 14:42:22 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|