--- bsdgames-2.0.orig/adventure/main.c +++ bsdgames-2.0/adventure/main.c @@ -54,7 +54,7 @@ /* Re-coding of advent in C: main program */ -#include +/*#include */ #include #include #include --- bsdgames-2.0.orig/atc/main.c +++ bsdgames-2.0/atc/main.c @@ -36,6 +36,8 @@ * SUCH DAMAGE. */ +#define CBREAK 64 + /* * Copyright (c) 1987 by Ed James, UC Berkeley. All rights reserved. * --- bsdgames-2.0.orig/backgammon/backgammon/main.c +++ bsdgames-2.0/backgammon/backgammon/main.c @@ -39,6 +39,9 @@ The Regents of the University of California. All rights reserved.\n"); #endif /* not lint */ +#define CBREAK 64 +#define CRMOD 4 + #ifndef lint #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; --- bsdgames-2.0.orig/backgammon/teachgammon/teach.c +++ bsdgames-2.0/backgammon/teachgammon/teach.c @@ -39,6 +39,9 @@ The Regents of the University of California. All rights reserved.\n"); #endif /* not lint */ +#define CBREAK 64 +#define CRMOD 4 + #ifndef lint #if 0 static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93"; --- bsdgames-2.0.orig/battlestar/battlestar.6 +++ bsdgames-2.0/battlestar/battlestar.6 @@ -122,7 +122,8 @@ The two commands "score" and "inven" will print out your current status in the game. .Sh SAVING A GAME -The command "save" will save your game in a file called "Bstar." You +The command "save" will save your game in a file called ".Bstar" in your +home directory. You can recover a saved game by using the "-r" option when you start up the game. .Sh DIRECTIONS --- bsdgames-2.0.orig/battlestar/save.c +++ bsdgames-2.0/battlestar/save.c @@ -55,7 +55,7 @@ home = getenv("HOME"); strcpy(home1, home); - strcat(home1, "/Bstar"); + strcat(home1, "/.Bstar"); if ((fp = fopen(home1, "r")) == 0) { warn("fopen %s", home1); exit(1); @@ -109,7 +109,7 @@ home = getenv("HOME"); strcpy(home1, home); - strcat(home1, "/Bstar"); + strcat(home1, "/.Bstar"); if ((fp = fopen(home1, "w")) == 0) { warn("fopen %s", home1); return; --- bsdgames-2.0.orig/configure +++ bsdgames-2.0/configure @@ -24,6 +24,7 @@ esac eval $query_var=\"\$input\" subst_vars="$subst_vars $query_var" + echo $input } ask_yn () { @@ -83,11 +84,13 @@ echo "finally be located (so that your packaging system can then move it" echo "there) you should name that directory here. This is most likely to" echo "be the case if you are packaging bsd-games for a Linux distribution." -ask "Installation prefix" install_prefix '' +ask "Installation prefix" install_prefix `pwd`'/debian/tmp' def_build_dirs= for file in *; do - if [ -e "$file/Makefile" ]; then + # Don't build dm or banner or fortune or factor. + if [ -e "$file/Makefile" -a "$file" != "dm" -a "$file" != "banner" \ + -a "$file" != "fortune" -a "$file" != "factor" ]; then def_build_dirs="$def_build_dirs $file" fi done @@ -145,13 +148,13 @@ # arch-dependent data is a bad thing, and we should change the games to # avoid it where possible, but until then this is needed. ask "Library directory for constant data - (architecture dependent)" usrlibdir /usr/lib/games + (architecture dependent)" usrlibdir /usr/lib/games/bsdgames # We use /usr/share for this by the not-yet-released FHS, at least according # to the discussion on debian-devel ask "Library directory for constant data - (architecture independent)" sharedir /usr/share/games -ask "Library directory for variable data" varlibdir /var/lib/games -ask_yn "Set owners/groups on installed files" do_chown y + (architecture independent)" sharedir /usr/share/games/bsdgames +ask "Library directory for variable data" varlibdir /var/lib/games/bsdgames +ask_yn "Set owners/groups on installed files" do_chown n echo echo "For scorefiles there are at least two possible security policies if you" @@ -183,7 +186,7 @@ use_dot_so= while test x$use_dot_so = x; do - ask "Use .so or symlinks for manpages" use_dot_so .so + ask "Use .so or symlinks for manpages" use_dot_so symlinks case "$use_dot_so" in .so) ;; @@ -198,7 +201,7 @@ done subst_vars="$subst_vars use_dot_so" -ask_yn "Gzip manpages" gzip_manpages y +ask_yn "Gzip manpages" gzip_manpages n # What we do with manpages is a bit complicated. If either ppt or morse is # being built, we must also install the bcd manpage, even if bcd isn't being --- bsdgames-2.0.orig/factor/factor.6 +++ bsdgames-2.0/factor/factor.6 @@ -42,13 +42,12 @@ .\" chongo /\oo/\ .\" .Dd May 31, 1993 -.Dt FACTOR 6 +.Dt PRIMES 6 .Os .Sh NAME -.Nm factor , .Nm primes .Nd -factor a number, generate primes +generate primes .Sh SYNOPSIS .Nm .Op Ar number ... @@ -57,32 +56,6 @@ .Op Ar start Op Ar stop .Sh DESCRIPTION The -.Nm -utility will factor integers between -2147483648 and 2147483647 inclusive. -When a number is factored, it is printed, followed by a -.Dq \: , -and the list of factors on a single line. -Factors are listed in ascending order, and are preceded by a space. -If a factor divides a value more than once, it will be printed -more than once. -.Pp -When -.Nm -is invoked with one or more arguments, -each argument will be factored. -.Pp -When -.Nm -is invoked with no arguments, -.Nm -reads numbers, one per line, from standard input, until end of file or error. -Leading white-space and empty lines are ignored. -Numbers may be preceded by a single - or +. -Numbers are terminated by a non-digit character (such as a newline). -After a number is read, it is factored. -Input lines must not be longer than 255 characters. -.Pp -The .Nm primes utility prints primes in ascending order, one per line, starting at or above .Ar start @@ -118,9 +91,5 @@ .Sq ouch being written to standard error. .Sh BUGS -.Nm -cannot handle the -.Dq 10 most wanted -factor list, .Nm primes won't get you a world record. --- bsdgames-2.0.orig/mille/mille.h +++ bsdgames-2.0/mille/mille.h @@ -249,7 +249,7 @@ int playcard __P((PLAY *)); void prboard __P((void)); void prompt __P((int)); -void prscore __P((int)); +void prscore __P((bool)); int readch __P((void)); bool rest_f __P((char *)); int roll __P((int, int)); --- bsdgames-2.0.orig/robots/move.c +++ bsdgames-2.0/robots/move.c @@ -184,7 +184,7 @@ case EOF: break; default: - putchar(CTRL('G')); +/* putchar(CTRL('G')); */ /* seems to break in an xterm */ reset_count(); fflush(stdout); break; --- bsdgames-2.0.orig/snake/snake/move.c +++ bsdgames-2.0/snake/snake/move.c @@ -591,7 +591,7 @@ } void -raw() +my_raw() { tcsetattr(0, TCSADRAIN, &new); } @@ -713,7 +713,7 @@ #ifdef VDSUSP new.c_cc[VDSUSP] = _POSIX_VDISABLE; #endif - raw(); + my_raw(); if (orig.c_oflag & OXTABS) TA = 0; --- bsdgames-2.0.orig/snake/snake/snake.c +++ bsdgames-2.0/snake/snake/snake.c @@ -930,7 +930,7 @@ ll(); cook(); kill(getpid(), SIGTSTP); - raw(); + my_raw(); setup(); winnings(cashvalue); } --- bsdgames-2.0.orig/wargames/wargames.6 +++ bsdgames-2.0/wargames/wargames.6 @@ -0,0 +1,18 @@ +.TH WARGAMES 6 +.SH NAME +wargames \- shall we play a game? +.SH SYNOPSIS +.B wargames +.SH "DESCRIPTION" +.I Shall we play a game? +-- computer, +.I wargames +.P +Just like in the movie, the computer will happily play a +game with you. The liklihood of Global Thermonuclear Warfare +resulting is much smaller.. +.SH "SEE ALSO" +.I Wargames +, the movie. (an MGM production, PGP 13, directed by John Badham, 1983) +.SH AUTHOR +This manual page was written by Joey Hess . --- bsdgames-2.0.orig/debian/postinst +++ bsdgames-2.0/debian/postinst @@ -0,0 +1,36 @@ +#!/bin/sh -e + +SCOREFILES=" + /var/lib/games/bsdgames/atc_score + /var/lib/games/bsdgames/battlestar.log + /var/lib/games/bsdgames/cfscores + /var/lib/games/bsdgames/criblog + /var/lib/games/bsdgames/robots_roll + /var/lib/games/bsdgames/saillog + /var/lib/games/bsdgames/snake.log + /var/lib/games/bsdgames/snakerawscores + /var/lib/games/bsdgames/tetris-bsd.scores + /var/lib/games/bsdgames/phantasia/characs + /var/lib/games/bsdgames/phantasia/gold + /var/lib/games/bsdgames/phantasia/lastdead + /var/lib/games/bsdgames/phantasia/mess + /var/lib/games/bsdgames/phantasia/motd + /var/lib/games/bsdgames/phantasia/scoreboard + /var/lib/games/bsdgames/phantasia/void + /var/lib/games/bsdgames/phantasia/monsters" + +# These files cannot just be zero-byte files: +if [ ! -e /var/lib/games/bsdgames/phantasia/void ]; then + cp /usr/share/games/bsdgames/phantasia/void \ + /var/lib/games/bsdgames/phantasia/void +fi +if [ ! -e /var/lib/games/bsdgames/phantasia/monsters ] ; then + cp /usr/share/games/bsdgames/phantasia/monsters \ + /var/lib/games/bsdgames/phantasia/monsters +fi + +touch $SCOREFILES +chown root.games $SCOREFILES +chmod 664 $SCOREFILES + +#DEBHELPER# --- bsdgames-2.0.orig/debian/changelog +++ bsdgames-2.0/debian/changelog @@ -0,0 +1,167 @@ +bsdgames (2.0-4) unstable; urgency=low + + * No high score files are conffiles now. + * For phantasia's "monsters" and "void" files, which cannot be simply + touched in the postinst, I now copy them over from + /usr/share/games/bsdgames/phantasia in the postinst, if they don't + already exist. + + -- Joey Hess Tue, 10 Mar 1998 18:08:51 -0800 + +bsdgames (2.0-3) unstable; urgency=low + + * Added a man page for wargames. (Wow, never thought my movie guide book + would be useful in debian development!) + + -- Joey Hess Sun, 22 Feb 1998 18:42:17 -0800 + +bsdgames (2.0-2) unstable; urgency=low + + * Updated standards-version. + + -- Joey Hess Mon, 9 Feb 1998 15:09:56 -0800 + +bsdgames (2.0-1) unstable; urgency=low + + * New upstream release. + * Sail works again now, added back to package. Now all games are properly + working with libc6, at last. + * Removed hunt from the debian menu - for now, you need to manually run + huntd, and then hunt. + + -- Joey Hess Fri, 26 Dec 1997 13:34:34 -0500 + +bsdgames (1.5-4) unstable; urgency=low + + * Sparc fixes: + - Removed strcpy(), strncpy() prototypes. + - Modified snake/snake/move.c to not redefine raw(). + - Modified worms.c to not redefine random. + + -- Joey Hess Thu, 11 Dec 1997 12:10:17 -0500 + +bsdgames (1.5-3) unstable; urgency=low + + * Fixed adventure to work again, and added it back into the package. + Thanks, Culus! + * Moved screen savers into Screen/Save/Text menu. + + -- Joey Hess Fri, 21 Nov 1997 16:22:14 -0500 + +bsdgames (1.5-2) unstable; urgency=low + + * Removed the factor program, which is also in shellutils (#14676). + * Modified primes.6 man page, so it only documents the primes program + (used to document factor and primes). + * Install factor.6 as primes.6, instead of making a symlink. + * Use debhelper. + + -- Joey Hess Sun, 9 Nov 1997 14:13:05 -0500 + +bsdgames (1.5-1) unstable; urgency=low + + * New upstream release. + - new games: adventure, phantasia, pig, quiz, random. + - updated other games to new versions. + * Libc6 at last. + - however, adventure and sail are currently broken under libc6, + and not included in the binary package. + * Changed how the configure script is run during building, new method + is more robust. + * Fixed menu file entry for go fish to pause after end of game so the user + can see who won. + * Make tetris-bsd score file a conffile. + * Use pristine upstream source. + + -- Joey Hess Sat, 19 Jul 1997 12:25:03 -0400 + +bsdgames (1.4-1) unstable; urgency=low + + * New upstream release, incorporates many of the changes I made for + debian. + * No longer have to delete bog and paranioa out of the upstream source, + they have been split out into a bsdgames-nonfree package. + * Tetris is now part of the upstream source, no need for tetris.shar. + * /usr/games/tetris renamed to /usr/games/tetris-bsd + * /usr/share used for arch-independant data. + * Reccommends: wordlist | wenglish; closes #8487 + + -- Joey Hess Thu, 1 May 1997 23:07:46 -0400 + +bsdgames (1.3-8) unstable; urgency=low + + * Removed fortune from descrition, as fortune is not included in this + package (#9168). + * Converted menufile to menu-1 format. + + -- Joey Hess Mon, 28 Apr 1997 13:25:24 -0400 + +bsdgames (1.3-7) frozen unstable; urgency=low + + * Fixed problem with including tetris in the source package. Tetris is now + included as a shar archive. + + -- Joey Hess Wed, 16 Apr 1997 18:39:31 -0400 + +bsdgames (1.3-6) frozen unstable; urgency=low + + * Fixed segfault in backgammon if any command line options were given. + * Use backgammon -pb in the debian menu file. + + -- Joey Hess Tue, 15 Apr 1997 14:27:04 -0400 + +bsdgames (1.3-5) frozen unstable; urgency=low + + * Hacked around in mille to fix bug #8556. + + -- Joey Hess Tue, 8 Apr 1997 20:03:23 -0400 + +bsdgames (1.3-4) unstable; urgency=low + + * Fixed sparse files problem (#8488) -- the package should install in much + less space now. + * Routine update of debian/rules: + Run dpkg-gencontrol after debstd, and delete substvars during clean. + + -- Joey Hess Fri, 4 Apr 1997 19:48:12 -0500 + +bsdgames (1.3-3) unstable; urgency=low + + * Fixed problems in source package: + * Removed binaries in hangman directory. + * dpkg-source -x would not work with version 1.3-2. Fixed this. + * Corrected typo in hangman's man page. + + -- Joey Hess Wed, 26 Mar 1997 14:02:24 -0500 + +bsdgames (1.3-2) unstable; urgency=low + + * robots: if player cannot move, don't print junk characters in xterm when + trying to beep. + * Routine update of debian/rules: + Run dpkg-gencontrol after debstd, and delete substvars during clean. + * Added tetris, thanks to David Frey . + + -- Joey Hess Sun, 23 Mar 1997 18:05:41 -0500 + +bsdgames (1.3-1) unstable; urgency=low + + * First release. + * Link with -ncurses instead of -termcap. + * "rm -r bog paranioa" to remove them from the source package. Their + copyright doesn't let them be in debian. + * Many changes to get it all to compile. + * More changes for debian packaging; moved score files into /var, made + some programs sgid games so they could write to score files, etc. + * Fixed up man pages. + * battlestar: renamed save file to ~/.Bstar + * cribbage: display help properly even if PAGER is not set to an absolute + pathname of the pager. + * snscore: don't segfault if the score file is empty. + * snscore: don't give "too many players" error. + + -- Joey Hess Thu, 20 Mar 1997 23:31:16 -0500 + +Local variables: +mode: debian-changelog +End: --- bsdgames-2.0.orig/debian/postrm +++ bsdgames-2.0/debian/postrm @@ -0,0 +1,30 @@ +#!/bin/sh -e + +SCOREFILES=" + /var/lib/games/bsdgames/atc_score + /var/lib/games/bsdgames/battlestar.log + /var/lib/games/bsdgames/cfscores + /var/lib/games/bsdgames/criblog + /var/lib/games/bsdgames/robots_roll + /var/lib/games/bsdgames/saillog + /var/lib/games/bsdgames/snake.log + /var/lib/games/bsdgames/snakerawscores + /var/lib/games/bsdgames/tetris-bsd.scores + /var/lib/games/bsdgames/phantasia/characs + /var/lib/games/bsdgames/phantasia/gold + /var/lib/games/bsdgames/phantasia/lastdead + /var/lib/games/bsdgames/phantasia/mess + /var/lib/games/bsdgames/phantasia/motd + /var/lib/games/bsdgames/phantasia/scoreboard + /var/lib/games/bsdgames/phantasia/void + /var/lib/games/bsdgames/phantasia/monsters" + +# Remove high score files on purge. +if [ "$1" == "purge" ]; then + rm -f $SCOREFILES +fi + +rmdir /var/lib/games/bsdgames/phantasia /var/lib/games/bsdgames \ + /var/lib/games 2>/dev/null || true + +#DEBHELPER# --- bsdgames-2.0.orig/debian/control +++ bsdgames-2.0/debian/control @@ -0,0 +1,19 @@ +Source: bsdgames +Section: games +Priority: optional +Maintainer: Joey Hess +Standards-Version: 2.4.0.0 + +Package: bsdgames +Architecture: any +Depends: ${shlibs:Depends} +Recommends: wordlist | wenglish +Description: collection of text games from BSD systems + This is a collection of some of the text-based games and amusements that are + common on BSD systems. + . + Includes these programs: adventure, arithmetic, atc, backgammon, battlestar, + bcd, caesar, canfield, countmail, cribbage, fish, gomoku, hangman, hunt, + mille, monop, morse, number, pig, phantasia, pom, ppt, primes, quiz, + random, rain, robots, sail, snake, tetris, trek, wargames, worm, worms, + wump --- bsdgames-2.0.orig/debian/copyright +++ bsdgames-2.0/debian/copyright @@ -0,0 +1,46 @@ +This is a Debian prepackaged version of the BSD games package. + +This package was put together by Joey Hess , using +sources from: + ftp://sunsite.unc.edu/pub/Linux/Incoming/bsd-games-2.0.tar.gz + +Most programs in this package have the standard BSD copyright. See +/usr/doc/copyrigght/BSD for the text of this copyright. There are some +exceptions, as follows: + +atc: +BSD copyright plus the following: +/* + * Copyright (c) 1987 by Ed James, UC Berkeley. All rights reserved. + * + * Copy permission is hereby granted provided that this notice is + * retained on all partial or complete copies. + * + * For more info on this and all of my stuff, mail edjames@berkeley.edu. + */ + +phantasia: +This entire subtree is explicitly not copyrighted. +The following notice applies to all files found here. None of +these files contain AT&T proprietary source code. +_____________________________________________________________________________ + +/* DISCLAIMER: + * + * This game is distributed for free as is. It is not guaranteed to work + * in every conceivable environment. It is not even guaranteed to work + * in ANY environment. + * + * This game is distributed without notice of copyright, therefore it + * may be used in any manner the recipient sees fit. However, the + * author assumes no responsibility for maintaining or revising this + * game, in its original form, or any derivitives thereof. + * + * The author shall not be responsible for any loss, cost, or damage, + * including consequential damage, caused by reliance on this material. + * + * The author makes no warranties, express or implied, including warranties + * of merchantability or fitness for a particular purpose or use. + * + * AT&T is in no way connected with this game. + */ --- bsdgames-2.0.orig/debian/menu +++ bsdgames-2.0/debian/menu @@ -0,0 +1,50 @@ +?package(bsdgames):needs="text" section="Apps/Educational" \ + title="Arithmetic Quiz" command="/usr/games/arithmetic" +?package(bsdgames):needs="text" section="Games/Simulation" \ + title="Air Traffic Controller" \ + command="sh -c '/usr/games/atc ; echo;echo PRESS ENTER;read'" +?package(bsdgames):needs="text" section="Games/Adventure" \ + title="Battlestar" command="/usr/games/battlestar" +?package(bsdgames):needs="text" section="Games/Card" \ + title="Canfield" command="/usr/games/canfield" +?package(bsdgames):needs="text" section="Games/Card" \ + title="Cribbage" command="/usr/games/cribbage" +?package(bsdgames):needs="text" section="Games/Card" \ + title="Go Fish" \ + command="sh -c '/usr/games/fish;echo;echo PRESS ENTER;read'" +?package(bsdgames):needs="text" section="Games/Puzzles" \ + title="Hangman" command="/usr/games/hangman" +?package(bsdgames):needs="text" section="Games/Card" \ + title="Mille Bournes" command="/usr/games/mille" +?package(bsdgames):needs="text" section="Games/Board" \ + title="Monopoly" command="/usr/games/monop" +?package(bsdgames):needs="text" section="Games/Board" \ + title="Backgammon" command="/usr/games/backgammon -pb" +?package(bsdgames):needs="text" section="Screen/Save/Text" \ + title="Rain" command="/usr/games/rain" +?package(bsdgames):needs="text" section="Games/Arcade" \ + title="Robots" command="/usr/games/robots" +?package(bsdgames):needs="text" section="Games/Simulation" \ + title="Sail" command="/usr/games/sail" +?package(bsdgames):needs="text" section="Games/Arcade" \ + title="Snake" command="/usr/games/snake" +?package(bsdgames):needs="text" section="Games/Arcade" \ + title="Star Trek" command="/usr/games/trek" +?package(bsdgames):needs="text" section="Games/Arcade" \ + title="Worm" command="/usr/games/worm" +?package(bsdgames):needs="text" section="Screen/Save/Text" \ + title="Worms" command="/usr/games/worms" +?package(bsdgames):needs="text" section="Games/Adventure" \ + title="Hunt the Wumpus" command="/usr/games/wump" +?package(bsdgames):needs="text" section="Games/Tetris-like" \ + title="Bsd Tetris" \ + command="sh -c '/usr/games/tetris-bsd;echo;echo PRESS ENTER;read'" +?package(bsdgames):needs="text" section="Games/Board" \ + title="Gomoku" \ + command="/usr/games/gomoku" +?package(bsdgames):needs="text" section="Games/Adventure" \ + title="Phantasia" \ + command="/usr/games/phantasia" +?package(adventure):needs="text" section="Games/Adventure" \ + title="Adventure" \ + command="/usr/games/adventure" --- bsdgames-2.0.orig/debian/rules +++ bsdgames-2.0/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + yes "" | ./configure + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + dh_clean + -$(MAKE) -i distclean + +# Build architecture-independent files here. +binary-indep: build +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs usr/doc/bsdgames usr/share/games/bsdgames/phantasia + + $(MAKE) install + cp atc/BUGS debian/tmp/usr/doc/bsdgames/BUGS.atc + cp hunt/README debian/tmp/usr/doc/bsdgames/README.hunt + cp hunt/README.linux debian/tmp/usr/doc/bsdgames/README.linux.hunt + cp phantasia/README debian/tmp/usr/doc/bsdgames/README.phantasia + # Since factor is not installed, and primes.6 is a symlink to + # factor.6, I need to change that to the actual man page. + -rm -f debian/tmp/usr/man/man6/factor.6.gz \ + debian/tmp/usr/man/man6/primes.6 + cp factor/factor.6 debian/tmp/usr/man/man6/primes.6 + cp wargames/wargames.6 debian/tmp/usr/man/man6/ + # Move phantasia's binary state files into /usr, they are copied + # back to /var in the postinst. + mv debian/tmp/var/lib/games/bsdgames/phantasia/{monsters,void} \ + debian/tmp/usr/share/games/bsdgames/phantasia/ + + dh_installdocs ChangeLog ChangeLog.0 Credits TODO README \ + trek/USD.doc/trek.me + dh_installexamples + dh_installmenu + dh_installcron +# dh_installmanpages +# dh_undocumented + dh_installchangelogs NEWS + dh_strip + dh_compress + dh_fixperms + + chmod -R u+rw debian/tmp/usr/ + # Games with score files need to be set up sgid games. + chown root.games debian/tmp/usr/games/{atc,battlestar,canfield,cribbage,robots,snake,tetris-bsd,phantasia,sail} + chmod g+s debian/tmp/usr/games/{atc,battlestar,canfield,cribbage,robots,snake,tetris-bsd,phantasia,sail} + # The game directories need to be sgid too, and let's + # remove all the zero byte score files in them. + chown root.games debian/tmp/var/lib/games/bsdgames/{,phantasia} + chmod g+rws debian/tmp/var/lib/games/bsdgames/{,phantasia} + find debian/tmp/var/lib/games/bsdgames -size 0 -exec rm {} \; + + dh_suidregister + dh_installdeb + dh_shlibdeps + dh_gencontrol +# dh_makeshlibs + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary