summaryrefslogtreecommitdiff
path: root/games/tuxpuck
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-31 14:08:59 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-31 14:08:59 +0000
commitbe501e65e759efdc61a3b36fa077a8de5966aad9 (patch)
tree2f04c7a04fab808ac2f234579ac4839e7e051bce /games/tuxpuck
parentAdd wmfirew 0.20, a dockapp that shows fireworks in action. (diff)
add tuxpuck 0.7.116
Shufflepuck Cafe Clone PR: 37512 Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
Notes
Notes: svn path=/head/; revision=60381
Diffstat (limited to 'games/tuxpuck')
-rw-r--r--games/tuxpuck/Makefile31
-rw-r--r--games/tuxpuck/distinfo1
-rw-r--r--games/tuxpuck/files/patch-Makefile36
-rw-r--r--games/tuxpuck/files/patch-tuxpuck.c11
-rw-r--r--games/tuxpuck/pkg-comment1
-rw-r--r--games/tuxpuck/pkg-descr7
-rw-r--r--games/tuxpuck/pkg-plist1
7 files changed, 88 insertions, 0 deletions
diff --git a/games/tuxpuck/Makefile b/games/tuxpuck/Makefile
new file mode 100644
index 000000000000..20041894a77a
--- /dev/null
+++ b/games/tuxpuck/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# New ports collection makefile for: tuxpuck
+# Date created: 25 April 2002
+# Whom: Jan Stocker <Jan.Stocker@t-online.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tuxpuck
+PORTVERSION= 0.7.116
+CATEGORIES= games
+MASTER_SITES= http://www.efd.lth.se/~d00jkr/tuxpuck/
+
+MAINTAINER= Jan.Stocker@t-online.de
+
+LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
+ png.5:${PORTSDIR}/graphics/png \
+ vorbis.1:${PORTSDIR}/audio/libvorbis
+
+SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
+USE_GMAKE= yes
+MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+
+MANCOMPRESSED= yes
+MAN6= tuxpuck.6
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tuxpuck ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/man/tuxpuck.6.gz ${MANPREFIX}/man/man6
+
+.include <bsd.port.mk>
diff --git a/games/tuxpuck/distinfo b/games/tuxpuck/distinfo
new file mode 100644
index 000000000000..d06766cdeb25
--- /dev/null
+++ b/games/tuxpuck/distinfo
@@ -0,0 +1 @@
+MD5 (tuxpuck-0.7.116.tar.gz) = 6533daf46c4630840c8173e02b43b9f7
diff --git a/games/tuxpuck/files/patch-Makefile b/games/tuxpuck/files/patch-Makefile
new file mode 100644
index 000000000000..816dbfed65a0
--- /dev/null
+++ b/games/tuxpuck/files/patch-Makefile
@@ -0,0 +1,36 @@
+--- Makefile.orig Thu Apr 25 23:14:27 2002
++++ Makefile Thu Apr 25 23:25:55 2002
+@@ -1,7 +1,7 @@
+ # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002
+ VERSION = 0.7.109
+ CC = gcc
+-CFLAGS += `sdl-config --cflags` -D_VERSION=\"$(VERSION)\" \
++CFLAGS += `$(SDL_CONFIG) --cflags` -D_VERSION=\"$(VERSION)\" \
+ -g -Wall -Werror
+ CSOURCES = tuxpuck.c video.c audio.c sprite.c font.c timer.c board.c \
+ entity.c glass.c scoreboard.c player.c zoom.c png.c jpg.c \
+@@ -11,6 +11,7 @@
+
+ #############################################################
+
++
+ OBJS=$(CSOURCES:.c=.o)
+
+ %.o : %.c
+@@ -18,7 +19,7 @@
+
+ tuxpuck : $(OBJS)
+ cd data; $(MAKE)
+- $(CC) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng -ljpeg \
++ $(CC) $(OBJS) data/libdata.a `$(SDL_CONFIG) --libs` -lm -lpng -ljpeg \
+ -lz -lvorbisfile -lvorbis -o tuxpuck
+
+ clean :
+@@ -55,3 +56,7 @@
+ install -d $(DESTDIR)/usr/man/man6
+ install -m755 tuxpuck $(DESTDIR)/usr/bin
+ install -m644 man/tuxpuck.6.gz $(DESTDIR)/usr/man/man6
++
++all : tuxpuck
++
++
diff --git a/games/tuxpuck/files/patch-tuxpuck.c b/games/tuxpuck/files/patch-tuxpuck.c
new file mode 100644
index 000000000000..ca26c8ca23b0
--- /dev/null
+++ b/games/tuxpuck/files/patch-tuxpuck.c
@@ -0,0 +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 @@
+ #endif
+
+ /* externals */
+-extern time_t time(time_t *);
++#include <time.h>
+ extern void run_intro(void);
+ extern AIPlayer *tux_create(Pad *, Puck *);
+ extern AIPlayer *arcana_create(Pad *, Puck *);
diff --git a/games/tuxpuck/pkg-comment b/games/tuxpuck/pkg-comment
new file mode 100644
index 000000000000..d5ee69ba6a97
--- /dev/null
+++ b/games/tuxpuck/pkg-comment
@@ -0,0 +1 @@
+Shufflepuck Cafe Clone
diff --git a/games/tuxpuck/pkg-descr b/games/tuxpuck/pkg-descr
new file mode 100644
index 000000000000..4cf4b75fdf28
--- /dev/null
+++ b/games/tuxpuck/pkg-descr
@@ -0,0 +1,7 @@
+Anyone remember "Shufflepuck Cafe" for the Amiga/AtariST?
+
+TuxPuck is a shufflepuck game written in C using SDL. The
+player moves a pad around a board and tries to shoot down
+the puck through the opponents defense.
+
+WWW: http://www.efd.lth.se/~d00jkr/tuxpuck/
diff --git a/games/tuxpuck/pkg-plist b/games/tuxpuck/pkg-plist
new file mode 100644
index 000000000000..ee473a0a1cd6
--- /dev/null
+++ b/games/tuxpuck/pkg-plist
@@ -0,0 +1 @@
+bin/tuxpuck