mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
29e9340594
PR: ports/47743 Submitted by: Ports Fury
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
# New ports collection makefile for: crossfire-client
|
|
# Date created: So 27 Okt 1996 12:25:55 MET
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= crossfire
|
|
PORTVERSION= 1.4.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
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
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_GNOMENG= 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_ARGS= --with-sound-dir=${DATADIR}/sounds \
|
|
--disable-gnome # Gnome client currently broken
|
|
|
|
MAN1= cfclient.1 gcfclient.1
|
|
|
|
DATADIR= ${PREFIX}/share/${PKGBASE}
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|