aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-07-06 19:24:41 +0800
committerwg <wg@FreeBSD.org>2013-07-06 19:24:41 +0800
commitc1166abb58e9dcb05ab224e2517eef06ec59a841 (patch)
tree427c6c924e16d33698c6ebbdc3699ae5c39ebc6c
parent51cee20c8e663bf08ba72ffad8e00ec773a272fc (diff)
downloadfreebsd-ports-gnome-c1166abb58e9dcb05ab224e2517eef06ec59a841.tar.gz
freebsd-ports-gnome-c1166abb58e9dcb05ab224e2517eef06ec59a841.tar.zst
freebsd-ports-gnome-c1166abb58e9dcb05ab224e2517eef06ec59a841.zip
games/crossfire-client: fix GL dependency
- Add USE_GL - Trim Makefile header - Update pkg-descr from website - Remove indefinite article from COMMENT PR: ports/180325 Submitted by: Kevin Zheng <kevinz5000 gmail.com> (maintainer)
-rw-r--r--games/crossfire-client/Makefile25
-rw-r--r--games/crossfire-client/pkg-descr14
2 files changed, 19 insertions, 20 deletions
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile
index cabb113bcd70..9130a7ae9d82 100644
--- a/games/crossfire-client/Makefile
+++ b/games/crossfire-client/Makefile
@@ -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$
-#
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
@@ -34,10 +35,10 @@ post-patch:
post-install:
${CP} ${WRKSRC}/pixmaps/48x48.png ${WRKSRC}/pixmaps/crossfire-client.png
- ${MKDIR} ${PREFIX}/share/applications
+ @${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/gtk-v2/crossfire-client.desktop \
${PREFIX}/share/applications
- ${MKDIR} ${PREFIX}/share/pixmaps
+ @${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/pixmaps/crossfire-client.png \
${PREFIX}/share/pixmaps
diff --git a/games/crossfire-client/pkg-descr b/games/crossfire-client/pkg-descr
index bfa6f68010ad..af595f08da1d 100644
--- a/games/crossfire-client/pkg-descr
+++ b/games/crossfire-client/pkg-descr
@@ -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/