mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
7e223b8511
Submitted by: Oliver Eikemeier
34 lines
916 B
Makefile
34 lines
916 B
Makefile
# New ports collection makefile for: games/ttraffic
|
|
# Date created: 14 November 2001
|
|
# Whom: Anton Berezin <tobez@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ttraffic
|
|
PORTVERSION= 0.8
|
|
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.4:${PORTSDIR}/x11-toolkits/tk84
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5_BUILD=yes
|
|
|
|
post-patch:
|
|
${PERL} -pi -e 's|/usr/local/share/ttraffic/|${DATADIR}/|g;' \
|
|
-e 's|#!/usr/bin/wish|#!${LOCALBASE}/bin/wish8.4|g' \
|
|
${WRKSRC}/ttraffic.tcl
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ttraffic.tcl ${PREFIX}/bin/ttraffic
|
|
${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ttraffic.levels ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|