freebsd-ports/games/etuxracer/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: tuxracer
# Date created: 8 August 2000
# Whom: Eric Anholt
#
# $FreeBSD$
#
PORTNAME= tuxracer
PORTVERSION= 0.61
PORTREVISION= 1
#PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=tuxracer
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
${PORTNAME}-data-${PORTVERSION}.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= A 3d penguin racing game using OpenGL
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
USE_SDL= mixer sdl
USE_MESA= yes
USE_GMAKE= yes
USE_AUTOMAKE_VER= 14
AUTOMAKE_ARGS= -a
CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIB}"
MAKE_ENV= ${CONFIGURE_ENV}
CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.3" \
--with-tcl-libs="${LOCALBASE}/lib" \
--with-gl-libs="${X11BASE}/lib" \
--with-gl-inc="${X11BASE}/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}
(cd ${WORKDATA} && ${TAR} -c -f - *) | \
(cd ${DATADIR} && ${TAR} -x -f - )
.include <bsd.port.mk>