aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-06-23 07:13:16 +0800
committerjylefort <jylefort@FreeBSD.org>2005-06-23 07:13:16 +0800
commit532dc889bc485a9cf805f840ab054421bddc5e2b (patch)
tree8d8616db95a2fe23d322f25fcade9de182b535b7 /games
parentfb3b2e00340f4584e384a9092dc3c0fd412416af (diff)
downloadfreebsd-ports-gnome-532dc889bc485a9cf805f840ab054421bddc5e2b.tar.gz
freebsd-ports-gnome-532dc889bc485a9cf805f840ab054421bddc5e2b.tar.zst
freebsd-ports-gnome-532dc889bc485a9cf805f840ab054421bddc5e2b.zip
Sweeping.
Diffstat (limited to 'games')
-rw-r--r--games/linux-virtual-jay-peak/Makefile16
-rw-r--r--games/linux-virtual-jay-peak/files/virtual-jay-peak.in6
2 files changed, 7 insertions, 15 deletions
diff --git a/games/linux-virtual-jay-peak/Makefile b/games/linux-virtual-jay-peak/Makefile
index 5324975dda6f..7a901f884fc6 100644
--- a/games/linux-virtual-jay-peak/Makefile
+++ b/games/linux-virtual-jay-peak/Makefile
@@ -15,25 +15,17 @@ DISTNAME= virtual_jay_peak_linux_1_1a
MAINTAINER= jylefort@FreeBSD.org
COMMENT= A simulation of snowboarding at the Jay Peak resort in Vermont
-RUN_DEPENDS= ${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs \
- ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/graphics/linux_mesa3
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/graphics/linux_mesa3
WRKSRC= ${WRKDIR}/soulride
ONLY_FOR_ARCHS= i386
-PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB
+USE_X_PREFIX= yes
USE_LINUX= yes
NO_BUILD= yes
-STRIP= # do not brand Linux binaries as FreeBSD on INSTALL_PROGRAM
-
-post-patch:
- @${SED} -e 's|@DATADIR@|${DATADIR}|; s|@LIBEXECDIR@|${PREFIX}/libexec|' \
- ${FILESDIR}/virtual-jay-peak.in > ${WRKSRC}/virtual-jay-peak
+SUB_FILES= virtual-jay-peak
do-install:
- ${MKDIR} ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/virtual-jay-peak ${PREFIX}/bin
-
- ${MKDIR} ${PREFIX}/libexec
+ ${INSTALL_SCRIPT} ${WRKDIR}/virtual-jay-peak ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/soulride-static ${PREFIX}/libexec
${MKDIR} ${DATADIR}
diff --git a/games/linux-virtual-jay-peak/files/virtual-jay-peak.in b/games/linux-virtual-jay-peak/files/virtual-jay-peak.in
index 5271c32acc08..d1b53e2d5a85 100644
--- a/games/linux-virtual-jay-peak/files/virtual-jay-peak.in
+++ b/games/linux-virtual-jay-peak/files/virtual-jay-peak.in
@@ -11,9 +11,9 @@ OGLModeIndex="9" # use 1280x1024x32 video mode
# hierarchy in ~/.virtual-jay-peak, and create symlinks to the data
# files.
-cd @DATADIR@ || exit 1
+cd %%DATADIR%% || exit 1
find * -type d -exec mkdir -p ~/.virtual-jay-peak/{} \; || exit 1
-find * -type f -exec ln -sf @DATADIR@/{} ~/.virtual-jay-peak/{} \; || exit 1
+find * -type f -exec ln -sf %%DATADIR%%/{} ~/.virtual-jay-peak/{} \; || exit 1
cd ~/.virtual-jay-peak || exit 1
-exec @LIBEXECDIR@/soulride-static DefaultMountain=Jay_Peak Fullscreen=$Fullscreen OGLModeIndex=$OGLModeIndex "$@"
+exec %%PREFIX%%/libexec/soulride-static DefaultMountain=Jay_Peak Fullscreen=$Fullscreen OGLModeIndex=$OGLModeIndex "$@"