aboutsummaryrefslogtreecommitdiff
path: root/games/defendguin/install_paths.diff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-08-19 16:15:59 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-26 19:07:12 +0700
commit3aa4e9b8902c85a38924df8d2bdc97525d4e873c (patch)
treed717617cf987c20d49f65b56142baf048dcbb5be /games/defendguin/install_paths.diff
parent9c8a8ef30c3d206141211a07fa7b1776312c24dc (diff)
games/defendguin: Updated for version 0.0.13.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/defendguin/install_paths.diff')
-rw-r--r--games/defendguin/install_paths.diff54
1 files changed, 0 insertions, 54 deletions
diff --git a/games/defendguin/install_paths.diff b/games/defendguin/install_paths.diff
deleted file mode 100644
index 98f74388d653..000000000000
--- a/games/defendguin/install_paths.diff
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -Naur defendguin-0.0.12/Makefile defendguin-0.0.12.patched/Makefile
---- defendguin-0.0.12/Makefile 2009-11-05 16:21:34.000000000 -0500
-+++ defendguin-0.0.12.patched/Makefile 2013-06-11 21:46:07.000000000 -0400
-@@ -9,11 +9,12 @@
-
- # User-definable stuff:
-
--CFLAGS=-Wall -O2
-+DESTDIR=
-+COPT=
- #DATA_PREFIX=$(PWD)/data/
--PREFIX=/usr/local
-+PREFIX=/usr
- MAN_PREFIX=$(PREFIX)
--BIN_PREFIX=$(PREFIX)/bin
-+BIN_PREFIX=$(PREFIX)/games
- DATA_PREFIX=$(PREFIX)/share/defendguin/
- JOY=YES
-
-@@ -24,7 +25,7 @@
- SDL_LDFLAGS := $(shell sdl-config --libs) -L/usr/X11R6/lib
- MIXER=-lSDL_mixer
- NOSOUNDFLAG=__SOUND
--CFLAGS=-Wall $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \
-+CFLAGS=-Wall $(COPT) $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -D$(NOSOUNDFLAG) \
- -DJOY_$(JOY)
- SDL_LIB=$(SDL_LDFLAGS) $(MIXER)
-
-@@ -37,14 +38,17 @@
- make defendguin MIXER= NOSOUNDFLAG=NOSOUND
-
- install: defendguin
-- install -d $(DATA_PREFIX)
-- cp -R data/* $(DATA_PREFIX)
-- chmod -R a+rX,g-w,o-w $(DATA_PREFIX)
-- cp defendguin $(BIN_PREFIX)/
-- chmod a+rx,g-w,o-w $(BIN_PREFIX)/defendguin
-- -mkdir -p $(MAN_PREFIX)/man/man6/
-- cp src/defendguin.6 $(MAN_PREFIX)/man/man6/
-- chmod a+rx,g-w,o-w $(MAN_PREFIX)/man/man6/defendguin.6
-+ install -d $(DESTDIR)$(DATA_PREFIX)
-+ install -d $(DESTDIR)$(MAN_PREFIX)/man/man6/
-+ install -d $(DESTDIR)$(BIN_PREFIX)
-+ cp -R data/* $(DESTDIR)$(DATA_PREFIX)
-+ chmod -R a+rX,g-w,o-w $(DESTDIR)$(DATA_PREFIX)
-+ strip defendguin
-+ cp defendguin $(DESTDIR)$(BIN_PREFIX)/
-+ chmod a+rx,g-w,o-w $(DESTDIR)$(BIN_PREFIX)/defendguin
-+ cp src/defendguin.6 $(DESTDIR)$(MAN_PREFIX)/man/man6/
-+ chmod a+rx,g-w,o-w $(DESTDIR)$(MAN_PREFIX)/man/man6/defendguin.6
-+ gzip -9 $(DESTDIR)$(MAN_PREFIX)/man/man6/defendguin.6
-
- uninstall:
- -rm -r $(DATA_PREFIX)