aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-09-01 16:03:13 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-09-01 16:03:13 +0000
commit9ab1746220ab97cc2eadceff1a7fed58d1d58f0a (patch)
treecb91c610015811ea1ddbacea674ccd31f6aafae4
parenta1a4b56363753796c17075dc2c9d5bc262e4b742 (diff)
downloadports-9ab1746220ab97cc2eadceff1a7fed58d1d58f0a.tar.gz
ports-9ab1746220ab97cc2eadceff1a7fed58d1d58f0a.zip
- Update to 1.1.1
- Add .desktop file
Notes
Notes: svn path=/head/; revision=260373
-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