aboutsummaryrefslogtreecommitdiffstats
path: root/games/etuxracer/Makefile
blob: 030acbd2d8acc9cda47b14706d9554da93681446 (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
39
40
41
42
43
44
45
# New ports collection makefile for:    tuxracer
# Date created:             8 August 2000
# Whom:                 Eric Anholt
#
# $FreeBSD$
#

PORTNAME=   tuxracer
PORTVERSION=    0.61
PORTREVISION=   6
CATEGORIES= games
MASTER_SITES=   SF/tuxracer
DISTFILES=  ${PORTNAME}-${PORTVERSION}.tar.gz \
        ${PORTNAME}-data-${PORTVERSION}.tar.gz

MAINTAINER= shaun@FreeBSD.org
COMMENT=    A 3d penguin racing game using OpenGL

LIB_DEPENDS=    tcl83.1:${PORTSDIR}/lang/tcl83

USE_SDL=    mixer sdl
USE_GL=     gl
USE_GMAKE=  yes
USE_AUTOTOOLS=  automake:14 autoconf:261
AUTOMAKE_ARGS=  -a
CONFIGURE_ENV=  THREAD_LIB="${PTHREAD_LIBS}"
MAKE_ENV=   ${CONFIGURE_ENV}
CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.3" \
        --with-tcl-libs="${LOCALBASE}/lib" \
        --with-gl-libs="${LOCALBASE}/lib" \
        --with-gl-inc="${LOCALBASE}/include" \
        --with-data-dir=${PREFIX}/share/tuxracer

WORKDATA=   ${WRKDIR}/${PORTNAME}-data-${PORTVERSION}
COURSEDIRS= 1 2 3 4 5 6 7 8 9 10 11

post-extract:
    @${RM} ${WRKSRC}/missing

post-install:
    @${MKDIR} ${DATADIR}
    @(${CHMOD} -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \
        (cd ${DATADIR} && ${TAR} -x -f - )

.include <bsd.port.mk>