mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Update to use tk84.
Submitted by: kris
This commit is contained in:
parent
c729fc2442
commit
8805a1ac93
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92362
@ -7,21 +7,22 @@
|
||||
|
||||
PORTNAME= ttraffic
|
||||
PORTVERSION= 0.8
|
||||
CATEGORIES= games
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games tk84
|
||||
MASTER_SITES= http://alpha.luc.ac.be/Research/Algebra/Members/Ttraffic/ \
|
||||
http://www.tobez.org/download/port-mirrors/games/ttraffic/
|
||||
|
||||
MAINTAINER= tobez@FreeBSD.org
|
||||
COMMENT= TTraffic - A Tcl/Tk version of Rush Hour
|
||||
|
||||
BUILD_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
||||
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
||||
BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
||||
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 's|/usr/local/share/ttraffic/|${DATADIR}/|g;' \
|
||||
-e 's|#!/usr/bin/wish|#!${LOCALBASE}/bin/wish8.3|g' \
|
||||
-e 's|#!/usr/bin/wish|#!${LOCALBASE}/bin/wish8.4|g' \
|
||||
${WRKSRC}/ttraffic.tcl
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ttraffic.tcl ${PREFIX}/bin/ttraffic
|
||||
|
Loading…
Reference in New Issue
Block a user