From da4c05bb7cb4c953c609c6f57f147e1d24784132 Mon Sep 17 00:00:00 2001 From: mickey Date: Wed, 18 Mar 1998 19:47:00 +0000 Subject: [PATCH] some warter down the screen; add -h option for height --- games/xripple/Makefile | 25 +++++++++++++++++++++++++ games/xripple/files/md5 | 1 + games/xripple/patches/patch-aa | 22 ++++++++++++++++++++++ games/xripple/pkg/COMMENT | 1 + games/xripple/pkg/DESCR | 12 ++++++++++++ games/xripple/pkg/PLIST | 1 + 6 files changed, 62 insertions(+) create mode 100644 games/xripple/Makefile create mode 100644 games/xripple/files/md5 create mode 100644 games/xripple/patches/patch-aa create mode 100644 games/xripple/pkg/COMMENT create mode 100644 games/xripple/pkg/DESCR create mode 100644 games/xripple/pkg/PLIST diff --git a/games/xripple/Makefile b/games/xripple/Makefile new file mode 100644 index 00000000000..8084086bba4 --- /dev/null +++ b/games/xripple/Makefile @@ -0,0 +1,25 @@ +# new ports collection makefile for: xripple +# Version: 1.0 +# 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 diff --git a/games/xripple/files/md5 b/games/xripple/files/md5 new file mode 100644 index 00000000000..a5ed09dc555 --- /dev/null +++ b/games/xripple/files/md5 @@ -0,0 +1 @@ +MD5 (xripple.tar.gz) = 90accfd36c66ccc910681efa089a094f diff --git a/games/xripple/patches/patch-aa b/games/xripple/patches/patch-aa new file mode 100644 index 00000000000..2cf126cdf5d --- /dev/null +++ b/games/xripple/patches/patch-aa @@ -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 ]\n", __progname); ++ exit(1); ++ break; ++ } + OpenWindow(waterh); + doit(); + } diff --git a/games/xripple/pkg/COMMENT b/games/xripple/pkg/COMMENT new file mode 100644 index 00000000000..e78fce211fa --- /dev/null +++ b/games/xripple/pkg/COMMENT @@ -0,0 +1 @@ +Nifty X program to make the screen bottom ripple like a pool of water. diff --git a/games/xripple/pkg/DESCR b/games/xripple/pkg/DESCR new file mode 100644 index 00000000000..1a826ad3040 --- /dev/null +++ b/games/xripple/pkg/DESCR @@ -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 diff --git a/games/xripple/pkg/PLIST b/games/xripple/pkg/PLIST new file mode 100644 index 00000000000..c632193c8d6 --- /dev/null +++ b/games/xripple/pkg/PLIST @@ -0,0 +1 @@ +bin/xripple