ports/67341: [maintainer] games/clanbomber: fix build and update to 1.05

Simon Barner barner at in.tum.de
Sat May 29 15:01:21 UTC 2004


>Number:         67341
>Category:       ports
>Synopsis:       [maintainer] games/clanbomber: fix build and update to 1.05
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 29 08:00:48 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Simon Barner
>Release:        FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD zi025.glhnet.mhn.de 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Sat Apr 17 12:06:11 CEST 2004 toor at zi025.glhnet.mhn.de:/usr/src/sys/i386/compile/KISTE i386

>Description:

This patch updates clanbomber to v. 1.05.
It also marks the port IGNORE if ${DISPLAY} is not defined. This is
necessary in order to avoid bento errors which occur when the clanbomber
binary is run during the build process (in order to build some resource
files).

One of clanlibs "features" is to put the resource generator into the
application binary, and to introduce a dependency for X11 :(

Of course, I could use a hack similiar to that for editors/openoffice, but I
think the port is not worth the effort.

>How-To-Repeat:

>Fix:

--- clanbomber.patch begins here ---
diff -ruN clanbomber.orig/Makefile clanbomber/Makefile
--- clanbomber.orig/Makefile	Sat May 29 14:49:29 2004
+++ clanbomber/Makefile	Sat May 29 15:10:46 2004
@@ -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 @@
 		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 @@
 	@${REINPLACE_CMD} -e 's|/usr/local/share|${PREFIX}/share|g' \
 		${WRKSRC}/clanbomber/ClanBomber.cpp
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN clanbomber.orig/distinfo clanbomber/distinfo
--- clanbomber.orig/distinfo	Sat May 29 14:49:29 2004
+++ clanbomber/distinfo	Sat May 29 14:50:04 2004
@@ -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 -ruN clanbomber.orig/files/patch-aa clanbomber/files/patch-aa
--- clanbomber.orig/files/patch-aa	Sat May 29 14:49:29 2004
+++ clanbomber/files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -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 -ruN clanbomber.orig/pkg-plist clanbomber/pkg-plist
--- clanbomber.orig/pkg-plist	Sat May 29 14:49:29 2004
+++ clanbomber/pkg-plist	Sat May 29 15:01:00 2004
@@ -9,6 +9,7 @@
 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
--- clanbomber.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list