summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-24 14:32:38 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-24 14:32:38 +0000
commitaf879c4688728051e2d8cd8a7f90513b7236b507 (patch)
tree4970ea3876f20256b1627ffcfd06053bf3c0ff85 /games
parent- Hook up after repocopy from clanlib (diff)
- Update to 1.02a
- Give maintainership to submitter - Make it play with new clanlib ports PR: ports/59964 Submitted by: Simon Barner <barner@in.tum.de>
Notes
Notes: svn path=/head/; revision=98961
Diffstat (limited to 'games')
-rw-r--r--games/clanbomber/Makefile20
-rw-r--r--games/clanbomber/distinfo2
-rw-r--r--games/clanbomber/files/patch-clanbomber::ClanBomber.cpp10
3 files changed, 22 insertions, 10 deletions
diff --git a/games/clanbomber/Makefile b/games/clanbomber/Makefile
index 4255eff72abc..31184f77d51a 100644
--- a/games/clanbomber/Makefile
+++ b/games/clanbomber/Makefile
@@ -6,27 +6,29 @@
#
PORTNAME= clanbomber
-PORTVERSION= 1.01a
-PORTREVISION= 1
+PORTVERSION= 1.02a
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= barner@gmx.de
COMMENT= A bomberman-like multiplayer game
-LIB_DEPENDS= clanCore-0.7.0:${PORTSDIR}/devel/clanlib
+LIB_DEPENDS= clanCore.2:${PORTSDIR}/devel/clanlib
USE_XLIB= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+USE_GMAKE= yes
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
CFLAGS+= -fpermissive
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
+ ${WRKSRC}/clanbomber/Resources.cpp
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
+ @${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g' \
+ ${WRKSRC}/clanbomber/ClanBomber.cpp
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/clanbomber/distinfo b/games/clanbomber/distinfo
index 5d51f694a2ff..6c86002cc956 100644
--- a/games/clanbomber/distinfo
+++ b/games/clanbomber/distinfo
@@ -1 +1 @@
-MD5 (clanbomber-1.01a.tar.gz) = c6811e4b5027ed200358d0710be6c228
+MD5 (clanbomber-1.02a.tar.gz) = 1f0347807ca70b7f9b48dd7972aea8d5
diff --git a/games/clanbomber/files/patch-clanbomber::ClanBomber.cpp b/games/clanbomber/files/patch-clanbomber::ClanBomber.cpp
new file mode 100644
index 000000000000..0b8c39c602a9
--- /dev/null
+++ b/games/clanbomber/files/patch-clanbomber::ClanBomber.cpp
@@ -0,0 +1,10 @@
+--- clanbomber/ClanBomber.cpp.orig Tue Aug 14 22:04:39 2001
++++ clanbomber/ClanBomber.cpp Wed Nov 26 00:01:53 2003
+@@ -593,6 +593,7 @@
+ #ifdef MUSIC
+ if (!wav && Config::get_music())
+ {
++ CL_SetupMikMod::init (0);
+ try
+ {
+ wav = CL_Streamed_MikModSample::create("music/bud.mod", NULL, true);