1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/tvp/Makefile
Tim Vanderhoek 718c111a1d 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
1999-07-20 05:29:34 +00:00

42 lines
1.2 KiB
Makefile

# New ports collection makefile for: tvp
# Version Required: 0.9.7.1
# Date Created: 3 Jul 1996
# Whom: Tim Vanderhoek <ac199@hwcn.org>
#
# $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
# 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-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
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 ${PREFIX}/bin/aprez ${PREFIX}/bin/prez ${PREFIX}/bin/xpwish
.include <bsd.port.mk>