diff options
author | obrien <obrien@FreeBSD.org> | 1997-02-16 09:35:52 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-02-16 09:35:52 +0800 |
commit | 2bc2ab084e32c08160c5eb22e27aa2a8c28342d2 (patch) | |
tree | 7a67b5407a157c23cd8fcab4dc73038717f4b6ce /games/xspringies | |
parent | e27007b8d2e7deb2dee4e3f51d9646a88b8a8f91 (diff) | |
download | freebsd-ports-graphics-2bc2ab084e32c08160c5eb22e27aa2a8c28342d2.tar.gz freebsd-ports-graphics-2bc2ab084e32c08160c5eb22e27aa2a8c28342d2.tar.zst freebsd-ports-graphics-2bc2ab084e32c08160c5eb22e27aa2a8c28342d2.zip |
XSpringies is a mass and spring simulation system. It's intended use is more
like that of a game, than some design package.
(fixed /0 FP exception)
Submitted by: jkh
Closes PR: ports/2292
Diffstat (limited to 'games/xspringies')
-rw-r--r-- | games/xspringies/Makefile | 18 | ||||
-rw-r--r-- | games/xspringies/distinfo | 1 | ||||
-rw-r--r-- | games/xspringies/files/patch-01 | 24 | ||||
-rw-r--r-- | games/xspringies/pkg-comment | 1 | ||||
-rw-r--r-- | games/xspringies/pkg-descr | 9 | ||||
-rw-r--r-- | games/xspringies/pkg-plist | 59 |
6 files changed, 112 insertions, 0 deletions
diff --git a/games/xspringies/Makefile b/games/xspringies/Makefile new file mode 100644 index 00000000000..7bcd0662b39 --- /dev/null +++ b/games/xspringies/Makefile @@ -0,0 +1,18 @@ +# Ports collection makefile for: xspringies +# Version required: 1.1 +# Date created: 12 January 1997 +# Whom: jkh +# +# $Id: Makefile,v 1.3 1996/11/18 09:52:57 asami Exp $ +# + +DISTNAME= xspringies-1.1 +CATEGORIES= games +MASTER_SITES= http://aixpdslib.seas.ucla.edu/pub/xspringies/RISC/3.2/src/ +DISTFILES= xspringies.1.1.tar.Z + +MAINTAINER= jkh@FreeBSD.ORG + +USE_IMAKE= yes + +.include <bsd.port.mk> diff --git a/games/xspringies/distinfo b/games/xspringies/distinfo new file mode 100644 index 00000000000..26cf57ed3ba --- /dev/null +++ b/games/xspringies/distinfo @@ -0,0 +1 @@ +MD5 (xspringies.1.1.tar.Z) = 0958e74178cdf5c49fa05c640ce16011 diff --git a/games/xspringies/files/patch-01 b/games/xspringies/files/patch-01 new file mode 100644 index 00000000000..f4c6f8eac1a --- /dev/null +++ b/games/xspringies/files/patch-01 @@ -0,0 +1,24 @@ +--- phys.c.orig Mon Mar 29 06:26:52 1993 ++++ phys.c Sat Feb 15 16:54:26 1997 +@@ -212,11 +212,16 @@ + + mass1 = m1->mass; + mass2 = m2->mass; +- +- m1->ax += forcex / mass1; +- m1->ay += forcey / mass1; +- m2->ax -= forcex / mass2; +- m2->ay -= forcey / mass2; ++ ++ # gives "signal SIGFPE, Arithmetic exception" w/o the tests ++ if (mass1 != 0) { ++ m1->ax += forcex / mass1; ++ m1->ay += forcey / mass1; ++ } ++ if (mass2 != 0) { ++ m2->ax -= forcex / mass2; ++ m2->ay -= forcey / mass2; ++ } + } + } + } diff --git a/games/xspringies/pkg-comment b/games/xspringies/pkg-comment new file mode 100644 index 00000000000..8f642aa384d --- /dev/null +++ b/games/xspringies/pkg-comment @@ -0,0 +1 @@ +a mass and spring simulation system. diff --git a/games/xspringies/pkg-descr b/games/xspringies/pkg-descr new file mode 100644 index 00000000000..5191d465c31 --- /dev/null +++ b/games/xspringies/pkg-descr @@ -0,0 +1,9 @@ +XSpringies is a mass and spring simulation system. It's intended use is more +like that of a game, than some design package. + +It's written using Xlib only. No Motif or any other widgets sets are used. + +The animation in XSpringies is done using an off-screen Pixmap. The next +frame is drawn on this pixmap, then is blitted onto the screen. Since the +frame rate is about 30 frames per second, slower machines (or machines which +have poorly written bit-blitting code) will be deathly slow and blinky. diff --git a/games/xspringies/pkg-plist b/games/xspringies/pkg-plist new file mode 100644 index 00000000000..098a3f46e0b --- /dev/null +++ b/games/xspringies/pkg-plist @@ -0,0 +1,59 @@ +bin/xspringies +man/man1/xspringies.1.gz +lib/X11/xspringies/2snake.xsp +lib/X11/xspringies/2x2snake.xsp +lib/X11/xspringies/3snake.xsp +lib/X11/xspringies/4snake.xsp +lib/X11/xspringies/9snake.xsp +lib/X11/xspringies/ball.xsp +lib/X11/xspringies/belt-loop.xsp +lib/X11/xspringies/belt-tire.xsp +lib/X11/xspringies/belt.xsp +lib/X11/xspringies/bike.xsp +lib/X11/xspringies/blanket.xsp +lib/X11/xspringies/bridge.xsp +lib/X11/xspringies/diamond-chain.xsp +lib/X11/xspringies/hammer.xsp +lib/X11/xspringies/hexball1.xsp +lib/X11/xspringies/hexball2.xsp +lib/X11/xspringies/hexball3.xsp +lib/X11/xspringies/hexhexmesh.xsp +lib/X11/xspringies/hexmesh.xsp +lib/X11/xspringies/jello-buttress.xsp +lib/X11/xspringies/jello-pend.xsp +lib/X11/xspringies/jello.xsp +lib/X11/xspringies/jello2.xsp +lib/X11/xspringies/kalied-maker.xsp +lib/X11/xspringies/kalied1.xsp +lib/X11/xspringies/kalied2.xsp +lib/X11/xspringies/lgrid.xsp +lib/X11/xspringies/lissajous.xsp +lib/X11/xspringies/mesh.xsp +lib/X11/xspringies/nifty.xsp +lib/X11/xspringies/nifty12.xsp +lib/X11/xspringies/octanifty.xsp +lib/X11/xspringies/pend.xsp +lib/X11/xspringies/pendbees.xsp +lib/X11/xspringies/pendwave.xsp +lib/X11/xspringies/person1.xsp +lib/X11/xspringies/person2.xsp +lib/X11/xspringies/plane.xsp +lib/X11/xspringies/psycho.xsp +lib/X11/xspringies/serp.xsp +lib/X11/xspringies/snake.xsp +lib/X11/xspringies/square.xsp +lib/X11/xspringies/stretchmesh.xsp +lib/X11/xspringies/super-jello.xsp +lib/X11/xspringies/tire.xsp +lib/X11/xspringies/tri4.xsp +lib/X11/xspringies/trimesh.xsp +lib/X11/xspringies/urchin.xsp +lib/X11/xspringies/wave.xsp +lib/X11/xspringies/worm.xsp +lib/X11/xspringies/xgrid.xsp +lib/X11/xspringies/xtrimesh.xsp +lib/X11/xspringies/zgrid.xsp +lib/X11/xspringies/zharp.xsp +lib/X11/xspringies/zharp2.xsp +lib/X11/xspringies/zingy.xsp +lib/X11/xspringies/zwave.xsp |