2013-07-06 13:24:41 +02:00
|
|
|
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2003-05-07 06:26:12 +02:00
|
|
|
PORTNAME= crossfire-client
|
2012-04-15 17:43:10 +02:00
|
|
|
PORTVERSION= 1.70.0
|
2013-07-11 18:26:26 +02:00
|
|
|
PORTREVISION= 4
|
1997-05-06 16:28:43 +02:00
|
|
|
CATEGORIES= games
|
2012-04-15 17:43:10 +02:00
|
|
|
MASTER_SITES= SF/crossfire/crossfire-${PORTVERSION}
|
2009-08-22 02:23:13 +02:00
|
|
|
|
2012-04-06 17:12:29 +02:00
|
|
|
MAINTAINER= kevinz5000@gmail.com
|
2013-07-06 13:24:41 +02:00
|
|
|
COMMENT= Cooperative multiplayer graphical RPG and adventure game
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2012-05-01 02:27:23 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2012-04-10 15:24:34 +02:00
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
|
|
|
|
2003-11-16 15:41:56 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-07-06 13:24:41 +02:00
|
|
|
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
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2012-04-06 17:12:29 +02:00
|
|
|
MAN6= crossfire-client-gtk2.6
|
2002-07-15 23:27:28 +02:00
|
|
|
|
2013-09-20 19:36:33 +02:00
|
|
|
NO_STAGE= yes
|
2012-04-06 17:12:29 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e '/#include <curl\/types.h>/d' \
|
|
|
|
${WRKSRC}/common/metaserver.c
|
2012-04-15 17:43:10 +02:00
|
|
|
${REINPLACE_CMD} -e "/mandir='${datarootdir}\/man'/d" \
|
|
|
|
${WRKSRC}/configure
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2012-04-23 19:17:52 +02:00
|
|
|
post-install:
|
|
|
|
${CP} ${WRKSRC}/pixmaps/48x48.png ${WRKSRC}/pixmaps/crossfire-client.png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gtk-v2/crossfire-client.desktop \
|
|
|
|
${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/crossfire-client.png \
|
|
|
|
${PREFIX}/share/pixmaps
|
|
|
|
|
2012-04-06 17:12:29 +02:00
|
|
|
.include <bsd.port.mk>
|