summaryrefslogtreecommitdiff
path: root/games/etuxracer
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-07-10 13:54:22 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-07-10 13:54:22 +0000
commitec7b561464bf844cc65b843d4f531945aa1d09fc (patch)
treeacf3f96eca894e3e032f914d0b0e69216c46a7ae /games/etuxracer
parentupgrade to 0.9.7 (diff)
${PREFIX}/share/${PORTNAME} --> ${DATADIR}
Notes
Notes: svn path=/head/; revision=45011
Diffstat (limited to 'games/etuxracer')
-rw-r--r--games/etuxracer/Makefile39
1 files changed, 19 insertions, 20 deletions
diff --git a/games/etuxracer/Makefile b/games/etuxracer/Makefile
index 199668cfce20..077c5eec9e92 100644
--- a/games/etuxracer/Makefile
+++ b/games/etuxracer/Makefile
@@ -32,30 +32,29 @@ CONFIGURE_ARGS+=--with-tcl-inc="${LOCALBASE}/include/tcl8.2" \
CFLAGS+= -L${X11BASE}/lib
WORKDATA= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION}
-SHAREDIR= ${PREFIX}/share/${PORTNAME}
COURSEDIRS= 1 2 3 4 5 6 7 8 9 10 11
post-install:
- ${MKDIR} ${SHAREDIR}/courses
+ ${MKDIR} ${DATADIR}/courses
.for i in ${COURSEDIRS}
- ${MKDIR} ${SHAREDIR}/courses/${i}
- ${INSTALL_DATA} ${WORKDATA}/courses/${i}/course.tcl ${SHAREDIR}/courses/${i}/
- ${INSTALL_DATA} ${WORKDATA}/courses/${i}/elev.rgb ${SHAREDIR}/courses/${i}/
- ${INSTALL_DATA} ${WORKDATA}/courses/${i}/terrain.rgb ${SHAREDIR}/courses/${i}/
- ${INSTALL_DATA} ${WORKDATA}/courses/${i}/trees.rgb ${SHAREDIR}/courses/${i}/
+ ${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} ${SHAREDIR}/courses/common
- ${INSTALL_DATA} ${WORKDATA}/courses/common/background1.rgb ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/background2.rgb ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/background3.rgb ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/ice.rgb ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/rock.rgb ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/snow.rgb ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/standard_light.tcl ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/tree.rgb ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/tree_polyhedron.tcl ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/tux_moonwalk.tcl ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/courses/common/tux_walk.tcl ${SHAREDIR}/courses/common/
- ${INSTALL_DATA} ${WORKDATA}/tux.tcl ${SHAREDIR}/
+ ${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}/
.include <bsd.port.mk>