mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
c87a56b351
Approved by: portmgr (bdrewery)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Andreas Klemm <andreas@klemm.gtn.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= crossfire-client
|
|
PORTVERSION= 1.70.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/crossfire/crossfire-${PORTVERSION}
|
|
|
|
MAINTAINER= kevinz5000@gmail.com
|
|
COMMENT= Cooperative multiplayer graphical RPG and adventure game
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
|
|
|
GNU_CONFIGURE= yes
|
|
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
|
|
|
|
MAN6= crossfire-client-gtk2.6
|
|
|
|
NO_STAGE= yes
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/#include <curl\/types.h>/d' \
|
|
${WRKSRC}/common/metaserver.c
|
|
${REINPLACE_CMD} -e "/mandir='${datarootdir}\/man'/d" \
|
|
${WRKSRC}/configure
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|