summaryrefslogtreecommitdiffstats
path: root/games/tuxpuck
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-01-02 16:44:28 +0000
committerpetef <petef@FreeBSD.org>2003-01-02 16:44:28 +0000
commite1ee261a38fb071d841451b2283b3dd236b002aa (patch)
treedcd0fb8a0fb085650c4cc18be5bd1ef16941a128 /games/tuxpuck
parent81211949d630b6d94b736410556fd877276ae454 (diff)
downloadFreeBSD-ports-e1ee261a38fb071d841451b2283b3dd236b002aa.zip
FreeBSD-ports-e1ee261a38fb071d841451b2283b3dd236b002aa.tar.gz
Update to 0.8.2.
PR: 46524 Submitted by: maintainer
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 dd863b5..7838e25 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 5af5324..4bfac82 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 ee98b86..b92ed5e 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 dbda89c..7e2754f 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
OpenPOWER on IntegriCloud