Date: Tue, 19 Jul 2005 17:33:51 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/83747: [NEW PORT] games/tuxmath - Educational arcade game starring Tux Message-ID: <1121805231.0@phobos.mars.bsd> Resent-Message-ID: <200507192040.j6JKeBcf071786@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83747 >Category: ports >Synopsis: [NEW PORT] games/tuxmath - Educational arcade game starring Tux >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 20:40:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: --- tuxmath.shar begins here --- # 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: # # tuxmath # tuxmath/Makefile # tuxmath/distinfo # tuxmath/pkg-descr # tuxmath/pkg-plist # tuxmath/files # tuxmath/files/patch-Makefile # echo c - tuxmath mkdir -p tuxmath > /dev/null 2>&1 echo x - tuxmath/Makefile sed 's/^X//' >tuxmath/Makefile << 'END-of-tuxmath/Makefile' X# New ports collection makefile for: tuxmath X# Date created: 14 Jul 2005 X# Whom: Alejandro Pulver <alejandro@varnet.biz> X# X# $FreeBSD$ X# X XPORTNAME= tuxmath XDISTVERSION= 2001.09.07-0102 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Educational arcade game starring Tux X XUSE_GMAKE= yes XUSE_SDL= image mixer sdl XUSE_REINPLACE= yes X XWRKSRC= ${WRKDIR}/${PORTNAME} X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on X Xpost-extract: X# Remove CVS and .xvpics directories X.for d in CVS .xvpics X @${FIND} ${WRKSRC} -type d -name ${d} -print0 | \ X ${XARGS} -0 ${RM} -rf X.endfor X Xpost-install: X# Fix permissions X @${CHOWN} -R ${BINOWN}:${BINGRP} ${DATADIR} X @${FIND} ${DATADIR} -type f -print0 | \ X ${XARGS} -0 ${CHMOD} 644 X @${FIND} ${DATADIR} -type d -print0 | \ X ${XARGS} -0 ${CHMOD} 755 X X.include <bsd.port.pre.mk> X Xpost-patch: X# Fix Makefile X @${REINPLACE_CMD} -e 's|\(-O2\)|${CFLAGS} \1| ; \ X s|/usr/share/tuxmath|${DATADIR}| ; \ X s|\(BIN_PREFIX=\).*|\1${PREFIX}/bin/| ; \ X s|sdl-config|${SDL_CONFIG}|' \ X ${WRKSRC}/${MAKEFILE} X X# Enable/disable compilation optimizations X.if !defined(WITH_OPTIMIZED_CFLAGS) X @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/${MAKEFILE} X.endif X X.include <bsd.port.post.mk> END-of-tuxmath/Makefile echo x - tuxmath/distinfo sed 's/^X//' >tuxmath/distinfo << 'END-of-tuxmath/distinfo' XMD5 (tuxmath-2001.09.07-0102.tar.gz) = 435ba5d937106ca8b7da46c1a95a0d8c XSIZE (tuxmath-2001.09.07-0102.tar.gz) = 1339967 END-of-tuxmath/distinfo echo x - tuxmath/pkg-descr sed 's/^X//' >tuxmath/pkg-descr << 'END-of-tuxmath/pkg-descr' X"Tux, of Math Command" ("TuxMath," for short) is an educational arcade game Xstarring Tux, the Linux mascot! X XBased on the classic arcade game "Missile Command," Tux must defend his Xcities. In this case, though, he must do it by solving math problems. X XWWW: http://www.newbreedsoftware.com/tuxmath/ X X- Alejandro Pulver Xalejandro@varnet.biz END-of-tuxmath/pkg-descr echo x - tuxmath/pkg-plist sed 's/^X//' >tuxmath/pkg-plist << 'END-of-tuxmath/pkg-plist' Xbin/tuxmath X%%DATADIR%%/images/alpha.png X%%DATADIR%%/images/backgrounds/0.jpg X%%DATADIR%%/images/backgrounds/1.jpg X%%DATADIR%%/images/backgrounds/2.jpg X%%DATADIR%%/images/backgrounds/3.jpg X%%DATADIR%%/images/backgrounds/4.jpg X%%DATADIR%%/images/cities/cdead-blue.png X%%DATADIR%%/images/cities/cdead-green.png X%%DATADIR%%/images/cities/cdead-orange.png X%%DATADIR%%/images/cities/cdead-red.png X%%DATADIR%%/images/cities/city-blue.png X%%DATADIR%%/images/cities/city-green.png X%%DATADIR%%/images/cities/city-orange.png X%%DATADIR%%/images/cities/city-red.png X%%DATADIR%%/images/cities/csplode-blue-1.png X%%DATADIR%%/images/cities/csplode-blue-2.png X%%DATADIR%%/images/cities/csplode-blue-3.png X%%DATADIR%%/images/cities/csplode-blue-4.png X%%DATADIR%%/images/cities/csplode-blue-5.png X%%DATADIR%%/images/cities/csplode-green-1.png X%%DATADIR%%/images/cities/csplode-green-2.png X%%DATADIR%%/images/cities/csplode-green-3.png X%%DATADIR%%/images/cities/csplode-green-4.png X%%DATADIR%%/images/cities/csplode-green-5.png X%%DATADIR%%/images/cities/csplode-orange-1.png X%%DATADIR%%/images/cities/csplode-orange-2.png X%%DATADIR%%/images/cities/csplode-orange-3.png X%%DATADIR%%/images/cities/csplode-orange-4.png X%%DATADIR%%/images/cities/csplode-orange-5.png X%%DATADIR%%/images/cities/csplode-red-1.png X%%DATADIR%%/images/cities/csplode-red-2.png X%%DATADIR%%/images/cities/csplode-red-3.png X%%DATADIR%%/images/cities/csplode-red-4.png X%%DATADIR%%/images/cities/csplode-red-5.png X%%DATADIR%%/images/cities/shields.png X%%DATADIR%%/images/comets/comet1.png X%%DATADIR%%/images/comets/comet2.png X%%DATADIR%%/images/comets/comet3.png X%%DATADIR%%/images/comets/cometex1.png X%%DATADIR%%/images/comets/cometex2.png X%%DATADIR%%/images/icon.png X%%DATADIR%%/images/options-devel.jpg X%%DATADIR%%/images/status/cmd_credits.png X%%DATADIR%%/images/status/cmd_options.png X%%DATADIR%%/images/status/cmd_play.png X%%DATADIR%%/images/status/cmd_quit.png X%%DATADIR%%/images/status/demo-small.png X%%DATADIR%%/images/status/demo.png X%%DATADIR%%/images/status/gameover.png X%%DATADIR%%/images/status/keypad.png X%%DATADIR%%/images/status/lednums.png X%%DATADIR%%/images/status/loading.png X%%DATADIR%%/images/status/nbs.png X%%DATADIR%%/images/status/numbers.png X%%DATADIR%%/images/status/nums.png X%%DATADIR%%/images/status/paused.png X%%DATADIR%%/images/status/score.png X%%DATADIR%%/images/status/standby.png X%%DATADIR%%/images/status/title.png X%%DATADIR%%/images/status/tux4kids.png X%%DATADIR%%/images/status/tux_helmet1.png X%%DATADIR%%/images/status/tux_helmet2.png X%%DATADIR%%/images/status/tux_helmet3.png X%%DATADIR%%/images/status/wave.png X%%DATADIR%%/images/tux/console.png X%%DATADIR%%/images/tux/tux-console1.png X%%DATADIR%%/images/tux/tux-console2.png X%%DATADIR%%/images/tux/tux-console3.png X%%DATADIR%%/images/tux/tux-console4.png X%%DATADIR%%/images/tux/tux-drat.png X%%DATADIR%%/images/tux/tux-egypt1.png X%%DATADIR%%/images/tux/tux-egypt2.png X%%DATADIR%%/images/tux/tux-fist1.png X%%DATADIR%%/images/tux/tux-fist2.png X%%DATADIR%%/images/tux/tux-kiss1.png X%%DATADIR%%/images/tux/tux-kiss2.png X%%DATADIR%%/images/tux/tux-relax1.png X%%DATADIR%%/images/tux/tux-relax2.png X%%DATADIR%%/images/tux/tux-sit.png X%%DATADIR%%/images/tux/tux-yay1.png X%%DATADIR%%/images/tux/tux-yay2.png X%%DATADIR%%/images/tux/tux-yes1.png X%%DATADIR%%/images/tux/tux-yes2.png X%%DATADIR%%/images/tux/tux-yipe.png X%%DATADIR%%/sounds/alarm.wav X%%DATADIR%%/sounds/buzz.wav X%%DATADIR%%/sounds/click.wav X%%DATADIR%%/sounds/explosion.wav X%%DATADIR%%/sounds/game.mod X%%DATADIR%%/sounds/game2.mod X%%DATADIR%%/sounds/game3.mod X%%DATADIR%%/sounds/laser.wav X%%DATADIR%%/sounds/pop.wav X%%DATADIR%%/sounds/shieldsdown.wav X@dirrm %%DATADIR%%/sounds X@dirrm %%DATADIR%%/images/ufos X@dirrm %%DATADIR%%/images/tux X@dirrm %%DATADIR%%/images/status X@dirrm %%DATADIR%%/images/comets X@dirrm %%DATADIR%%/images/cities X@dirrm %%DATADIR%%/images/backgrounds X@dirrm %%DATADIR%%/images X@dirrm %%DATADIR%% END-of-tuxmath/pkg-plist echo c - tuxmath/files mkdir -p tuxmath/files > /dev/null 2>&1 echo x - tuxmath/files/patch-Makefile sed 's/^X//' >tuxmath/files/patch-Makefile << 'END-of-tuxmath/files/patch-Makefile' X--- Makefile.orig Fri Sep 7 04:40:21 2001 X+++ Makefile Thu Jul 14 19:46:18 2005 X@@ -6,7 +6,7 @@ X # 2001.Aug.26 - 2001.Sep.07 X X X-CFLAGS=-Wall -O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -DDEBUG \ X+CFLAGS=-O2 $(SDL_CFLAGS) -DDATA_PREFIX=\"$(DATA_PREFIX)\" -DDEBUG \ X -DVERSION=\"$(VERSION)\" -D$(SOUND)SOUND X X SDL_CFLAGS=$(shell sdl-config --cflags) X@@ -30,14 +30,10 @@ X X install: X @echo "COPYING BINARY TO $(BIN_PREFIX)" X- cp tuxmath $(BIN_PREFIX) X- chown root.root $(BIN_PREFIX)/tuxmath X- chmod a+rx,g-w,o-w $(BIN_PREFIX)/tuxmath X+ $(BSD_INSTALL_PROGRAM) tuxmath $(BIN_PREFIX) X @echo "COPYING DATA FILES TO $(DATA_PREFIX)" X mkdir -p $(DATA_PREFIX) X cp -r data/* $(DATA_PREFIX) X- chown -R root.root $(DATA_PREFIX) X- chmod -R a+rX,g-w,o-w $(DATA_PREFIX) X X clean: X -rm tuxmath END-of-tuxmath/files/patch-Makefile exit --- tuxmath.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121805231.0>