1 |
# $MidnightBSD: mports/games/tuxracer/Makefile,v 1.7 2011/02/02 21:01:20 laffer1 Exp $ |
2 |
|
3 |
PORTNAME= tuxracer |
4 |
PORTVERSION= 0.61 |
5 |
PORTREVISION= 8 |
6 |
CATEGORIES= games |
7 |
MASTER_SITES= SF |
8 |
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \ |
9 |
${PORTNAME}-data-${PORTVERSION}.tar.gz |
10 |
|
11 |
MAINTAINER= ports@MidnightBSD.org |
12 |
COMMENT= A 3d penguin racing game using OpenGL |
13 |
LICENSE= gpl2 |
14 |
|
15 |
LIB_DEPENDS= tcl85:${PORTSDIR}/lang/tcl85 |
16 |
|
17 |
USE_SDL= mixer sdl |
18 |
USE_GL= gl |
19 |
USE_XORG= x11 xt xmu xi |
20 |
USE_GMAKE= yes |
21 |
USE_AUTOTOOLS= automake14 autoconf |
22 |
AUTOMAKE_ARGS= -a |
23 |
CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIBS}" |
24 |
MAKE_ENV= ${CONFIGURE_ENV} |
25 |
CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.5" \ |
26 |
--with-tcl-libs="${LOCALBASE}/lib" \ |
27 |
--with-gl-libs="${LOCALBASE}/lib" \ |
28 |
--with-gl-inc="${LOCALBASE}/include" \ |
29 |
--with-data-dir=${PREFIX}/share/tuxracer |
30 |
|
31 |
WORKDATA= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} |
32 |
COURSEDIRS= 1 2 3 4 5 6 7 8 9 10 11 |
33 |
|
34 |
post-extract: |
35 |
@${RM} ${WRKSRC}/missing |
36 |
|
37 |
post-install: |
38 |
@${MKDIR} ${DATADIR} |
39 |
@(${CHMOD} -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \ |
40 |
(cd ${DATADIR} && ${TAR} -x -f - ) |
41 |
|
42 |
.include <bsd.port.mk> |