pkgsrc/games/tileworld/patches/patch-aa
snj 22633dfbb6 Use bl3, update to 1.1.3. Changes:
* Added -a cmdline switch to help improve sound.
* New images for the chip and the socket
* Added -f switch to get fullscreen mode
* Display code rewritten.  Faster all around.
* Miscellaneous other bugfixes
2004-03-10 00:53:37 +00:00

51 lines
1.6 KiB
Text

$NetBSD: patch-aa,v 1.2 2004/03/10 00:53:37 snj Exp $
--- Makefile.in.orig 2002-04-25 07:02:56.000000000 -0700
+++ Makefile.in 2004-03-09 16:45:56.000000000 -0800
@@ -68,14 +68,14 @@ err.o : err.c oshw.h err.h
#
comptime.h:
- echo \#define COMPILE_TIME \"`date '+%Y %b %e %T %Z'`\" > comptime.h
+ ${ECHO} \#define COMPILE_TIME \"`${DATE} '+%Y %b %e %T %Z'`\" > comptime.h
#
# Libraries
#
liboshw.a: oshw.h defs.h gen.h state.h err.h oshw/*.c oshw/*.h
- (cd oshw && make)
+ (cd oshw && ${MAKE})
#
# Resources
@@ -89,17 +89,18 @@ tworldres.o: tworld.ico
#
install: tworld
- cp -i ./tworld $(bindir)/.
- mkdir -p $(sharedir)/sets
- mkdir -p $(sharedir)/data
- mkdir -p $(sharedir)/res
- mkdir -p $(mandir)/man6
- cp -i sets/*.dac $(sharedir)/sets/.
- cp -i data/*.dat $(sharedir)/data/.
- cp -i resources/rc $(sharedir)/res/.
- cp -i resources/*.bmp $(sharedir)/res/.
- cp -i resources/*.wav $(sharedir)/res/.
- cp -i docs/tworld.6 $(mandir)/man6/.
+ ${BSD_INSTALL_PROGRAM} tworld $(bindir)/
+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/sets
+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/data
+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/res
+ ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/
+ ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/
+ ${BSD_INSTALL_DATA} resources/rc resources/*.bmp \
+ resources/*.wav $(sharedir)/res/
+ ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/
+ ${BSD_INSTALL_DATA_DIR} $(prefix)/share/doc/tworld
+ ${BSD_INSTALL_DATA} README $(prefix)/share/doc/tworld/
+ ${BSD_INSTALL_DATA} docs/tworld.html $(prefix)/share/doc/tworld/
clean:
rm -f $(OBJS) tworld mklynxcc comptime.h config.*