aboutsummaryrefslogtreecommitdiff
path: root/games/tuxpuck
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-01-02 16:44:28 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-01-02 16:44:28 +0000
commit8278ced886f6b412519263ab5a852ff8a225b784 (patch)
tree00ceeea9b5e54cc00f9f4e1931f24445d1f33b6d /games/tuxpuck
parent37d195a89c752036639b3befbc9bb925cbd373fa (diff)
downloadports-8278ced886f6b412519263ab5a852ff8a225b784.tar.gz
ports-8278ced886f6b412519263ab5a852ff8a225b784.zip
Notes
Diffstat (limited to 'games/tuxpuck')
-rw-r--r--games/tuxpuck/Makefile2
-rw-r--r--games/tuxpuck/distinfo2
-rw-r--r--games/tuxpuck/files/patch-Makefile29
-rw-r--r--games/tuxpuck/files/patch-utils::Makefile12
4 files changed, 19 insertions, 26 deletions
diff --git a/games/tuxpuck/Makefile b/games/tuxpuck/Makefile
index dd863b59eb4d..7838e254be28 100644
--- a/games/tuxpuck/Makefile
+++ b/games/tuxpuck/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= tuxpuck
-PORTVERSION= 0.8.1
+PORTVERSION= 0.8.2
CATEGORIES= games
MASTER_SITES= http://www.efd.lth.se/~d00jkr/tuxpuck/
diff --git a/games/tuxpuck/distinfo b/games/tuxpuck/distinfo
index 5af5324a3804..4bfac82ca08a 100644
--- a/games/tuxpuck/distinfo
+++ b/games/tuxpuck/distinfo
@@ -1 +1 @@
-MD5 (tuxpuck-0.8.1.tar.gz) = f9343dd08d10e90c81815f3037a13489
+MD5 (tuxpuck-0.8.2.tar.gz) = fc839abc2b1f3eafae397e1ed6487079
diff --git a/games/tuxpuck/files/patch-Makefile b/games/tuxpuck/files/patch-Makefile
index ee98b8680483..b92ed5e6feb4 100644
--- a/games/tuxpuck/files/patch-Makefile
+++ b/games/tuxpuck/files/patch-Makefile
@@ -1,23 +1,16 @@
---- Makefile.orig Tue Oct 15 13:48:06 2002
-+++ Makefile Wed Oct 30 13:01:37 2002
-@@ -1,8 +1,8 @@
- # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
- VERSION = 0.8.1
--CC = gcc
--CFLAGS += `sdl-config --cflags` -D_VERSION=\"$(VERSION)\" \
-- -g -Wall
-+CC ?= gcc
-+CFLAGS += `$(SDL_CONFIG) --cflags` -D_VERSION=\"$(VERSION)\" \
-+ -Wall
- CSOURCES = tuxpuck.c video.c audio.c menu.c sprite.c font.c timer.c \
- board.c entity.c glass.c scoreboard.c player.c zoom.c png.c \
- jpg.c intro.c tux.c arcana.c
-@@ -18,7 +18,7 @@
+--- Makefile.orig Fri Nov 8 11:50:29 2002
++++ Makefile Wed Dec 25 15:38:45 2002
+@@ -17,11 +17,11 @@
+ endif
- tuxpuck : $(OBJS)
+ %.o : %.c
+- $(CC) $(CFLAGS) `sdl-config --cflags` -c -o $@ $<
++ $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` -c -o $@ $<
+
+ $(NAME) : $(OBJS)
cd data; $(MAKE)
- $(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
+ $(CC) $(CFLAGS) $(OBJS) data/libdata.a `$(SDL_CONFIG) --libs` -lm -lpng \
- -ljpeg -lz -lvorbisfile -lvorbis -logg -o tuxpuck
+ -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME)
- clean :
+ w32icon.o : data/icons/tuxpuck.ico
diff --git a/games/tuxpuck/files/patch-utils::Makefile b/games/tuxpuck/files/patch-utils::Makefile
index dbda89caa892..7e2754fd012e 100644
--- a/games/tuxpuck/files/patch-utils::Makefile
+++ b/games/tuxpuck/files/patch-utils::Makefile
@@ -1,15 +1,15 @@
---- utils/Makefile.orig Tue Oct 15 13:48:06 2002
-+++ utils/Makefile Wed Oct 30 13:06:42 2002
+--- utils/Makefile.orig Fri Nov 8 11:50:29 2002
++++ utils/Makefile Wed Dec 25 15:41:44 2002
@@ -9,10 +9,10 @@
$(CC) $(CFLAGS) ttf2font.c `freetype-config --cflags --libs` -o ttf2font
data2c : data2c.c
-- $(CC) $(CFLAGS) data2c.c `sdl-config --cflags` -o data2c
-+ $(CC) $(CFLAGS) data2c.c `$(SDL_CONFIG) --cflags` -o data2c
+- $(CC) $(CFLAGS) data2c.c `sdl-config --cflags --libs` -o data2c
++ $(CC) $(CFLAGS) data2c.c `$(SDL_CONFIG) --cflags --libs` -o data2c
anim : anim.c
-- $(CC) $(CFLAGS) anim.c `sdl-config --cflags` -o anim
-+ $(CC) $(CFLAGS) anim.c `$(SDL_CONFIG) --cflags` -o anim
+- $(CC) $(CFLAGS) anim.c `sdl-config --cflags --libs` -o anim
++ $(CC) $(CFLAGS) anim.c `$(SDL_CONFIG) --cflags --libs` -o anim
clean :
rm -f *~ data2c ttf2font anim