Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 22:45:23 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59331: Update port: games/crossfire-client to 1.6.0
Message-ID:  <20031116224523.6c9bb70c.tkato@prontomail.com>
Resent-Message-ID: <200311161350.hAGDoGtM059546@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59331
>Category:       ports
>Synopsis:       Update port: games/crossfire-client to 1.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 16 05:50:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.6.0

New file:
files/patch-configure

Remove file:
files/patch-configure.in

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/crossfire-client/Makefile games/crossfire-client/Makefile
--- /usr/ports/games/crossfire-client/Makefile	Wed May  7 20:36:13 2003
+++ games/crossfire-client/Makefile	Thu Nov 13 02:58:18 2003
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	crossfire-client
-PORTVERSION=	1.5.0
+PORTVERSION=	1.6.0
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		ftp://ftp.ifi.uio.no/pub/crossfire/ \
 		ftp://ftp.real-time.com/pub/games/crossfire/
 MASTER_SITE_SUBDIR=	${PORTNAME:S/-client//}
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
-		${PORTNAME}-images-${PORTVERSION}${EXTRACT_SUFX} \
+		${PORTNAME}-images-1.5.0${EXTRACT_SUFX} \
 		${PORTNAME}-sounds-1.4.0${EXTRACT_SUFX}
 
 MAINTAINER=	ports@FreeBSD.org
@@ -22,23 +22,31 @@
 USE_X_PREFIX=	yes
 USE_PERL5=	yes
 USE_XPM=	yes
-USE_GNOME=	gtk12
+WANT_GNOME=	yes
+USE_GNOME=	gnometarget
 USE_GMAKE=	yes
-USE_AUTOCONF_VER=	253
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
 CONFIGURE_ARGS=	--with-sound-dir=${DATADIR}/sounds \
 		--disable-gnome # Gnome client currently broken
 
-MAN1=		cfclient.1 gcfclient.1
+MAN1=		cfclient.1
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgtk12}!=""
+USE_GNOME+=	gtk12
+MAN1=		gcfclient.1
+.else
+CONFIGURE_ARGS+=	--disable-gtk
+.endif
 
 .if defined(WITHOUT_SDL)
 CONFIGURE_ARGS+=	--disable-sdl
 .else
 LIB_DEPENDS+=	SDL_image.10:${PORTSDIR}/graphics/sdl_image
-SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
-CONFIGURE_ENV+=	SDL_CONFIG="${SDL_CONFIG}"
+USE_SDL=	yes
 .endif
 
 post-install:
@@ -50,4 +58,4 @@
 	${INSTALL_DATA} ${WRKDIR}/sounds/README ${DATADIR}/sounds
 	${INSTALL_DATA} ${WRKDIR}/sounds/*.raw ${DATADIR}/sounds
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/games/crossfire-client/distinfo games/crossfire-client/distinfo
--- /usr/ports/games/crossfire-client/distinfo	Wed May  7 20:36:13 2003
+++ games/crossfire-client/distinfo	Thu Nov 13 02:35:42 2003
@@ -1,3 +1,3 @@
-MD5 (crossfire-client-1.5.0.tar.gz) = 8f7e09f18cdbfbf45aea2fc06a6472cb
+MD5 (crossfire-client-1.6.0.tar.gz) = 90f46a9f74ab0d2b82ccfb2812e5d6cf
 MD5 (crossfire-client-images-1.5.0.tar.gz) = 63cbfb00ff8000f2567880b72c8162bd
 MD5 (crossfire-client-sounds-1.4.0.tar.gz) = 1b33401d9d2af0d391fee7ad04282cfd
diff -urN /usr/ports/games/crossfire-client/files/patch-configure games/crossfire-client/files/patch-configure
--- /usr/ports/games/crossfire-client/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ games/crossfire-client/files/patch-configure	Thu Nov 13 02:44:23 2003
@@ -0,0 +1,11 @@
+--- configure.dist	Fri Oct 10 15:32:37 2003
++++ configure	Thu Nov 13 02:44:11 2003
+@@ -7810,6 +7810,8 @@
+ 
+   rm -f conf.sdltest
+ 
++  CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
++  LIBS="$LIBS $SDL_LIBS"
+   if eval "test x$no_sdl = x"; then
+       echo "$as_me:$LINENO: checking for IMG_LoadPNG_RW in -lSDL_image" >&5
+ echo $ECHO_N "checking for IMG_LoadPNG_RW in -lSDL_image... $ECHO_C" >&6
diff -urN /usr/ports/games/crossfire-client/files/patch-configure.in games/crossfire-client/files/patch-configure.in
--- /usr/ports/games/crossfire-client/files/patch-configure.in	Tue Jul 16 06:27:28 2002
+++ games/crossfire-client/files/patch-configure.in	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- configure.in.orig	Tue Jul  2 08:52:54 2002
-+++ configure.in	Sat Jul 13 04:10:47 2002
-@@ -226,6 +226,8 @@
- dnl so I'll just assume it is in the same dir as SDL
- if eval "test x$use_sdl = xyes"; then
-   AM_PATH_SDL(1.1.3)
-+  CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
-+  LIBS="$LIBS $SDL_LIBS"
-   if eval "test x$no_sdl = x"; then
-       AC_CHECK_LIB( SDL_image, IMG_LoadPNG_RW, 
-                     have_sdlimage="yes", have_sdlimage="no", $SDL_CFLAGS) 
diff -urN /usr/ports/games/crossfire-client/pkg-plist games/crossfire-client/pkg-plist
--- /usr/ports/games/crossfire-client/pkg-plist	Tue Sep 10 20:10:46 2002
+++ games/crossfire-client/pkg-plist	Thu Nov 13 02:57:45 2003
@@ -1,38 +1,38 @@
 bin/cfclient
 bin/cfsndserv
-bin/gcfclient
-share/crossfire-client/bmaps.client
-share/crossfire-client/crossfire.base
-share/crossfire-client/crossfire.clsc
-share/crossfire-client/sounds/Creaky-1.raw
-share/crossfire-client/sounds/Evil_Laugh.raw
-share/crossfire-client/sounds/Explosion.raw
-share/crossfire-client/sounds/FloorTom.raw
-share/crossfire-client/sounds/Gun-5.raw
-share/crossfire-client/sounds/MetalCrash.raw
-share/crossfire-client/sounds/Missed.raw
-share/crossfire-client/sounds/Missle1.raw
-share/crossfire-client/sounds/Puke.raw
-share/crossfire-client/sounds/README
-share/crossfire-client/sounds/Tear.raw
-share/crossfire-client/sounds/Teeswing.raw
-share/crossfire-client/sounds/TowerClock.raw
-share/crossfire-client/sounds/Whoosh.raw
-share/crossfire-client/sounds/blip.raw
-share/crossfire-client/sounds/boink2.raw
-share/crossfire-client/sounds/bugle_charge.raw
-share/crossfire-client/sounds/chord.raw
-share/crossfire-client/sounds/click1.raw
-share/crossfire-client/sounds/click2.raw
-share/crossfire-client/sounds/drip.raw
-share/crossfire-client/sounds/first_try.raw
-share/crossfire-client/sounds/gong.raw
-share/crossfire-client/sounds/lightning1.raw
-share/crossfire-client/sounds/magic.raw
-share/crossfire-client/sounds/ouch1.raw
-share/crossfire-client/sounds/phit2.raw
-share/crossfire-client/sounds/sci_fi_gun.raw
-share/crossfire-client/sounds/squish.raw
-share/crossfire-client/sounds/swish.raw
-@dirrm share/crossfire-client/sounds
-@dirrm share/crossfire-client
+%%GNOME:%%bin/gcfclient
+%%DATADIR%%/bmaps.client
+%%DATADIR%%/crossfire.base
+%%DATADIR%%/crossfire.clsc
+%%DATADIR%%/sounds/Creaky-1.raw
+%%DATADIR%%/sounds/Evil_Laugh.raw
+%%DATADIR%%/sounds/Explosion.raw
+%%DATADIR%%/sounds/FloorTom.raw
+%%DATADIR%%/sounds/Gun-5.raw
+%%DATADIR%%/sounds/MetalCrash.raw
+%%DATADIR%%/sounds/Missed.raw
+%%DATADIR%%/sounds/Missle1.raw
+%%DATADIR%%/sounds/Puke.raw
+%%DATADIR%%/sounds/README
+%%DATADIR%%/sounds/Tear.raw
+%%DATADIR%%/sounds/Teeswing.raw
+%%DATADIR%%/sounds/TowerClock.raw
+%%DATADIR%%/sounds/Whoosh.raw
+%%DATADIR%%/sounds/blip.raw
+%%DATADIR%%/sounds/boink2.raw
+%%DATADIR%%/sounds/bugle_charge.raw
+%%DATADIR%%/sounds/chord.raw
+%%DATADIR%%/sounds/click1.raw
+%%DATADIR%%/sounds/click2.raw
+%%DATADIR%%/sounds/drip.raw
+%%DATADIR%%/sounds/first_try.raw
+%%DATADIR%%/sounds/gong.raw
+%%DATADIR%%/sounds/lightning1.raw
+%%DATADIR%%/sounds/magic.raw
+%%DATADIR%%/sounds/ouch1.raw
+%%DATADIR%%/sounds/phit2.raw
+%%DATADIR%%/sounds/sci_fi_gun.raw
+%%DATADIR%%/sounds/squish.raw
+%%DATADIR%%/sounds/swish.raw
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031116224523.6c9bb70c.tkato>