1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/games/tvp/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

54 lines
1.4 KiB
Makefile

# New ports collection makefile for: tvp
# Date Created: 3 Jul 1996
# Whom: Tim Vanderhoek <ac199@hwcn.org>
#
# $FreeBSD$
#
PORTNAME= tvp
PORTVERSION= 0.9.7.1
PORTREVISION= 2
CATEGORIES= games tk
MASTER_SITES= http://www3.sympatico.ca/john.vanderhoek/tim/src/president/
MAINTAINER= ports@FreeBSD.org
COMMENT= Play the cardgame President (or Ass) against 3 AIs
USE_TK= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-carddir=${PREFIX}/share/games/tvp
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/tcl8.4 \
-I${LOCALBASE}/include/tk8.4" \
LIBS="-L${LOCALBASE}/lib \
-ltcl84 -ltk84 -lX11 -lm"
#CFLAGS+= -lX11 -lm -ltcl84 -ltk84 \
# -L${LOCALBASE}/lib
USE_PERL5_BUILD=yes
MAN6= tvp.6
MLINKS= tvp.6 xprez.6 - aprez.6 - prez.6
DOCFILES= aprez.txt libass.txt president.txt prez.txt xprez.txt
.include <bsd.port.pre.mk>
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
${STRIP_CMD} ${PREFIX}/bin/aprez ${PREFIX}/bin/prez ${PREFIX}/bin/xpwish
@${ECHO_CMD} ""
@${ECHO_CMD} "Use one of the following commands:"
@${ECHO_CMD} "prez - CLI version"
@${ECHO_CMD} "aprez - Curses version"
@${ECHO_CMD} "xprex - X11 version"
@${ECHO_CMD} ""
.include <bsd.port.post.mk>