aboutsummaryrefslogtreecommitdiffstats
path: root/games/tuxracer
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-10 21:54:22 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-10 21:54:22 +0800
commit1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a (patch)
treecfd6e21c18881279da5bd12975849568e01c0dcb /games/tuxracer
parent04e349593148d329874b32ea7bec7c84827ee18a (diff)
downloadfreebsd-ports-gnome-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.tar.gz
freebsd-ports-gnome-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.tar.zst
freebsd-ports-gnome-1ff84f50b1533cd5a8c42e0186b1e45deb0dd22a.zip
${PREFIX}/share/${PORTNAME} --> ${DATADIR}
Diffstat (limited to 'games/tuxracer')
-rw-r--r--games/tuxracer/Makefile39
1 files changed, 19 insertions, 20 deletions
diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile
index 199668cfce20..077c5eec9e92 100644
--- a/games/tuxracer/Makefile
+++ b/games/tuxracer/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>