freebsd-ports/games/freedink-data/files/patch-Makefile
Martin Wilke 326f3a4560 Dink Smallwood is an adventure/role-playing game, similar to Zelda,
made by RTsoft. Besides twisted humour, it includes the actual game
editor, allowing players to create hundreds of new adventures called
Dink Modules or D-Mods for short.

This package contains architecture-independent data for the original
game, along with free sound and music replacements.

PR:		ports/127704
Submitted by:	Stephen Hurd <shurd@sasktel.net>
2008-11-25 05:26:42 +00:00

25 lines
1.1 KiB
Text

--- Makefile.orig 2008-09-20 11:55:43.000000000 -0700
+++ Makefile 2008-09-28 14:05:25.000000000 -0700
@@ -13,17 +13,17 @@
# Clean-up:
# Git files:
- find $(DESTDIR)$(DATADIR) -name ".gitignore" -print0 | xargs -0r rm
+ find $(DESTDIR)$(DATADIR)/dink/dink -name ".gitignore" -print0 | xargs -0r rm
# Backup files:
- find $(DESTDIR)$(DATADIR) -name "*~" -print0 | xargs -0r rm
+ find $(DESTDIR)$(DATADIR)/dink/dink -name "*~" -print0 | xargs -0r rm
# Savegames:
- find $(DESTDIR)$(DATADIR) -name "save*.dat" -print0 | xargs -0r rm
+ find $(DESTDIR)$(DATADIR)/dink/dink -name "save*.dat" -print0 | xargs -0r rm
# Cheat^wDebugging tool
rm -f $(DESTDIR)$(DATADIR)/dink/dink/Story/key-67.c
# Tidy permissions
- find $(DESTDIR)$(DATADIR) -type d -print0 | xargs -0r chmod 755
- find $(DESTDIR)$(DATADIR) -type f -print0 | xargs -0r chmod 644
+ find $(DESTDIR)$(DATADIR)/dink/dink -type d -print0 | xargs -0r chmod 755
+ find $(DESTDIR)$(DATADIR)/dink/dink -type f -print0 | xargs -0r chmod 644
# Do this from a fresh Git checkout to avoid packaging temporary files
release: