some warter down the screen; add -h option for height

This commit is contained in:
mickey 1998-03-18 19:47:00 +00:00
parent cfa83b14f6
commit da4c05bb7c
6 changed files with 62 additions and 0 deletions

25
games/xripple/Makefile Normal file
View File

@ -0,0 +1,25 @@
# new ports collection makefile for: xripple
# Version: 1.0 <no version #>
# Date created: 18 March 1998
# Whom: mickey
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/03/18 19:47:00 mickey Exp $
#
DISTNAME= xripple
PKGNAME= xripple-1.0
CATEGORIES= games
MASTER_SITES= ftp://www.cse.unsw.edu.au/pub/users/s2154962/
MAINTAINER= ports@openbsd.org
USE_IMAKE= yes
ALL_TARGET= xripple
post-configure:
cd ${WRKSRC}; make clean
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/xripple ${PREFIX}/bin
.include <bsd.port.mk>

1
games/xripple/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (xripple.tar.gz) = 90accfd36c66ccc910681efa089a094f

View File

@ -0,0 +1,22 @@
--- xrp.c.orig Wed Jul 10 08:47:30 1996
+++ xrp.c Wed Mar 18 14:49:59 1998
@@ -124,7 +124,19 @@
main(int argc, char **argv)
{
+ int ch;
+ extern char *__progname;
waterh=64;
+ while ((ch = getopt(argc, argv, "h:")) != -1)
+ switch (ch) {
+ case 'h':
+ waterh = atoi(optarg);
+ break;
+ default:
+ fprintf(stderr, "usage: %s [-h <height>]\n", __progname);
+ exit(1);
+ break;
+ }
OpenWindow(waterh);
doit();
}

View File

@ -0,0 +1 @@
Nifty X program to make the screen bottom ripple like a pool of water.

12
games/xripple/pkg/DESCR Normal file
View File

@ -0,0 +1,12 @@
This is a port of xripple, written by the Rasterman, aka. Carsten Haitzler.
XRipple is a program that causes the bottom of the screen to ripple, like
a pool of water. Not much else to say, really.
Carsten's ultra-cool homepage is at http://www.cse.unsw.edu.au/~s2154962/
with more cool stuff.
Note that xripple has no "official" version number.
- Oly
oly@world.std.com

1
games/xripple/pkg/PLIST Normal file
View File

@ -0,0 +1 @@
bin/xripple