aboutsummaryrefslogtreecommitdiffstats
path: root/games/crossfire-client/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/crossfire-client/Makefile')
-rw-r--r--games/crossfire-client/Makefile96
1 files changed, 13 insertions, 83 deletions
diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile
index ad19c12529cc..2d9b5a8c6c40 100644
--- a/games/crossfire-client/Makefile
+++ b/games/crossfire-client/Makefile
@@ -1,98 +1,28 @@
# New ports collection makefile for: crossfire-client
-# Date created: So 27 Okt 1996 12:25:55 MET
-# Whom: Andreas Klemm <andreas@klemm.gtn.com>
+# Date created: 1996-10-27
+# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
PORTNAME= crossfire-client
-PORTVERSION= 1.8.0
-PORTREVISION= 9
+PORTVERSION= 1.60.0
CATEGORIES= games
-MASTER_SITES= SF/crossfire/${PORTNAME}/${PORTVERSION} \
- ftp://ftp.ifi.uio.no/pub/crossfire/ \
- ftp://ftp.real-time.com/pub/games/crossfire/
+MASTER_SITES= SF/crossfire/${PORTNAME}/${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- ${PORTNAME}-images-1.7.1${EXTRACT_SUFX} \
- ${PORTNAME}-sounds-1.4.0${EXTRACT_SUFX}
+MAINTAINER= kevinz5000@gmail.com
+COMMENT= A cooperative multiplayer graphical RPG and adventure game
-MAINTAINER= ports@mark.reidel.info
-COMMENT= Multiplayer graphical arcade and adventure game made for X11
-
-USE_PERL5= yes
-USE_XORG= xpm
-WANT_GNOME= yes
USE_GMAKE= yes
+USE_GNOME= gtk20 libglade2
USE_SDL= image sdl
GNU_CONFIGURE= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS= --with-sound-dir=${DATADIR}/sounds
-
-MAN6= cfclient.6
-
-.include <bsd.port.pre.mk>
-
-PLIST_FILES= bin/cfclient \
- bin/cfsndserv
-.if ${HAVE_GNOME:Mgtk20}!="" || ${HAVE_GNOME:Mgtk12}!=""
-MAN6+= gcfclient.6
-.if ${HAVE_GNOME:Mgtk20}!=""
-USE_GNOME+= gtk20
-PLIST_FILES+=bin/gcfclient2
-.endif
-.if ${HAVE_GNOME:Mgtk12}!=""
-USE_GNOME+= gtk12
-PLIST_FILES+=bin/gcfclient
-.endif
-.else
-CONFIGURE_ARGS+= --disable-gtk
-.endif
+CONFIGURE_ARGS+= --disable-alsa
-PLIST_DIRS= %%DATADIR%%/sounds \
- %%DATADIR%%
-PLIST_FILES+= %%DATADIR%%/bmaps.client \
- %%DATADIR%%/crossfire.base \
- %%DATADIR%%/crossfire.clsc \
- %%DATADIR%%/sounds/README \
- %%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/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 \
+MAN6= crossfire-client-gtk2.6
-post-install:
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/bmaps.client ${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/crossfire.base ${DATADIR}
- ${INSTALL_DATA} ${WRKDIR}/crossfire.clsc ${DATADIR}
- @${MKDIR} ${DATADIR}/sounds
- ${INSTALL_DATA} ${WRKDIR}/sounds/README ${DATADIR}/sounds
- ${INSTALL_DATA} ${WRKDIR}/sounds/*.raw ${DATADIR}/sounds
+post-patch:
+ ${REINPLACE_CMD} -e '/#include <curl\/types.h>/d' \
+ ${WRKSRC}/common/metaserver.c
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>