From df8b29dab15bce38ba65f1d31bb4546898e6afab Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Wed, 14 Nov 2001 12:33:08 +0000 Subject: Add ttraffic, a Tcl/Tk version of the board game Rush Hour. Requested by: guido --- games/ttraffic/Makefile | 30 ++++++++++++++++++++++++++++++ games/ttraffic/distinfo | 1 + games/ttraffic/pkg-comment | 1 + games/ttraffic/pkg-descr | 12 ++++++++++++ games/ttraffic/pkg-plist | 3 +++ 5 files changed, 47 insertions(+) create mode 100644 games/ttraffic/Makefile create mode 100644 games/ttraffic/distinfo create mode 100644 games/ttraffic/pkg-comment create mode 100644 games/ttraffic/pkg-descr create mode 100644 games/ttraffic/pkg-plist (limited to 'games/ttraffic') diff --git a/games/ttraffic/Makefile b/games/ttraffic/Makefile new file mode 100644 index 000000000000..15e13bf4d726 --- /dev/null +++ b/games/ttraffic/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: games/ttraffic +# Date created: 14 November 2001 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= ttraffic +PORTVERSION= 0.8 +CATEGORIES= games +MASTER_SITES= http://alpha.luc.ac.be/Research/Algebra/Members/Ttraffic/ \ + http://www.tobez.org/download/port-mirrors/games/ttraffic/ + +MAINTAINER= tobez@FreeBSD.org + +BUILD_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 +RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83 + +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' \ + ${WRKSRC}/ttraffic.tcl +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/ttraffic.tcl ${PREFIX}/bin/ttraffic + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/ttraffic.levels ${DATADIR} + +.include diff --git a/games/ttraffic/distinfo b/games/ttraffic/distinfo new file mode 100644 index 000000000000..2e58dfa3e040 --- /dev/null +++ b/games/ttraffic/distinfo @@ -0,0 +1 @@ +MD5 (ttraffic-0.8.tar.gz) = 2e88040f373092e4016c24ba0b8167b1 diff --git a/games/ttraffic/pkg-comment b/games/ttraffic/pkg-comment new file mode 100644 index 000000000000..47094a2c5a89 --- /dev/null +++ b/games/ttraffic/pkg-comment @@ -0,0 +1 @@ +TTraffic - A Tcl/Tk version of Rush Hour diff --git a/games/ttraffic/pkg-descr b/games/ttraffic/pkg-descr new file mode 100644 index 000000000000..1bd841c248e3 --- /dev/null +++ b/games/ttraffic/pkg-descr @@ -0,0 +1,12 @@ +TTraffic is a Tcl/Tk version of the board game Rush Hour created by +Binary Arts Coporation. The goal is to remove the red car(s) out of the +grid through the slot on the right. To do this you have to slide the +other cars out of the way. TTraffic is inspired by GTraffic, the Gnome +version Rush Hour. TTraffic comes with about 15.000 puzzles ranging from +intermediate to expert. These puzzles were automatically created by the +program gtlevel. + +WWW: http://alpha.luc.ac.be/Research/Algebra/Members/Ttraffic/ttraffic.html + +-Anton + diff --git a/games/ttraffic/pkg-plist b/games/ttraffic/pkg-plist new file mode 100644 index 000000000000..f26072aea54d --- /dev/null +++ b/games/ttraffic/pkg-plist @@ -0,0 +1,3 @@ +bin/ttraffic +share/ttraffic/ttraffic.levels +@dirrm share/ttraffic -- cgit v1.2.3