diff --git a/games/Makefile b/games/Makefile index 16cd0915a45f..60c6a8e5028f 100644 --- a/games/Makefile +++ b/games/Makefile @@ -250,6 +250,7 @@ SUBDIR += tksol SUBDIR += tornado SUBDIR += trojka + SUBDIR += ttraffic SUBDIR += tux-aqfh SUBDIR += tuxkart SUBDIR += tuxracer 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