yes, i like 'em

This commit is contained in:
mickey 1998-03-13 19:42:57 +00:00
parent 08aa5bbd99
commit abf56c7612
7 changed files with 107 additions and 0 deletions

20
games/xroach/Makefile Normal file
View File

@ -0,0 +1,20 @@
# OpenBSD makefile for: xroach
# Version required: 4.4BSD-Lite
# Date created: 22 December 1995
# Whom: mickey
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/03/13 19:42:57 mickey Exp $
#
DISTNAME= xroach
PKGNAME= xroach-4.4
CATEGORIES= x11 games
MASTER_SITES= ftp://ftp.cdrom.com/pub/bsd-sources/4.4BSD-Lite/usr/src/games/
MAINTAINER= mickey@openbsd.org
USE_X11= yes
IGNOREFILES= ${DISTFILES}
WRKSRC= ${WRKDIR}/pub/bsd-sources/4.4BSD-Lite/usr/src/games/xroach
.include <bsd.port.mk>

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

@ -0,0 +1 @@
MD5 (xroach.tar.gz) = IGNORE

View File

@ -0,0 +1,32 @@
diff -cdNr ../xroach.BSD/Makefile ./Makefile
*** ../xroach.BSD/Makefile Wed Jun 9 04:12:04 1993
--- ./Makefile Fri Dec 22 19:52:19 1995
***************
*** 1,9 ****
! # @(#)Makefile 8.1 (Berkeley) 6/8/93
PROG= xroach
! MAN6= xroach.0
! CFLAGS+= -I${.CURDIR}/bitmaps
! DPADD= ${LIBX} ${LIBM}
! LDADD= -lX11/X11 -lm
.include <bsd.prog.mk>
--- 1,17 ----
! # @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= xroach
! MAN= xroach.6
!
! DPADD+= ${X11BASE}/lib/libX11.a ${LIBM}
! CFLAGS+= -I${X11BASE}/include -I${.CURDIR}/bitmaps
! LDDESTDIR+= -L${X11BASE}/lib
! LDADD+= -lX11 -lm
!
! MANDIR= ${X11BASE}/man/man
!
! BINOWN= bin
! BINDIR= ${X11BASE}/bin
! BINMODE= 755
.include <bsd.prog.mk>

View File

@ -0,0 +1,47 @@
*** xroach.c.orig Sat May 4 21:18:41 1996
--- xroach.c Sat May 4 17:50:29 1996
***************
*** 96,114 ****
/*
Process command line options.
*/
! for (ax=1; ax<ac; ax++) {
! arg = av[ax];
if (strcmp(arg, "-display") == 0) {
! display_name = av[++ax];
}
else if (strcmp(arg, "-rc") == 0) {
! roachColor = av[++ax];
}
else if (strcmp(arg, "-speed") == 0) {
! roachSpeed = atof(av[++ax]);
}
else if (strcmp(arg, "-roaches") == 0) {
! maxRoaches = strtol(av[++ax], (char **)NULL, 0);
}
else {
Usage();
--- 96,118 ----
/*
Process command line options.
*/
! for (ax=1; ax<ac; ) {
! arg = av[ax++];
!
! if (ax >= ac)
! Usage();
!
if (strcmp(arg, "-display") == 0) {
! display_name = av[ax++];
}
else if (strcmp(arg, "-rc") == 0) {
! roachColor = av[ax++];
}
else if (strcmp(arg, "-speed") == 0) {
! roachSpeed = atof(av[ax++]);
}
else if (strcmp(arg, "-roaches") == 0) {
! maxRoaches = strtol(av[ax++], (char **)NULL, 0);
}
else {
Usage();

1
games/xroach/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Cockroaches hide under your windows.

4
games/xroach/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
Xroach displays disgusting cockroaches on your root window. These
creepy crawlies scamper around until they find a window to hide
under. Whenever you move or iconify a window, the exposed beetles
again scamper for cover.

2
games/xroach/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/xroach
man/man6/xroach.6.gz