aboutsummaryrefslogtreecommitdiff
path: root/games/xrally/Makefile
blob: a134a18353b62bc73766796457dcc3b9a27dc60a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# New ports collection makefile for:	xrally
# Date created:				86 May 2005
# Whom:					Edwin Groothuis
#
# $FreeBSD$
#

PORTNAME=	xrally
PORTVERSION=	1.1.1
PORTREVISION=	4
CATEGORIES=	games
MASTER_SITES=	SF/xrally
DISTNAME=	${PORTNAME}-1.1

MAINTAINER=	edwin@mavetju.org
COMMENT=	XRally is a Linux clone of the classic Rally X arcade game

WRKSRC=		${WRKDIR}/${PORTNAME}
USE_GCC=	2.95
PTHREAD_LIBS=	-lc_r
HAS_CONFIGURE=	yes
USE_XORG=	x11 xi xpm
USE_BZIP2=	yes
USE_GMAKE=	yes
CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
		CFLAGS="${PTHREAD_CFLAGS}"
MAKE_ENV=	LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
		CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
		INCLUDES="-I${LOCALBASE}/include"

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 700000
BROKEN=		Doesn't work (yet?) on 7.x
.endif

.include <bsd.port.post.mk>