diff options
author | tobez <tobez@FreeBSD.org> | 2001-11-14 20:33:08 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-11-14 20:33:08 +0800 |
commit | 73dd69f1f15b4d34fcf7cd97f19b43016ca54f5a (patch) | |
tree | c638892e5ab520e3fad0164b2ebd92539cdd5002 /games/ttraffic | |
parent | 2555f26d58043ac3d430cfa18bd9248f5811497e (diff) | |
download | freebsd-ports-gnome-73dd69f1f15b4d34fcf7cd97f19b43016ca54f5a.tar.gz freebsd-ports-gnome-73dd69f1f15b4d34fcf7cd97f19b43016ca54f5a.tar.zst freebsd-ports-gnome-73dd69f1f15b4d34fcf7cd97f19b43016ca54f5a.zip |
Add ttraffic, a Tcl/Tk version of the board game Rush Hour.
Requested by: guido
Diffstat (limited to 'games/ttraffic')
-rw-r--r-- | games/ttraffic/Makefile | 30 | ||||
-rw-r--r-- | games/ttraffic/distinfo | 1 | ||||
-rw-r--r-- | games/ttraffic/pkg-comment | 1 | ||||
-rw-r--r-- | games/ttraffic/pkg-descr | 12 | ||||
-rw-r--r-- | games/ttraffic/pkg-plist | 3 |
5 files changed, 47 insertions, 0 deletions
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 <tobez@FreeBSD.org> +# +# $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 <bsd.port.mk> 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 +<tobez@FreeBSD.org> 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 |