summaryrefslogtreecommitdiffstats
path: root/games/hex-a-hop
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2006-09-20 11:21:59 +0000
committerstas <stas@FreeBSD.org>2006-09-20 11:21:59 +0000
commit690719e4d56669840ac4b9264f949634ed10d1c1 (patch)
treef8a62d437d458241263339bd8d7a8582056207da /games/hex-a-hop
parent5cbdf409c7db9b9d115b500f9084c97595f61719 (diff)
downloadFreeBSD-ports-690719e4d56669840ac4b9264f949634ed10d1c1.zip
FreeBSD-ports-690719e4d56669840ac4b9264f949634ed10d1c1.tar.gz
- Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
Diffstat (limited to 'games/hex-a-hop')
-rw-r--r--games/hex-a-hop/Makefile1
-rw-r--r--games/hex-a-hop/files/patch-Makefile.FreeBSD19
-rw-r--r--games/hex-a-hop/files/patch-state.h11
3 files changed, 31 insertions, 0 deletions
diff --git a/games/hex-a-hop/Makefile b/games/hex-a-hop/Makefile
index a8549a8..7b0430a 100644
--- a/games/hex-a-hop/Makefile
+++ b/games/hex-a-hop/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hex-a-hop
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://ftp.bishopston.net/freebsd/distfiles/ \
ftp://ftp.bishopston.net/freebsd/distfiles/ \
diff --git a/games/hex-a-hop/files/patch-Makefile.FreeBSD b/games/hex-a-hop/files/patch-Makefile.FreeBSD
new file mode 100644
index 0000000..e3dd561
--- /dev/null
+++ b/games/hex-a-hop/files/patch-Makefile.FreeBSD
@@ -0,0 +1,19 @@
+--- Makefile.FreeBSD.orig Tue Sep 12 17:28:37 2006
++++ Makefile.FreeBSD Tue Sep 12 17:28:53 2006
+@@ -11,13 +11,13 @@
+ .endif
+
+ hex-a-hop: gfx.o hex_puzzzle.o
+- $(CXX) $(CXXFLAGS) gfx.o hex_puzzzle.o `sdl11-config --libs` -lm -o hex-a-hop
++ $(CXX) $(CXXFLAGS) gfx.o hex_puzzzle.o `sdl-config --libs` -lm -o hex-a-hop
+
+ gfx.o: gfx.cpp state.h
+- $(CC) $(CXXFLAGS) `sdl11-config --cflags` -c -o $@ $<
++ $(CC) $(CXXFLAGS) `sdl-config --cflags` -c -o $@ $<
+
+ hex_puzzzle.o: hex_puzzzle.cpp *.h
+- $(CC) $(CXXFLAGS) `sdl11-config --cflags` -c -o $@ $<
++ $(CC) $(CXXFLAGS) `sdl-config --cflags` -c -o $@ $<
+
+ clean :
+ rm -f gfx.o hex_puzzzle.o hex-a-hop
diff --git a/games/hex-a-hop/files/patch-state.h b/games/hex-a-hop/files/patch-state.h
new file mode 100644
index 0000000..bf81412
--- /dev/null
+++ b/games/hex-a-hop/files/patch-state.h
@@ -0,0 +1,11 @@
+--- state.h.orig Tue Sep 12 17:30:34 2006
++++ state.h Tue Sep 12 17:30:40 2006
+@@ -22,7 +22,7 @@
+
+ // LINUX: SDL/
+ #ifdef __FreeBSD__
+-#include <SDL11/SDL.h>
++#include <SDL/SDL.h>
+ #else
+ #include <SDL/SDL.h>
+ #endif
OpenPOWER on IntegriCloud