Lines 5-48
Link Here
|
5 |
# $FreeBSD: ports/games/crossfire-client/Makefile,v 1.51 2003/04/20 03:03:00 marcus Exp $ |
5 |
# $FreeBSD: ports/games/crossfire-client/Makefile,v 1.51 2003/04/20 03:03:00 marcus Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= crossfire |
8 |
PORTNAME= crossfire-client |
9 |
PORTVERSION= 1.4.0 |
9 |
PORTVERSION= 1.5.0 |
10 |
CATEGORIES= games |
10 |
CATEGORIES= games |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ |
12 |
ftp://ftp.ifi.uio.no/pub/crossfire/ \ |
12 |
ftp://ftp.ifi.uio.no/pub/crossfire/ \ |
13 |
ftp://ftp.real-time.com/pub/games/crossfire/ |
13 |
ftp://ftp.real-time.com/pub/games/crossfire/ |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME:S/-client//} |
15 |
PKGNAMESUFFIX= -client |
15 |
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ |
16 |
DISTFILES= ${PORTNAME}-client-${PORTVERSION}.tar.gz \ |
16 |
${PORTNAME}-images-${PORTVERSION}${EXTRACT_SUFX} \ |
17 |
${PORTNAME}-client-images-${PORTVERSION}.tar.gz \ |
17 |
${PORTNAME}-sounds-1.4.0${EXTRACT_SUFX} |
18 |
${PORTNAME}-client-sounds-${PORTVERSION}.tar.gz |
|
|
19 |
|
18 |
|
20 |
MAINTAINER= ports@FreeBSD.org |
19 |
MAINTAINER= ports@FreeBSD.org |
21 |
COMMENT= Multiplayer graphical arcade and adventure game made for X11 |
20 |
COMMENT= Multiplayer graphical arcade and adventure game made for X11 |
22 |
|
21 |
|
23 |
LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image |
|
|
24 |
|
25 |
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config |
26 |
|
27 |
WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} |
28 |
|
29 |
USE_X_PREFIX= yes |
22 |
USE_X_PREFIX= yes |
30 |
USE_PERL5= yes |
23 |
USE_PERL5= yes |
31 |
USE_XPM= yes |
24 |
USE_XPM= yes |
32 |
USE_GNOME= gtk12 |
25 |
USE_GNOME= gtk12 |
33 |
USE_REINPLACE= yes |
|
|
34 |
USE_GMAKE= yes |
26 |
USE_GMAKE= yes |
35 |
USE_AUTOCONF_VER= 253 |
27 |
USE_AUTOCONF_VER= 253 |
36 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
28 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
37 |
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ |
29 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
38 |
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \ |
30 |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" |
39 |
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -L${X11BASE}/lib" |
|
|
40 |
CONFIGURE_ARGS= --with-sound-dir=${DATADIR}/sounds \ |
31 |
CONFIGURE_ARGS= --with-sound-dir=${DATADIR}/sounds \ |
41 |
--disable-gnome # Gnome client currently broken |
32 |
--disable-gnome # Gnome client currently broken |
42 |
|
33 |
|
43 |
MAN1= cfclient.1 gcfclient.1 |
34 |
MAN1= cfclient.1 gcfclient.1 |
44 |
|
35 |
|
45 |
DATADIR= ${PREFIX}/share/${PKGBASE} |
36 |
.if defined(WITHOUT_SDL) |
|
|
37 |
CONFIGURE_ARGS+= --disable-sdl |
38 |
.else |
39 |
LIB_DEPENDS+= SDL_image.10:${PORTSDIR}/graphics/sdl_image |
40 |
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config |
41 |
CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" |
42 |
.endif |
46 |
|
43 |
|
47 |
post-install: |
44 |
post-install: |
48 |
@${MKDIR} ${DATADIR} |
45 |
@${MKDIR} ${DATADIR} |