From owner-freebsd-ports Sat Apr 27 11: 0:47 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8591A37B423 for ; Sat, 27 Apr 2002 11:00:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3RI04t11075; Sat, 27 Apr 2002 11:00:04 -0700 (PDT) (envelope-from gnats) Received: from twoflower.liebende.de (pD9507F21.dip.t-dialin.net [217.80.127.33]) by hub.freebsd.org (Postfix) with ESMTP id 1853E37B405 for ; Sat, 27 Apr 2002 10:59:39 -0700 (PDT) Received: from twoflower.liebende.de (localhost [127.0.0.1]) by twoflower.liebende.de (8.12.3/8.12.3) with ESMTP id g3RHwX1w040087; Sat, 27 Apr 2002 19:58:33 +0200 (CEST) (envelope-from jstocker@twoflower.liebende.de) Received: (from jstocker@localhost) by twoflower.liebende.de (8.12.3/8.12.3/Submit) id g3RHwXKL040086; Sat, 27 Apr 2002 19:58:33 +0200 (MEST) Message-Id: <200204271758.g3RHwXKL040086@twoflower.liebende.de> Date: Sat, 27 Apr 2002 19:58:33 +0200 (MEST) From: Jan.Stocker@t-online.de Reply-To: Jan.Stocker@t-online.de To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jan.Stocker@t-online.de X-Send-Pr-Version: 3.113 Subject: ports/37512: New Port: tuxpuck a Shufflepuck Clone Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37512 >Category: ports >Synopsis: New Port: tuxpuck a Shufflepuck Clone >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Apr 27 11:00:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jan Stocker >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD twoflower 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Apr 22 16:19:32 MEST 2002 jstocker@twoflower:/usr/src/sys/i386/compile/Twoflower50 i386 >Description: A SDL based Shufflepuck Cafe clone. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tuxpuck # tuxpuck/Makefile # tuxpuck/distinfo # tuxpuck/pkg-plist # tuxpuck/pkg-descr # tuxpuck/pkg-comment # tuxpuck/files # tuxpuck/files/patch-Makefile # tuxpuck/files/patch-tuxpuck.c # echo c - tuxpuck mkdir -p tuxpuck > /dev/null 2>&1 echo x - tuxpuck/Makefile sed 's/^X//' >tuxpuck/Makefile << 'END-of-tuxpuck/Makefile' X# New ports collection makefile for: tuxpuck X# Date created: 25 April 2002 X# Whom: Jan Stocker X XPORTNAME= tuxpuck XPORTVERSION= 0.7.109 XCATEGORIES= games XMASTER_SITES= http://www.efd.lth.se/~d00jkr/${PORTNAME}/ X XMAINTAINER= Jan.Stocker@t-online.de X XUSE_GMAKE= yes X XSDL_CONFIG= ${LOCALBASE}/bin/sdl11-config X XMAKE_ENV= SDL_CONFIG="${SDL_CONFIG}" X XLIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 \ X png.5:${PORTSDIR}/graphics/png \ X vorbis.1:${PORTSDIR}/audio/libvorbis X.include X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/tuxpuck ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/man/tuxpuck.6.gz ${MANPREFIX}/man/man6 X X.include END-of-tuxpuck/Makefile echo x - tuxpuck/distinfo sed 's/^X//' >tuxpuck/distinfo << 'END-of-tuxpuck/distinfo' XMD5 (tuxpuck-0.7.109.tar.gz) = 10e06079905acdafd924734cabb44f22 END-of-tuxpuck/distinfo echo x - tuxpuck/pkg-plist sed 's/^X//' >tuxpuck/pkg-plist << 'END-of-tuxpuck/pkg-plist' Xbin/tuxpuck END-of-tuxpuck/pkg-plist echo x - tuxpuck/pkg-descr sed 's/^X//' >tuxpuck/pkg-descr << 'END-of-tuxpuck/pkg-descr' XAnyone remember "Shufflepuck Cafe" for the Amiga/AtariST? X XTuxPuck is a shufflepuck game written in C using SDL. The Xplayer moves a pad around a board and tries to shoot down Xthe puck through the opponents defense. X Xhttp://www.efd.lth.se/~d00jkr/tuxpuck/ END-of-tuxpuck/pkg-descr echo x - tuxpuck/pkg-comment sed 's/^X//' >tuxpuck/pkg-comment << 'END-of-tuxpuck/pkg-comment' XShufflepuck Cafe Clone END-of-tuxpuck/pkg-comment echo c - tuxpuck/files mkdir -p tuxpuck/files > /dev/null 2>&1 echo x - tuxpuck/files/patch-Makefile sed 's/^X//' >tuxpuck/files/patch-Makefile << 'END-of-tuxpuck/files/patch-Makefile' X--- Makefile.orig Thu Apr 25 23:14:27 2002 X+++ Makefile Thu Apr 25 23:25:55 2002 X@@ -1,7 +1,7 @@ X # Makefile for TuxPuck , Copyright Jacob Kroon 2001-2002 X VERSION = 0.7.109 X CC = gcc X-CFLAGS += `sdl-config --cflags` -D_VERSION=\"$(VERSION)\" \ X+CFLAGS += `$(SDL_CONFIG) --cflags` -D_VERSION=\"$(VERSION)\" \ X -g -Wall -Werror X CSOURCES = tuxpuck.c video.c audio.c sprite.c font.c timer.c board.c \ X entity.c glass.c scoreboard.c player.c zoom.c png.c jpg.c \ X@@ -11,6 +11,7 @@ X X ############################################################# X X+ X OBJS=$(CSOURCES:.c=.o) X X %.o : %.c X@@ -18,7 +19,7 @@ X X tuxpuck : $(OBJS) X cd data; $(MAKE) X- $(CC) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng -ljpeg \ X+ $(CC) $(OBJS) data/libdata.a `$(SDL_CONFIG) --libs` -lm -lpng -ljpeg \ X -lz -lvorbisfile -lvorbis -o tuxpuck X X clean : X@@ -55,3 +56,7 @@ X install -d $(DESTDIR)/usr/man/man6 X install -m755 tuxpuck $(DESTDIR)/usr/bin X install -m644 man/tuxpuck.6.gz $(DESTDIR)/usr/man/man6 X+ X+all : tuxpuck X+ X+ END-of-tuxpuck/files/patch-Makefile echo x - tuxpuck/files/patch-tuxpuck.c sed 's/^X//' >tuxpuck/files/patch-tuxpuck.c << 'END-of-tuxpuck/files/patch-tuxpuck.c' X--- tuxpuck.c.orig Thu Apr 25 23:24:18 2002 X+++ tuxpuck.c Thu Apr 25 23:24:39 2002 X@@ -40,7 +40,7 @@ X #endif X X /* externals */ X-extern time_t time(time_t *); X+#include X extern void run_intro(void); X extern AIPlayer *tux_create(Pad *, Puck *); X extern AIPlayer *arcana_create(Pad *, Puck *); END-of-tuxpuck/files/patch-tuxpuck.c exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message