aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-09-02 00:03:13 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-09-02 00:03:13 +0800
commit67835acd04d63f30121dbc7ca2ca213c7be480dc (patch)
tree529dcdcb987bdcfe3a8ed6cfbf7da04d8cb5a311 /games
parentbf28e33050d4f0e6699eaa2c5cf51725d276932a (diff)
downloadfreebsd-ports-gnome-67835acd04d63f30121dbc7ca2ca213c7be480dc.tar.gz
freebsd-ports-gnome-67835acd04d63f30121dbc7ca2ca213c7be480dc.tar.zst
freebsd-ports-gnome-67835acd04d63f30121dbc7ca2ca213c7be480dc.zip
- Update to 1.1.1
- Add .desktop file
Diffstat (limited to 'games')
-rw-r--r--games/quantumminigolf/Makefile10
-rw-r--r--games/quantumminigolf/distinfo6
-rw-r--r--games/quantumminigolf/files/patch-Makefile10
3 files changed, 16 insertions, 10 deletions
diff --git a/games/quantumminigolf/Makefile b/games/quantumminigolf/Makefile
index 27055605f500..e38a168903b0 100644
--- a/games/quantumminigolf/Makefile
+++ b/games/quantumminigolf/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= quantumminigolf
-PORTVERSION= 1.1.0
-PORTREVISION= 2
+PORTVERSION= 1.1.1
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -24,6 +23,13 @@ MAKE_ARGS= CXX=${CXX}
PORTDOCS= README THANKS
+DESKTOP_ENTRIES="Quantum Minigolf" \
+ "A game of minigolf where the ball obeys the laws of quantum mechanics" \
+ "${DATADIR}/gfx/icon.bmp" \
+ "quantumminigolf" \
+ "Game;ArcadeGame;" \
+ false
+
OPTIONS= OCFLAGS "Use optimized compiler flags" on
.include <bsd.port.pre.mk>
diff --git a/games/quantumminigolf/distinfo b/games/quantumminigolf/distinfo
index 1cc569f0d577..2c7592512266 100644
--- a/games/quantumminigolf/distinfo
+++ b/games/quantumminigolf/distinfo
@@ -1,3 +1,3 @@
-MD5 (quantumminigolf-1.1.0.src.tar.gz) = 96689f94b4519bc8487c26c9941bf225
-SHA256 (quantumminigolf-1.1.0.src.tar.gz) = 31cbf1a4a024986b99fe928d0fd95e4e774e127cd4ba285438add7df03f6cc68
-SIZE (quantumminigolf-1.1.0.src.tar.gz) = 465432
+MD5 (quantumminigolf-1.1.1.src.tar.gz) = 3ddf2c619f2191ef05fe505a039fe752
+SHA256 (quantumminigolf-1.1.1.src.tar.gz) = 6372d41a4ea902e34654e6247345980db80916dc09267f9a2d11e608a63b5b99
+SIZE (quantumminigolf-1.1.1.src.tar.gz) = 473231
diff --git a/games/quantumminigolf/files/patch-Makefile b/games/quantumminigolf/files/patch-Makefile
index c3cf7a969770..b526e4bcf4de 100644
--- a/games/quantumminigolf/files/patch-Makefile
+++ b/games/quantumminigolf/files/patch-Makefile
@@ -1,15 +1,15 @@
---- Makefile.orig Mon Aug 6 22:54:58 2007
-+++ Makefile Thu Sep 13 20:51:10 2007
+--- Makefile.orig 2010-07-10 13:45:36.000000000 +0400
++++ Makefile 2010-08-31 19:34:40.000000000 +0400
@@ -7,9 +7,9 @@
SRCDIR = .
- CC = cc
+ CC = c++
-LDFLAGS = -L/usr/lib -L/usr/local/lib -lm -lSDL -lSDL_ttf -lfftw3f
-INCFLAGS = -I/usr/include/SDL
-CFLAGS = -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -malign-double -funroll-all-loops -DLINUX
+LDFLAGS = -L${LOCALBASE}/lib -lm `${SDL_CONFIG} --libs` -lSDL_ttf -lfftw3f
-+INCFLAGS = -I${LOCALBASE}/include -I${LOCALBASE}/include/SDL
-+CXXFLAGS += -Wall -Wno-unused -DLINUX
++INCFLAGS = -I${LOCALBASE}/include `${SDL_CONFIG} --cflags`
++CXXFLAGS += -Wall -Wno-unused -DLINUX
LDSOFLAGS = -Wl
OBJS = quantumminigolf.o Renderer.o ClassicSimulator.o QuantumSimulator.o SoftwareTracker.o Tracker.o TrackSelector.o