Index: head/games/tuxpuck/Makefile =================================================================== --- head/games/tuxpuck/Makefile (revision 417681) +++ head/games/tuxpuck/Makefile (revision 417682) @@ -1,45 +1,43 @@ # Created by: Jan Stocker # $FreeBSD$ PORTNAME= tuxpuck PORTVERSION= 0.8.2 -PORTREVISION= 22 +PORTREVISION= 23 CATEGORIES= games MASTER_SITES= http://www.sourcefiles.org/Games/Sports/Miscellaneous/ MAINTAINER= ports@FreeBSD.org COMMENT= Shufflepuck Cafe Clone -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2016-07-04 LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png \ + libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libfreetype.so:print/freetype2 USE_SDL= sdl USES= gmake jpeg ALL_TARGET= ${PORTNAME} MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/${PORTNAME} man/man6/tuxpuck.6.gz post-patch: .for i in intro.c timer.c tuxpuck.c tuxpuck.h video.c @${REINPLACE_CMD} -e \ 's|timer_create|_timer_create|g' ${WRKSRC}/${i} .endfor .for i in data utils @${REINPLACE_CMD} -e \ 's|^CC|#CC| ; \ s|^CFLAGS|#CFLAGS| ; \ s|sdl-config|$$(SDL_CONFIG)|' ${WRKSRC}/${i}/Makefile .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/tuxpuck.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6 .include Index: head/games/tuxpuck/files/patch-Makefile =================================================================== --- head/games/tuxpuck/files/patch-Makefile (revision 417681) +++ head/games/tuxpuck/files/patch-Makefile (revision 417682) @@ -1,27 +1,27 @@ ---- Makefile.orig 2002-11-08 19:50:29.000000000 +0900 -+++ Makefile 2011-08-24 01:44:15.000000000 +0900 +--- Makefile.orig 2002-11-08 10:50:29 UTC ++++ Makefile @@ -1,8 +1,8 @@ # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002 NAME = tuxpuck VERSION = 0.8.2 -CC = gcc -CFLAGS += -D_VERSION=\"$(VERSION)\" -g -Wall +CC ?= gcc +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 -@@ -17,11 +17,11 @@ +@@ -17,11 +17,11 @@ ifdef COMSPEC endif %.o : %.c - $(CC) $(CFLAGS) `sdl-config --cflags` -c -o $@ $< + $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` `libpng-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` `libpng-config --libs` -lm \ -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME) w32icon.o : data/icons/tuxpuck.ico Index: head/games/tuxpuck/files/patch-tuxpuck.c =================================================================== --- head/games/tuxpuck/files/patch-tuxpuck.c (revision 417681) +++ head/games/tuxpuck/files/patch-tuxpuck.c (revision 417682) @@ -1,11 +1,11 @@ ---- tuxpuck.c.orig Thu Apr 25 23:24:18 2002 -+++ tuxpuck.c Thu Apr 25 23:24:39 2002 -@@ -40,7 +40,7 @@ +--- tuxpuck.c.orig 2002-11-08 10:50:29 UTC ++++ tuxpuck.c +@@ -17,7 +17,7 @@ #endif /* externals */ -extern time_t time(time_t *); +#include extern void run_intro(void); extern AIPlayer *tux_create(Pad *, Puck *); extern AIPlayer *arcana_create(Pad *, Puck *);