2002-03-08 02:32:17 +01:00
|
|
|
# New ports collection makefile for: crossfire-client
|
1996-11-02 14:53:37 +01:00
|
|
|
# Date created: So 27 Okt 1996 12:25:55 MET
|
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1996-11-02 14:53:37 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:45:49 +02:00
|
|
|
PORTNAME= crossfire
|
2002-11-06 18:09:20 +01:00
|
|
|
PORTVERSION= 1.4.0
|
1997-05-06 16:28:43 +02:00
|
|
|
CATEGORIES= games
|
2002-03-08 02:32:17 +01:00
|
|
|
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 \
|
2002-07-15 23:27:28 +02:00
|
|
|
${PORTNAME}-client-images-${PORTVERSION}.tar.gz \
|
2002-11-06 18:09:20 +01:00
|
|
|
${PORTNAME}-client-sounds-${PORTVERSION}.tar.gz
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2000-02-20 18:01:26 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2002-07-15 23:27:28 +02:00
|
|
|
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image
|
1997-01-03 09:49:05 +01:00
|
|
|
|
2002-03-08 02:32:17 +01:00
|
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2002-03-08 02:32:17 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
|
2002-07-15 23:27:28 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_PERL5= yes
|
2002-03-08 02:32:17 +01:00
|
|
|
USE_XPM= yes
|
2002-09-02 02:59:13 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gtk12
|
2002-07-15 23:27:28 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-03-08 02:32:17 +01:00
|
|
|
USE_GMAKE= yes
|
2003-02-02 15:13:11 +01:00
|
|
|
USE_AUTOCONF_VER= 253
|
2002-11-06 18:09:20 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
2003-02-02 15:13:11 +01:00
|
|
|
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
|
2002-11-06 18:09:20 +01:00
|
|
|
CONFIGURE_ARGS= --with-sound-dir=${DATADIR}/sounds \
|
2002-03-08 02:32:17 +01:00
|
|
|
--disable-gnome # Gnome client currently broken
|
|
|
|
|
|
|
|
MAN1= cfclient.1 gcfclient.1
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2002-07-15 23:27:28 +02:00
|
|
|
DATADIR= ${PREFIX}/share/${PKGBASE}
|
|
|
|
|
1996-11-02 14:53:37 +01:00
|
|
|
post-install:
|
2002-07-15 23:27:28 +02:00
|
|
|
@${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
|
1996-11-02 14:53:37 +01:00
|
|
|
|
2002-03-08 02:32:17 +01:00
|
|
|
.include <bsd.port.mk>
|