ports/166956: [maintainer-update] Update games/crossfire-client to version 1.70

Kevin Zheng kevinz5000 at gmail.com
Sun Apr 15 05:00:25 UTC 2012


>Number:         166956
>Category:       ports
>Synopsis:       [maintainer-update] Update games/crossfire-client to version 1.70
>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:   Sun Apr 15 05:00:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Zheng
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD omega.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012     root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
A new version of the Crossfire client was released recently. The new version fixes some earlier bugs, which also reduces the number of patches needed to cleanly compile as a FreeBSD port. This release also adds the ability to change an account's password and adds a timestamping option.

The attached patch upgrades the port logic to install the newest version.
>How-To-Repeat:
Simply install games/crossfire-client; this version is out of date.
>Fix:
Apply the attached patch to games/crossfire-client under the ports tree.

Patch attached with submission follows:

diff -ruN /usr/ports/games/crossfire-client/Makefile crossfire-client/Makefile
--- /usr/ports/games/crossfire-client/Makefile	2012-04-10 08:24:34.000000000 -0500
+++ crossfire-client/Makefile	2012-04-14 10:06:58.000000000 -0500
@@ -6,16 +6,15 @@
 #
 
 PORTNAME=	crossfire-client
-PORTVERSION=	1.60.0
+PORTVERSION=	1.70.0
 CATEGORIES=	games
-MASTER_SITES=	SF/crossfire/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	SF/crossfire/crossfire-${PORTVERSION}
 
 MAINTAINER=	kevinz5000 at gmail.com
 COMMENT=	A cooperative multiplayer graphical RPG and adventure game
 
 LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
 
-USE_GMAKE=	yes
 USE_GNOME=	gtk20 libglade2
 USE_SDL=	image sdl
 GNU_CONFIGURE=	yes
@@ -26,5 +25,7 @@
 post-patch:
 	${REINPLACE_CMD} -e '/#include <curl\/types.h>/d' \
 		${WRKSRC}/common/metaserver.c
+	${REINPLACE_CMD} -e "/mandir='${datarootdir}\/man'/d" \
+		${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/games/crossfire-client/distinfo crossfire-client/distinfo
--- /usr/ports/games/crossfire-client/distinfo	2012-04-06 10:12:28.000000000 -0500
+++ crossfire-client/distinfo	2012-04-13 22:53:11.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (crossfire-client-1.60.0.tar.gz) = 0a7c45459178ed87cf6d6d7aaf0cc485216fc4735108b08ff085f5bce2452102
-SIZE (crossfire-client-1.60.0.tar.gz) = 802899
+SHA256 (crossfire-client-1.70.0.tar.gz) = afa3981785689baa22813ebc3893250c2f73374dda64bfc1dc41e64f4adc60b2
+SIZE (crossfire-client-1.70.0.tar.gz) = 801043
diff -ruN /usr/ports/games/crossfire-client/files/patch-common__Makefile.in crossfire-client/files/patch-common__Makefile.in
--- /usr/ports/games/crossfire-client/files/patch-common__Makefile.in	2012-04-06 10:12:29.000000000 -0500
+++ crossfire-client/files/patch-common__Makefile.in	1969-12-31 18:00:00.000000000 -0600
@@ -1,11 +0,0 @@
---- ./common/Makefile.in.orig	2011-01-28 00:21:10.000000000 -0600
-+++ ./common/Makefile.in	2012-03-17 13:43:59.000000000 -0500
-@@ -280,7 +280,7 @@
- 	item-types \
- 	items.pl
- 
--AM_CFLAGS = $(PTHREAD_CFLAGS) -finstrument-functions
-+AM_CFLAGS = $(PTHREAD_CFLAGS)
- all: $(BUILT_SOURCES) config.h
- 	$(MAKE) $(AM_MAKEFLAGS) all-am
- 
diff -ruN /usr/ports/games/crossfire-client/files/patch-common__script.c crossfire-client/files/patch-common__script.c
--- /usr/ports/games/crossfire-client/files/patch-common__script.c	2012-04-06 10:12:29.000000000 -0500
+++ crossfire-client/files/patch-common__script.c	1969-12-31 18:00:00.000000000 -0600
@@ -1,10 +0,0 @@
---- ./common/script.c.orig	2011-01-28 00:17:56.000000000 -0600
-+++ ./common/script.c	2012-03-17 13:43:59.000000000 -0500
-@@ -116,6 +116,7 @@
- 
- #ifndef WIN32
- #include <errno.h>
-+#include <signal.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/wait.h>
diff -ruN /usr/ports/games/crossfire-client/files/patch-configure crossfire-client/files/patch-configure
--- /usr/ports/games/crossfire-client/files/patch-configure	2012-04-06 10:12:29.000000000 -0500
+++ crossfire-client/files/patch-configure	1969-12-31 18:00:00.000000000 -0600
@@ -1,11 +0,0 @@
---- ./configure.orig	2011-01-28 00:21:09.000000000 -0600
-+++ ./configure	2012-03-17 14:18:37.000000000 -0500
-@@ -868,7 +868,7 @@
- psdir='${docdir}'
- libdir='${exec_prefix}/lib'
- localedir='${datarootdir}/locale'
--mandir='${datarootdir}/man'
-+mandir='${prefix}/man'
- 
- ac_prev=
- ac_dashdash=
diff -ruN /usr/ports/games/crossfire-client/pkg-plist crossfire-client/pkg-plist
--- /usr/ports/games/crossfire-client/pkg-plist	2012-04-06 10:12:28.000000000 -0500
+++ crossfire-client/pkg-plist	2012-04-14 16:19:56.000000000 -0500
@@ -14,6 +14,6 @@
 %%DATADIR%%/glade-gtk2/v1-redux.glade
 %%DATADIR%%/themes/Black
 %%DATADIR%%/themes/Standard
- at dirrm %%DATADIR%%/themes
 @dirrm %%DATADIR%%/glade-gtk2
+ at dirrm %%DATADIR%%/themes
 @dirrm %%DATADIR%%


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



More information about the freebsd-ports-bugs mailing list