aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-29 19:51:32 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-29 19:51:32 +0000
commit54421110d575e9a2c1a10757de2d3887af5e70c7 (patch)
treed796cf0300bedcad4b696df6aeaec75fb61a3b8f
parent985aa0ef554ad16e79be76d0f1ce21b1f7438fa5 (diff)
downloadports-54421110d575e9a2c1a10757de2d3887af5e70c7.tar.gz
ports-54421110d575e9a2c1a10757de2d3887af5e70c7.zip
Notes
-rw-r--r--games/clanbomber/Makefile11
-rw-r--r--games/clanbomber/distinfo4
-rw-r--r--games/clanbomber/files/patch-aa11
-rw-r--r--games/clanbomber/pkg-plist1
4 files changed, 11 insertions, 16 deletions
diff --git a/games/clanbomber/Makefile b/games/clanbomber/Makefile
index 03922f23142a..cfee1cec3d92 100644
--- a/games/clanbomber/Makefile
+++ b/games/clanbomber/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= clanbomber
-PORTVERSION= 1.02a
-PORTREVISION= 1
+PORTVERSION= 1.05
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -25,6 +24,12 @@ CONFIGURE_ENV= LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
CFLAGS+= -fpermissive
+.include <bsd.port.pre.mk>
+
+.if !defined(DISPLAY)
+IGNORE= needs an X-display to build (binary is used to create resource files)
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/clanbomber/Resources.cpp
@@ -32,4 +37,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g' \
${WRKSRC}/clanbomber/ClanBomber.cpp
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/games/clanbomber/distinfo b/games/clanbomber/distinfo
index c3b449283c38..16029a10b341 100644
--- a/games/clanbomber/distinfo
+++ b/games/clanbomber/distinfo
@@ -1,2 +1,2 @@
-MD5 (clanbomber-1.02a.tar.gz) = 1f0347807ca70b7f9b48dd7972aea8d5
-SIZE (clanbomber-1.02a.tar.gz) = 2086742
+MD5 (clanbomber-1.05.tar.gz) = 7dc7433358f06d81dd4654d32b98a5e0
+SIZE (clanbomber-1.05.tar.gz) = 2066198
diff --git a/games/clanbomber/files/patch-aa b/games/clanbomber/files/patch-aa
deleted file mode 100644
index a214d60768be..000000000000
--- a/games/clanbomber/files/patch-aa
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Fri May 19 12:12:53 2000
-+++ configure Fri May 19 12:13:21 2000
-@@ -779,7 +779,7 @@
-
-
-
--CXXFLAGS="-O6"
-+#CXXFLAGS="-O6"
-
- for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
- do
diff --git a/games/clanbomber/pkg-plist b/games/clanbomber/pkg-plist
index 5d9d1663f4c3..e8939ccc0c45 100644
--- a/games/clanbomber/pkg-plist
+++ b/games/clanbomber/pkg-plist
@@ -9,6 +9,7 @@ share/clanbomber/maps/Blast_Matrix.map
share/clanbomber/maps/Bloody_Ring.map
share/clanbomber/maps/Boiling_Egg.map
share/clanbomber/maps/Bomb_Attack.map
+share/clanbomber/maps/Broken_Heart.map
share/clanbomber/maps/Crammed.map
share/clanbomber/maps/Death_Corridor.map
share/clanbomber/maps/Dilemma.map