diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-01-10 11:14:46 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-01-10 11:14:46 +0000 |
commit | ee2d77ff31148d6267e672187b801b9ad56f3691 (patch) | |
tree | 0fb11d2e7698a5a2174f00c79cf89c10a7f2b350 /games/tornado/files/patch-aa | |
parent | Move java/kaffe-devel to java/kaffe (diff) |
Update port: graphics/ayam remove stale dependency
Removed stale dependency on devel/log4cpp port.
Noticed by: Randolf Schultz rschultz at informatik.uni-rostock.de
PR: ports/76001
Submitted by: Igor Pokrovsky <ip@doom.homeunix.org>
Notes
Notes:
svn path=/head/; revision=126043
Diffstat (limited to 'games/tornado/files/patch-aa')
-rw-r--r-- | games/tornado/files/patch-aa | 56 |
1 files changed, 10 insertions, 46 deletions
diff --git a/games/tornado/files/patch-aa b/games/tornado/files/patch-aa index be474bc594e1..b6410577fe85 100644 --- a/games/tornado/files/patch-aa +++ b/games/tornado/files/patch-aa @@ -1,6 +1,5 @@ -diff -ur ../tornado-1.2.orig/Makefile ./Makefile ---- ../tornado-1.2.orig/Makefile Thu Nov 7 12:45:59 2002 -+++ ./Makefile Mon Apr 21 14:06:38 2003 +--- ../tornado-1.3.orig/Makefile Thu Nov 20 08:26:22 2003 ++++ Makefile Sun Jan 9 14:21:24 2005 @@ -1,10 +1,9 @@ CC = gcc -MAKE = make @@ -13,7 +12,7 @@ diff -ur ../tornado-1.2.orig/Makefile ./Makefile -CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" +LOCALEPATH = ${PREFIX}/share/locale +CFLAGS += -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" -I/usr/local/include - VERSION = `echo VERSION | cpp -P -include version.h | tr -d '" ' | grep -v '^$$'` + VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` LOCALES = de MAN = doc/man @@ -50,17 +49,17 @@ @@ -26,54 +25,19 @@ diff -ur ../tornado-1.2.orig/Makefile ./Makefile - cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ - mv -f score.tmp /var/games/tornado.scores; \ - chmod a+rw-x "/var/games/tornado.scores"; \ -+ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ -+ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ -+ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ ++ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ ++ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ ++ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ else \ - if [ ! -d "/var/games" ]; then \ - mkdir /var/games; \ -+ if [ ! -d "${PREFIX}/share/games" ]; then \ -+ mkdir ${PREFIX}/share/games; \ ++ if [ ! -d "${PREFIX}/share/games" ]; then \ ++ mkdir ${PREFIX}/share/games; \ fi; \ - install tornado.scores /var/games; \ - chmod a+w-x "/var/games/tornado.scores"; \ -+ install tornado.scores ${PREFIX}/share/games/; \ -+ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ ++ install tornado.scores ${PREFIX}/share/games; \ ++ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ fi install-locale-data: -@@ -68,7 +67,7 @@ - - uninstall: - rm -f $(PREFIX)/bin/tornado -- rm -f /var/games/tornado.scores -+ rm -f ${PREFIX}/share/games/tornado.scores - $(MAKE) -C $(MAN) uninstall - $(MAKE) -C po uninstall - -@@ -84,17 +83,17 @@ - fi - install -m 0644 tornado.6 $(PREFIX)/man/man6 - -- if [ -f "/var/games/tornado.scores" ]; then \ -+ if [ -f "${PREFIX}/share/games/tornado.scores" ]; then \ - echo "Skipping install of the highscores file. File exists."; \ -- cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \ -- mv -f score.tmp /var/games/tornado.scores; \ -- chmod a+rw-x "/var/games/tornado.scores"; \ -+ cat ${PREFIX}/share/games/tornado.scores | ./convert-highscorefile > score.tmp; \ -+ mv -f score.tmp ${PREFIX}/share/games/tornado.scores; \ -+ chmod a+rw-x "${PREFIX}/share/games/tornado.scores"; \ - else \ -- if [ ! -d "/var/games" ]; then \ -- mkdir /var/games; \ -+ if [ ! -d "${PREFIX}/share/games" ]; then \ -+ mkdir ${PREFIX}/share/games; \ - fi; \ -- install tornado.scores /var/games; \ -- chmod a+w-x "/var/games/tornado.scores"; \ -+ install tornado.scores ${PREFIX}/share/games; \ -+ chmod a+w-x "${PREFIX}/share/games/tornado.scores"; \ - fi - - dist: clean |