Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2013 15:39:24 GMT
From:      Kevin Zheng <kevinz5000@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/180325: [maintainer-update] Add OpenGL support to games/crossfire-client
Message-ID:  <201307051539.r65FdOOW075914@oldred.freebsd.org>
Resent-Message-ID: <201307051540.r65Fe1MI099837@freefall.freebsd.org>

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

>Number:         180325
>Category:       ports
>Synopsis:       [maintainer-update] Add OpenGL support to games/crossfire-client
>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:   Fri Jul 05 15:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Zheng
>Release:        9.1-RELEASE-p4
>Organization:
>Environment:
FreeBSD sigma.local 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:38:17 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
 - Trim Makefile header
 - Remove indefinite article from COMMENT
 - Update pkg-descr from website
 - Add support for OpenGL map rendering
 - Depend on SDL_mixer in case user wants to have his own sound support
>How-To-Repeat:

>Fix:
Apply the attached patch.

Patch attached with submission follows:

diff -ruN /usr/ports/games/crossfire-client/Makefile crossfire-client/Makefile
--- /usr/ports/games/crossfire-client/Makefile	2012-11-16 23:57:35.000000000 -0600
+++ crossfire-client/Makefile	2013-07-05 10:12:17.000000000 -0500
@@ -1,28 +1,29 @@
-# New ports collection makefile for:	crossfire-client
-# Date created:		1996-10-27
-# Whom:			Andreas Klemm <andreas@klemm.gtn.com>
-#
+# Created by: Andreas Klemm <andreas@klemm.gtn.com>
 # $FreeBSD: ports/games/crossfire-client/Makefile,v 1.81 2012/11/17 05:57:35 svnexp Exp $
-#
 
 PORTNAME=	crossfire-client
 PORTVERSION=	1.70.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	SF/crossfire/crossfire-${PORTVERSION}
 
 MAINTAINER=	kevinz5000@gmail.com
-COMMENT=	A cooperative multiplayer graphical RPG and adventure game
+COMMENT=	Cooperative multiplayer graphical RPG and adventure game
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
 
-USE_GNOME=	gtk20 libglade2
-USE_SDL=	image sdl
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--disable-alsa
+USE_GL=		glut
+USE_GNOME=	gtk20 libglade2
+USE_SDL=	sdl image mixer
+
+CONFIGURE_ARGS+=	--disable-alsa --disable-alsa9
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+MAKE_JOBS_SAFE=	yes
 
 MAN6=	crossfire-client-gtk2.6
 
diff -ruN /usr/ports/games/crossfire-client/pkg-descr crossfire-client/pkg-descr
--- /usr/ports/games/crossfire-client/pkg-descr	2012-04-06 10:12:28.000000000 -0500
+++ crossfire-client/pkg-descr	2013-07-05 10:12:17.000000000 -0500
@@ -1,10 +1,8 @@
-Crossfire is a highly graphical role-playing adventure game with
-characteristics reminiscent of rogue, nethack, omega, and gauntlet.
-It has multiplayer capability and presently runs under X11.
-
-Client for playing the new client/server based version of Crossfire.
-This package allows you to connect to Crossfire servers around the
-world.  You do not need install the Crossfire server in order to
-use this package.
+Crossfire is an open-source, cooperative multi-player graphical RPG and
+adventure game. Since its initial release, Crossfire has grown to encompass
+over 150 monsters, about 3000 maps to explore, an elaborate magic system, 13
+races, 15 character classes, a system of skills, and many artifacts and
+treasures.  Crossfire is based in a medieval fantasy world and is similar to
+other games of this genre.
 
 WWW: http://crossfire.real-time.com/


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



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