Date: Fri, 21 Sep 2007 01:48:18 +0400 (MSD) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/116501: [NEW PORT] games/quantumminigolf: A computer game visualizing quantum mechanics Message-ID: <20070920214818.BAD1040BA@hades.panopticon> Resent-Message-ID: <200709202330.l8KNU5hT059645@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116501 >Category: ports >Synopsis: [NEW PORT] games/quantumminigolf: A computer game visualizing quantum mechanics >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: Thu Sep 20 23:30:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE-p12 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: The game quantum minigolf is nearly the same as the game minigolf - except that the ball obeys the laws of quantum mechanics. Such a ball can be at several places at once. It can diffract around obstacles and interfere with itself. Apart from that, the rules are the same: You can play on various tracks involving various obstacles. You hit the ball with a club and try to kick it into a hole on the other side of the track. WWW: http://quantumminigolf.sourceforge.net >How-To-Repeat: >Fix: --- quantumminigolf-1.1.0.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: # # quantumminigolf # quantumminigolf/Makefile # quantumminigolf/pkg-descr # quantumminigolf/pkg-plist # quantumminigolf/distinfo # quantumminigolf/files # quantumminigolf/files/patch-Makefile # echo c - quantumminigolf mkdir -p quantumminigolf > /dev/null 2>&1 echo x - quantumminigolf/Makefile sed 's/^X//' >quantumminigolf/Makefile << 'END-of-quantumminigolf/Makefile' X# New ports collection makefile for: quantumminigolf X# Date created: 13 Sep 2007 X# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> X# X# $FreeBSD$ X# X XPORTNAME= quantumminigolf XPORTVERSION= 1.1.0 XCATEGORIES= games XMASTER_SITES= SF XDISTNAME= ${PORTNAME}-${PORTVERSION}.src X XMAINTAINER= amdmi3@amdmi3.ru XCOMMENT= A computer game visualizing quantum mechanics X XLIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float X XUSE_GMAKE= yes XUSE_SDL= sdl ttf XMAKE_ARGS= CXX=${CXX} X XPORTDOCS= README THANKS X XOPTIONS= OCFLAGS "Use optimized compiler flags" on X X.include <bsd.port.pre.mk> X X.if !defined(WITHOUT_OCFLAGS) XCXXFLAGS+= -O3 -fomit-frame-pointer -finline-functions -malign-double -funroll-all-loops X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|gfx/|${DATADIR}/&|' ${WRKSRC}/Renderer.cpp X @${REINPLACE_CMD} -e 's|fonts/|${DATADIR}/&|' ${WRKSRC}/Renderer.cpp X @${REINPLACE_CMD} -e 's|tracks/|${DATADIR}/&|' ${WRKSRC}/TrackSelector.cpp X @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/QuantumSimulator.h X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/quantumminigolf ${PREFIX}/bin X ${MKDIR} ${DATADIR}/gfx ${DATADIR}/fonts ${DATADIR}/tracks X ${INSTALL_DATA} ${WRKSRC}/gfx/*.bmp ${DATADIR}/gfx X ${INSTALL_DATA} ${WRKSRC}/fonts/*.ttf ${DATADIR}/fonts X ${INSTALL_DATA} ${WRKSRC}/tracks/*.bmp ${WRKSRC}/tracks/*.cfg \ X ${DATADIR}/tracks X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.post.mk> END-of-quantumminigolf/Makefile echo x - quantumminigolf/pkg-descr sed 's/^X//' >quantumminigolf/pkg-descr << 'END-of-quantumminigolf/pkg-descr' XThe game quantum minigolf is nearly the same as the game minigolf X- except that the ball obeys the laws of quantum mechanics. X XSuch a ball can be at several places at once. It can diffract around Xobstacles and interfere with itself. Apart from that, the rules are Xthe same: You can play on various tracks involving various obstacles. XYou hit the ball with a club and try to kick it into a hole on the Xother side of the track. X XWWW: http://quantumminigolf.sourceforge.net END-of-quantumminigolf/pkg-descr echo x - quantumminigolf/pkg-plist sed 's/^X//' >quantumminigolf/pkg-plist << 'END-of-quantumminigolf/pkg-plist' Xbin/quantumminigolf X%%DATADIR%%/fonts/default.ttf X%%DATADIR%%/gfx/cmap.bmp X%%DATADIR%%/gfx/cmap_mono.bmp X%%DATADIR%%/gfx/icon.bmp X%%DATADIR%%/gfx/lose.bmp X%%DATADIR%%/gfx/win.bmp X%%DATADIR%%/tracks/babinet.bmp X%%DATADIR%%/tracks/babinet_hard.bmp X%%DATADIR%%/tracks/babinet_soft.bmp X%%DATADIR%%/tracks/bragg.bmp X%%DATADIR%%/tracks/bump.bmp X%%DATADIR%%/tracks/bump_hard.bmp X%%DATADIR%%/tracks/bump_soft.bmp X%%DATADIR%%/tracks/crystal.bmp X%%DATADIR%%/tracks/crystal_hard.bmp X%%DATADIR%%/tracks/crystal_soft.bmp X%%DATADIR%%/tracks/doubleslit.bmp X%%DATADIR%%/tracks/doubleslit_hard.bmp X%%DATADIR%%/tracks/doubleslit_soft.bmp X%%DATADIR%%/tracks/empty.bmp X%%DATADIR%%/tracks/empty_hard.bmp X%%DATADIR%%/tracks/empty_soft.bmp X%%DATADIR%%/tracks/hill.bmp X%%DATADIR%%/tracks/hill_hard.bmp X%%DATADIR%%/tracks/hill_soft.bmp X%%DATADIR%%/tracks/stadium.bmp X%%DATADIR%%/tracks/stadium_hard.bmp X%%DATADIR%%/tracks/stadium_soft.bmp X%%DATADIR%%/tracks/tracks.cfg X%%DATADIR%%/tracks/tunnel.bmp X%%DATADIR%%/tracks/tunnel_hard.bmp X%%DATADIR%%/tracks/tunnel_soft.bmp X@dirrm %%DATADIR%%/tracks X@dirrm %%DATADIR%%/gfx X@dirrm %%DATADIR%%/fonts X@dirrm %%DATADIR%% END-of-quantumminigolf/pkg-plist echo x - quantumminigolf/distinfo sed 's/^X//' >quantumminigolf/distinfo << 'END-of-quantumminigolf/distinfo' XMD5 (quantumminigolf-1.1.0.src.tar.gz) = 96689f94b4519bc8487c26c9941bf225 XSHA256 (quantumminigolf-1.1.0.src.tar.gz) = 31cbf1a4a024986b99fe928d0fd95e4e774e127cd4ba285438add7df03f6cc68 XSIZE (quantumminigolf-1.1.0.src.tar.gz) = 465432 END-of-quantumminigolf/distinfo echo c - quantumminigolf/files mkdir -p quantumminigolf/files > /dev/null 2>&1 echo x - quantumminigolf/files/patch-Makefile sed 's/^X//' >quantumminigolf/files/patch-Makefile << 'END-of-quantumminigolf/files/patch-Makefile' X--- Makefile.orig Mon Aug 6 22:54:58 2007 X+++ Makefile Thu Sep 13 20:51:10 2007 X@@ -7,9 +7,9 @@ X SRCDIR = . X X CC = cc X-LDFLAGS = -L/usr/lib -L/usr/local/lib -lm -lSDL -lSDL_ttf -lfftw3f X-INCFLAGS = -I/usr/include/SDL X-CFLAGS = -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -malign-double -funroll-all-loops -DLINUX X+LDFLAGS = -L${LOCALBASE}/lib -lm `${SDL_CONFIG} --libs` -lSDL_ttf -lfftw3f X+INCFLAGS = -I${LOCALBASE}/include -I${LOCALBASE}/include/SDL X+CXXFLAGS += -Wall -Wno-unused -DLINUX X LDSOFLAGS = -Wl X X OBJS = quantumminigolf.o Renderer.o ClassicSimulator.o QuantumSimulator.o SoftwareTracker.o Tracker.o TrackSelector.o X@@ -18,12 +18,12 @@ X # pattern rule to compile object files from C files X # might not work with make programs other than GNU make X %.o : %.cpp Makefile X- $(CC) $(INCFLAGS) $(CFLAGS) -c $< -o $@ X+ $(CXX) $(INCFLAGS) $(CXXFLAGS) -c $< -o $@ X X all: $(EXE) X X $(EXE): $(OBJS) Makefile X- $(CC) -o $(EXE) $(OBJS) $(LDFLAGS) $(CFLAGS) X+ $(CXX) -o $(EXE) $(OBJS) $(LDFLAGS) $(CXXFLAGS) X X .PHONY : clean X clean: END-of-quantumminigolf/files/patch-Makefile exit --- quantumminigolf-1.1.0.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?20070920214818.BAD1040BA>