summaryrefslogtreecommitdiff
path: root/games/etuxracer
diff options
context:
space:
mode:
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>