4fd0db3533
PR: 28883 Submitted by: MAINTAINER
43 lines
1.1 KiB
Makefile
43 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
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR=tuxracer
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
|
|
${PORTNAME}-data-${PORTVERSION}.tar.gz
|
|
|
|
MAINTAINER= anholt@teleport.com
|
|
|
|
LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
|
|
tcl83.1:${PORTSDIR}/lang/tcl83
|
|
|
|
USE_MESA= yes
|
|
USE_GMAKE= yes
|
|
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
|
|
THREAD_LIB="${PTHREAD_LIB}"
|
|
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-install:
|
|
${MKDIR} ${DATADIR}/courses
|
|
(cd ${WORKDATA} && ${TAR} -c -f - *) | \
|
|
(cd ${SHAREDIR} && ${TAR} -x -f - )
|
|
|
|
.include <bsd.port.mk>
|