aboutsummaryrefslogtreecommitdiffstats
path: root/games/xrally/Makefile
blob: f4b381c9020774b6db8d177d9100ffca27b8aad9 (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
#
# New ports collection makefile for:    xrally
# Date created:             86 May 2005
# Whom:                 Edwin Groothuis
#
# $FreeBSD$
#

PORTNAME=   xrally
PORTVERSION=    1.1
CATEGORIES= games
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xrally

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_PTHREADS=   yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_XLIB=   yes
CONFIGURE_ENV=  LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
        CFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
MAKE_ENV=   LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
        CFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include" \
        INCLUDES="-I${X11BASE}/include"

.include <bsd.port.mk>