diff --git a/misc/xgas/Makefile b/misc/xgas/Makefile new file mode 100644 index 00000000000..30f0e194ec2 --- /dev/null +++ b/misc/xgas/Makefile @@ -0,0 +1,21 @@ +# OpenBSD makefile for: xgas +# Date created: May 20 1998 +# Whom: Angelos D. Keromytis +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 07:51:13 angelos Exp $ +# + +DISTNAME= xgas +PKGNAME= xgas-1.0 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.tut.ac.jp/.h3/X11/X11R6/contrib/programs/ + +MAINTAINER= angelos@openbsd.org + +USE_IMAKE= yes + +post-install: + @chmod 755 ${PREFIX}/bin/xgas + @chown bin.bin ${PREFIX}/bin/xgas + +.include diff --git a/misc/xgas/files/md5 b/misc/xgas/files/md5 new file mode 100644 index 00000000000..5046d0ca8ca --- /dev/null +++ b/misc/xgas/files/md5 @@ -0,0 +1 @@ +MD5 (xgas.tar.gz) = d48372429fbada32acf403105865924d diff --git a/misc/xgas/pkg/COMMENT b/misc/xgas/pkg/COMMENT new file mode 100644 index 00000000000..848ac355c75 --- /dev/null +++ b/misc/xgas/pkg/COMMENT @@ -0,0 +1 @@ +The animated simulation of an ideal gas diff --git a/misc/xgas/pkg/DESCR b/misc/xgas/pkg/DESCR new file mode 100644 index 00000000000..71681390abb --- /dev/null +++ b/misc/xgas/pkg/DESCR @@ -0,0 +1,25 @@ +Xgas, animated simulation of an ideal gas + +Xgas is a physical simulation of an ideal gas in a heated box. +Gas molecules move around the box with velocities dependent on +their temperature. A chamber consisting of two boxes contains +the gas molecules collide with the walls, their temperature +approarches that of the box. + +Use mouse button 1 to create molecules one at a time at +the cursor position. Use mouse button 2 to create the +maximum number of molecules at the cursor position. + +Usage: xgas [ -options ] + +Options: + -as Sets the autoStart resource. + -ts Sets the timeStepSize resource. + -d Sets the delay resource. + -rb Sets the randomBounce resource. + -eq Sets the equilibrium resource. + -mm Sets the maxMolecules resource. + -fg Sets the foreground. + -bg Sets the background. + +Yukihiro Nakai diff --git a/misc/xgas/pkg/PLIST b/misc/xgas/pkg/PLIST new file mode 100644 index 00000000000..adea7e46a96 --- /dev/null +++ b/misc/xgas/pkg/PLIST @@ -0,0 +1,3 @@ +bin/xgas +lib/X11/app-defaults/XGas +man/man1/xgas.1