From 765d663b5664be6531b58bcb0b1dc0c17b37235f Mon Sep 17 00:00:00 2001
From: Jean-Marc Zucconi <jmz@FreeBSD.org>
Date: Tue, 10 Oct 2000 14:26:01 +0000
Subject: Install the html man page in right location.

---
 games/jetpack/files/patch-ac | 192 ++++++++++++++++++-------------------------
 1 file changed, 80 insertions(+), 112 deletions(-)

(limited to 'games/jetpack/files')

diff --git a/games/jetpack/files/patch-ac b/games/jetpack/files/patch-ac
index 4aa8fe94f089..f932318cdf23 100644
--- a/games/jetpack/files/patch-ac
+++ b/games/jetpack/files/patch-ac
@@ -1,112 +1,80 @@
-*** Imakefile.orig	Mon Apr  6 12:59:31 1992
---- Imakefile	Mon Jan  2 11:51:53 1995
-***************
-*** 1,54 ****
-! 	SRCS = bitmap.c bonus.c collision.c demo.c draw.c erase.c events.c\
-  	 gameover.c initx.c main.c maze.c message.c normal.c quitx.c scores.c\
-  	 setinmaze.c setup.c special.c time.c update.c windowx.c
-! 	OBJS = bitmap.o bonus.o collision.o demo.o draw.o erase.o events.o\
-  	 gameover.o initx.o main.o maze.o message.o normal.o quitx.o scores.o\
-  	 setinmaze.o setup.o special.o time.o update.o windowx.o
-  
-! 	PROGRAMS = jetpack
-  
-! 	DESTDIR = /usrd/s/m/meb2
-  
-  # These defines override the template defaults. Trash em if you want to
-  # use the template locations
-! 	USRLIBDIR = $(DESTDIR)/lib/jetpack
-! 	BINDIR = $(DESTDIR)/bin
-! 	MANPATH = $(DESTDIR)/man
-! 	MANDIR = $(MANSOURCEPATH)1
-! 	TOP_INCLUDES =
-! 	DEPXLIB =
-! 	EXTRA_LIBRARIES = $(XLIB)
-  
-  # I like my programs optimized, stripped, and setuid. Do what you like.
-! 	INSTPGMFLAGS = $(INSTUIDFLAGS) -s
-! 	CDEBUGFLAGS = -O4
-  
-  # Since my programs are setuid, I make the data files readable only by me.
-! 	INSTDATFLAGS = -m 0600
-  
-  # These defines are needed by jetpack. Delete the -DBLIT if you don't want
-  # the game to do all the drawing to an offscreen pixmap. (This is good for
-  # machines that don't have hardware blitting -- if you have an xterm or a
-  # graphics workhorse, leave it in, there will be no flicker)
-! 	DEFINES = -DBLIT -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
-  
-  # The score file can be any name you like, just make sure the directory
-  # it's supposed to reside in exists, or jetpack will start creating score
-  # files in the directories it is run from. Same for the level files, only
-  # the filename you give here is only a prefix -- the complete filename has
-  # the level number appended to it.
-! 	SCOREFILE = $(USRLIBDIR)/jetpack.scores
-! 	LEVELFILE = $(USRLIBDIR)/jetpack.lev
-  
-  ComplexProgramTarget(jetpack)
-  
-  DependTarget()
-  DependDependency()
-  
-! InstallNonExec(levels/000,$(LEVELFILE)000)
-  
-! # oops, I can't figure how to override the template default to install the
-! # man page as jetpack.1, so I install both and remove the bad one.
-! install.man:: jetpack.man
-! 	$(INSTALL) -c $(INSTMANFLAGS) jetpack.man $(MANDIR)/jetpack.1
-! 	@rm -f $(MANDIR)/jetpack.n
---- 1,53 ----
-! SRCS = bitmap.c bonus.c collision.c demo.c draw.c erase.c events.c\
-  	 gameover.c initx.c main.c maze.c message.c normal.c quitx.c scores.c\
-  	 setinmaze.c setup.c special.c time.c update.c windowx.c
-! OBJS = bitmap.o bonus.o collision.o demo.o draw.o erase.o events.o\
-  	 gameover.o initx.o main.o maze.o message.o normal.o quitx.o scores.o\
-  	 setinmaze.o setup.o special.o time.o update.o windowx.o
-  
-! PROGRAMS = jetpack
-  
-! BINDIR = $(PREFIX)/bin
-! LIBDIR = $(PREFIX)/lib/X11/jetpack
-! MANDIR = $(PREFIX)/man/man6
-! MANSUFFIX = 6
-  
-  # These defines override the template defaults. Trash em if you want to
-  # use the template locations
-! #	LIBDIR = $(DESTDIR)/lib/jetpack
-! #	BINDIR = $(DESTDIR)/bin
-! #	MANPATH = $(DESTDIR)/man
-! #	MANDIR = $(MANSOURCEPATH)1
-! EXTRA_LIBRARIES = $(XLIB)
-  
-  # I like my programs optimized, stripped, and setuid. Do what you like.
-! INSTPGMFLAGS = $(INSTUIDFLAGS) -s
-! CDEBUGFLAGS = -O4
-  
-  # Since my programs are setuid, I make the data files readable only by me.
-! INSTDATFLAGS = -m 0600
-  
-  # These defines are needed by jetpack. Delete the -DBLIT if you don't want
-  # the game to do all the drawing to an offscreen pixmap. (This is good for
-  # machines that don't have hardware blitting -- if you have an xterm or a
-  # graphics workhorse, leave it in, there will be no flicker)
-! #	DEFINES = -DBLIT -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
-! DEFINES = -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
-  
-  # The score file can be any name you like, just make sure the directory
-  # it's supposed to reside in exists, or jetpack will start creating score
-  # files in the directories it is run from. Same for the level files, only
-  # the filename you give here is only a prefix -- the complete filename has
-  # the level number appended to it.
-! SCOREFILE = $(LIBDIR)/jetpack.scores
-! LEVELFILE = $(LIBDIR)/jetpack.lev
-  
-  ComplexProgramTarget(jetpack)
-  
-  DependTarget()
-  DependDependency()
-  
-! install::
-! 	MakeDir($(LIBDIR))
-  
-! InstallNonExec(levels/000,$(LEVELFILE)000)
+--- Imakefile.orig	Sun Mar 29 11:41:25 1992
++++ Imakefile	Tue Oct 10 07:19:09 2000
+@@ -1,54 +1,53 @@
+-	SRCS = bitmap.c bonus.c collision.c demo.c draw.c erase.c events.c\
++SRCS = bitmap.c bonus.c collision.c demo.c draw.c erase.c events.c\
+ 	 gameover.c initx.c main.c maze.c message.c normal.c quitx.c scores.c\
+ 	 setinmaze.c setup.c special.c time.c update.c windowx.c
+-	OBJS = bitmap.o bonus.o collision.o demo.o draw.o erase.o events.o\
++OBJS = bitmap.o bonus.o collision.o demo.o draw.o erase.o events.o\
+ 	 gameover.o initx.o main.o maze.o message.o normal.o quitx.o scores.o\
+ 	 setinmaze.o setup.o special.o time.o update.o windowx.o
+ 
+-	PROGRAMS = jetpack
+-
+-	DESTDIR = /usrd/s/m/meb2
++PROGRAMS = jetpack
+ 
++BINDIR = $(PREFIX)/bin
++LIBDIR = $(PREFIX)/lib/X11/jetpack
++MANDIR = $(PREFIX)/man/man6
++MANSUFFIX = 6
++DOCHTMLDIR= $(PREFIX)/lib/X11/doc/html
+ # These defines override the template defaults. Trash em if you want to
+ # use the template locations
+-	USRLIBDIR = $(DESTDIR)/lib/jetpack
+-	BINDIR = $(DESTDIR)/bin
+-	MANPATH = $(DESTDIR)/man
+-	MANDIR = $(MANSOURCEPATH)1
+-	TOP_INCLUDES =
+-	DEPXLIB =
+-	EXTRA_LIBRARIES = $(XLIB)
++#	LIBDIR = $(DESTDIR)/lib/jetpack
++#	BINDIR = $(DESTDIR)/bin
++#	MANPATH = $(DESTDIR)/man
++#	MANDIR = $(MANSOURCEPATH)1
++EXTRA_LIBRARIES = $(XLIB)
+ 
+ # I like my programs optimized, stripped, and setuid. Do what you like.
+-	INSTPGMFLAGS = $(INSTUIDFLAGS) -s
+-	CDEBUGFLAGS = -O4
++INSTPGMFLAGS = $(INSTUIDFLAGS) -s
++CDEBUGFLAGS = -O4
+ 
+ # Since my programs are setuid, I make the data files readable only by me.
+-	INSTDATFLAGS = -m 0600
++INSTDATFLAGS = -m 0600
+ 
+ # These defines are needed by jetpack. Delete the -DBLIT if you don't want
+ # the game to do all the drawing to an offscreen pixmap. (This is good for
+ # machines that don't have hardware blitting -- if you have an xterm or a
+ # graphics workhorse, leave it in, there will be no flicker)
+-	DEFINES = -DBLIT -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
++#	DEFINES = -DBLIT -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
++DEFINES = -DSCOREPATH=\"$(SCOREFILE)\" -DLEVELPATH=\"$(LEVELFILE)\"
+ 
+ # The score file can be any name you like, just make sure the directory
+ # it's supposed to reside in exists, or jetpack will start creating score
+ # files in the directories it is run from. Same for the level files, only
+ # the filename you give here is only a prefix -- the complete filename has
+ # the level number appended to it.
+-	SCOREFILE = $(USRLIBDIR)/jetpack.scores
+-	LEVELFILE = $(USRLIBDIR)/jetpack.lev
++SCOREFILE = $(LIBDIR)/jetpack.scores
++LEVELFILE = $(LIBDIR)/jetpack.lev
+ 
+ ComplexProgramTarget(jetpack)
+ 
+ DependTarget()
+ DependDependency()
+ 
+-InstallNonExec(levels/000,$(LEVELFILE)000)
++install::
++	MakeDir($(LIBDIR))
+ 
+-# oops, I can't figure how to override the template default to install the
+-# man page as jetpack.1, so I install both and remove the bad one.
+-install.man:: jetpack.man
+-	$(INSTALL) -c $(INSTMANFLAGS) jetpack.man $(MANDIR)/jetpack.1
+-	@rm -f $(MANDIR)/jetpack.n
++InstallNonExec(levels/000,$(LEVELFILE)000)
-- 
cgit v1.2.3