aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-07 04:26:12 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-07 04:26:12 +0000
commitd69603d48a5ba638e889ad3fcca9206e06679907 (patch)
tree15f76c15dfc3b98985f6fbb4b5b3225541515725 /games
parentd6c135a7d1012004adc95ca5b8660c4926e84ed7 (diff)
downloadports-d69603d48a5ba638e889ad3fcca9206e06679907.tar.gz
ports-d69603d48a5ba638e889ad3fcca9206e06679907.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/crossfire-client/Makefile33
-rw-r--r--games/crossfire-client/distinfo4
2 files changed, 17 insertions, 20 deletions
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile
index 78779afa4d38..28155295b4cd 100644
--- a/games/crossfire-client/Makefile
+++ b/games/crossfire-client/Makefile
@@ -5,44 +5,41 @@
# $FreeBSD$
#
-PORTNAME= crossfire
-PORTVERSION= 1.4.0
+PORTNAME= crossfire-client
+PORTVERSION= 1.5.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}
-PKGNAMESUFFIX= -client
-DISTFILES= ${PORTNAME}-client-${PORTVERSION}.tar.gz \
- ${PORTNAME}-client-images-${PORTVERSION}.tar.gz \
- ${PORTNAME}-client-sounds-${PORTVERSION}.tar.gz
+MASTER_SITE_SUBDIR= ${PORTNAME:S/-client//}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${PORTNAME}-images-${PORTVERSION}${EXTRACT_SUFX} \
+ ${PORTNAME}-sounds-1.4.0${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiplayer graphical arcade and adventure game made for X11
-LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image
-
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-
-WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
-
USE_X_PREFIX= yes
USE_PERL5= yes
USE_XPM= yes
USE_GNOME= gtk12
-USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 253
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
- CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
+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
-DATADIR= ${PREFIX}/share/${PKGBASE}
+.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}"
+.endif
post-install:
@${MKDIR} ${DATADIR}
diff --git a/games/crossfire-client/distinfo b/games/crossfire-client/distinfo
index 0d004f3e49d9..c96bf03daa14 100644
--- a/games/crossfire-client/distinfo
+++ b/games/crossfire-client/distinfo
@@ -1,3 +1,3 @@
-MD5 (crossfire-client-1.4.0.tar.gz) = 6ab310b8d2ea80e7fae246775dc819e2
-MD5 (crossfire-client-images-1.4.0.tar.gz) = 7b8ea870de491cf5070f05ae876bcbf2
+MD5 (crossfire-client-1.5.0.tar.gz) = 8f7e09f18cdbfbf45aea2fc06a6472cb
+MD5 (crossfire-client-images-1.5.0.tar.gz) = 63cbfb00ff8000f2567880b72c8162bd
MD5 (crossfire-client-sounds-1.4.0.tar.gz) = 1b33401d9d2af0d391fee7ad04282cfd