diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-08-18 01:49:35 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-08-18 01:49:35 +0800 |
commit | c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc (patch) | |
tree | 37bc5a306e9b89e16857da636fb4964a234c46c2 /games/tuxracer-commercial/Makefile | |
parent | 1c86ab0497b39e21f54607ae27f10686591cae87 (diff) | |
download | freebsd-ports-gnome-c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc.tar.gz freebsd-ports-gnome-c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc.tar.zst freebsd-ports-gnome-c61d50fbb2bbc806d4f437b35c75b8cf5aa43ccc.zip |
upgrade to 0.61
PR: 28883
Submitted by: MAINTAINER
Diffstat (limited to 'games/tuxracer-commercial/Makefile')
-rw-r--r-- | games/tuxracer-commercial/Makefile | 44 |
1 files changed, 13 insertions, 31 deletions
diff --git a/games/tuxracer-commercial/Makefile b/games/tuxracer-commercial/Makefile index 077c5eec9e92..80e2b1bedfa0 100644 --- a/games/tuxracer-commercial/Makefile +++ b/games/tuxracer-commercial/Makefile @@ -6,8 +6,8 @@ # PORTNAME= tuxracer -PORTVERSION= 0.12.1 -PORTREVISION= 1 +PORTVERSION= 0.61 +#PORTREVISION= 1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=tuxracer @@ -16,45 +16,27 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \ MAINTAINER= anholt@teleport.com -LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/Mesa3 \ - tcl82.1:${PORTSDIR}/lang/tcl82 +LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \ + tcl83.1:${PORTSDIR}/lang/tcl83 -USE_X_PREFIX= yes +USE_MESA= yes USE_GMAKE= yes +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-tcl-inc="${LOCALBASE}/include/tcl8.2" \ +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-tcl-lib-name=tcl82 \ - --with-glut-libs="${X11BASE}/lib" \ - --with-glut-inc="${X11BASE}/include" \ + --with-gl-libs="${X11BASE}/lib" \ + --with-gl-inc="${X11BASE}/include" \ --with-data-dir=${PREFIX}/share/tuxracer -CFLAGS+= -L${X11BASE}/lib - WORKDATA= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION} COURSEDIRS= 1 2 3 4 5 6 7 8 9 10 11 post-install: ${MKDIR} ${DATADIR}/courses -.for i in ${COURSEDIRS} - ${MKDIR} ${DATADIR}/courses/${i} - ${INSTALL_DATA} ${WORKDATA}/courses/${i}/course.tcl ${DATADIR}/courses/${i}/ - ${INSTALL_DATA} ${WORKDATA}/courses/${i}/elev.rgb ${DATADIR}/courses/${i}/ - ${INSTALL_DATA} ${WORKDATA}/courses/${i}/terrain.rgb ${DATADIR}/courses/${i}/ - ${INSTALL_DATA} ${WORKDATA}/courses/${i}/trees.rgb ${DATADIR}/courses/${i}/ -.endfor - ${MKDIR} ${DATADIR}/courses/common - ${INSTALL_DATA} ${WORKDATA}/courses/common/background1.rgb ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/background2.rgb ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/background3.rgb ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/ice.rgb ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/rock.rgb ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/snow.rgb ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/standard_light.tcl ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/tree.rgb ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/tree_polyhedron.tcl ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/tux_moonwalk.tcl ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/courses/common/tux_walk.tcl ${DATADIR}/courses/common/ - ${INSTALL_DATA} ${WORKDATA}/tux.tcl ${DATADIR}/ + (cd ${WORKDATA} && ${TAR} -c -f - *) | \ + (cd ${SHAREDIR} && ${TAR} -x -f - ) .include <bsd.port.mk> |