diff options
author | crees <crees@FreeBSD.org> | 2011-08-13 22:58:57 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2011-08-13 22:58:57 +0800 |
commit | 66b2b241b4cc9275a627f4cd390d80a379910cd3 (patch) | |
tree | 76f296a3468343e87b38021c0fd7cca1bf357b8a /games | |
parent | 69199ee222ce0d21bbf0d6c4b74929897690f63e (diff) | |
download | freebsd-ports-graphics-66b2b241b4cc9275a627f4cd390d80a379910cd3.tar.gz freebsd-ports-graphics-66b2b241b4cc9275a627f4cd390d80a379910cd3.tar.zst freebsd-ports-graphics-66b2b241b4cc9275a627f4cd390d80a379910cd3.zip |
Update to 1.4.0
PR: ports/159590
Submitted by: Jesse <jessefrgsmith@yahoo.ca> (maintainer)
Diffstat (limited to 'games')
-rw-r--r-- | games/searchandrescue/Makefile | 2 | ||||
-rw-r--r-- | games/searchandrescue/distinfo | 4 | ||||
-rw-r--r-- | games/searchandrescue/files/patch-sar__Makefile | 26 | ||||
-rw-r--r-- | games/searchandrescue/files/patch-sar__config.h | 12 |
4 files changed, 28 insertions, 16 deletions
diff --git a/games/searchandrescue/Makefile b/games/searchandrescue/Makefile index 364e57537b1..ad8215ab26f 100644 --- a/games/searchandrescue/Makefile +++ b/games/searchandrescue/Makefile @@ -6,7 +6,7 @@ # PORTNAME= SearchAndRescue -PORTVERSION= 1.3.0 +PORTVERSION= 1.4.0 CATEGORIES= games MASTER_SITES= SF/${PORTNAME:L}/Program/ diff --git a/games/searchandrescue/distinfo b/games/searchandrescue/distinfo index 8a0e919d3ea..38a2967646a 100644 --- a/games/searchandrescue/distinfo +++ b/games/searchandrescue/distinfo @@ -1,2 +1,2 @@ -SHA256 (SearchAndRescue-1.3.0.tar.gz) = 260a3962e0bccb2822a809707acecdfdec4061053a20ad67a33bbda60ca2e13c -SIZE (SearchAndRescue-1.3.0.tar.gz) = 1472727 +SHA256 (SearchAndRescue-1.4.0.tar.gz) = 30837d0c5019b646f506c284c1adc01e5334e7befc145a00e64f0e7f21642757 +SIZE (SearchAndRescue-1.4.0.tar.gz) = 1473062 diff --git a/games/searchandrescue/files/patch-sar__Makefile b/games/searchandrescue/files/patch-sar__Makefile index cf2767c625c..03db42ecd72 100644 --- a/games/searchandrescue/files/patch-sar__Makefile +++ b/games/searchandrescue/files/patch-sar__Makefile @@ -1,27 +1,39 @@ ---- ./sar/Makefile.orig 2011-04-01 15:29:49.000000000 -0300 -+++ ./sar/Makefile 2011-05-02 13:43:50.000000000 -0300 -@@ -1,12 +1,12 @@ + +$FreeBSD$ + +--- ./sar/Makefile.orig 2011-08-07 16:06:58.000000000 -0300 ++++ ./sar/Makefile 2011-08-11 20:36:24.000000000 -0300 +@@ -1,18 +1,18 @@ # Platform Configurator generated Makefile # -PREFIX = $(DESTDIR)/usr/ +PREFIX = %%PREFIX%% --CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -D__USE_BSD -DHAVE_SDL_MIXER -Wno-write-strings -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE -DNEW_GRAPHICS #-DOLD_GRAPHICS -+CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math -D__USE_BSD -DUSE_XSHM -DHAVE_MWMUTIL_H -DUSE_LIBXPM -DHAVE_XF86_VIDMOD -DHAVE_SDL_MIXER -DNEW_GRAPHICS -I/usr/local/include #-DOLD_GRAPHICS +-CFLAGS = -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -D__USE_BSD -DHAVE_SDL_MIXER -Wno-write-strings -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -DHAVE_XF86_VIDMODE ++CFLAGS = -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math -D__USE_BSD -DUSE_XSHM -DHAVE_MWMUTIL_H -DUSE_LIBXPM -DHAVE_XF86_VIDMOD -DHAVE_SDL_MIXER -DNEW_GRAPHICS -I/usr/local/include #-DOLD_GRAPHICS INC_DIRS = -LIBS = -lm -lSDL -lSDL_mixer -lSM -lICE -lX11 -lXext -lXmu -lXpm -lXxf86vm -lGL -lGLU -lpthread +LIBS = -lm -lSM -lICE -lX11 -lXext -lXmu -lXpm -lXxf86vm -lGL -lGLU -lSDL -lSDL_mixer - LIB_DIRS = -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ +-LIB_DIRS = -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ -L/usr/X11R6/lib/ ++LIB_DIRS = -L/usr/local/lib/ -L/usr/local/lib/ -L/usr/local/lib/ +-CC = gcc ++CC = cc + +-CPP = g++ ++CPP = c++ + + # Appended stuff starts here + # @@ -39,7 +39,7 @@ # Programs LS = ls -LSFLAGS = -s -h -c --color=auto -+LSFLAGS = -s -h -c ++LSFLAGS = -s -h -c RM = rm RMFLAGS = -f diff --git a/games/searchandrescue/files/patch-sar__config.h b/games/searchandrescue/files/patch-sar__config.h index d27c4514e4a..e71cbc4fe17 100644 --- a/games/searchandrescue/files/patch-sar__config.h +++ b/games/searchandrescue/files/patch-sar__config.h @@ -1,20 +1,20 @@ ---- ./sar/config.h.orig 2010-06-03 02:05:00.000000000 +0400 -+++ ./sar/config.h 2010-07-22 23:21:05.772021076 +0400 -@@ -477,7 +477,7 @@ +--- ./sar/config.h.orig 2011-04-03 16:12:49.000000000 -0300 ++++ ./sar/config.h 2011-08-11 20:34:05.000000000 -0300 +@@ -493,7 +493,7 @@ #define SAR_DEF_LOCAL_DATA_DIR ".SearchAndRescue" /* Global game dir */ -#define SAR_DEF_GLOBAL_DATA_DIR "/usr/share/games/searchandrescue" -+#define SAR_DEF_GLOBAL_DATA_DIR "%%LOCALBASE%%/share/searchandrescue" ++#define SAR_DEF_GLOBAL_DATA_DIR "/usr/local/share/searchandrescue" /* Subdirs, one of each in the local and global game dirs */ #define SAR_DEF_AIRCRAFTS_DIR "aircrafts" -@@ -539,7 +539,7 @@ +@@ -555,7 +555,7 @@ #ifdef __MSW__ # define SAR_DEF_SAR_ICON_FILE "SearchAndRescue.ico" #else -# define SAR_DEF_SAR_ICON_FILE "/usr/share/pixmaps/SearchAndRescue.xpm" -+# define SAR_DEF_SAR_ICON_FILE "%%PREFIX%%/share/pixmaps/SearchAndRescue.xpm" ++# define SAR_DEF_SAR_ICON_FILE "/usr/local/share/pixmaps/SearchAndRescue.xpm" #endif /* Standard Texture Reference Names |