diff --git a/games/Makefile b/games/Makefile index 4d2454025fbf..a05ae0ff9b3e 100644 --- a/games/Makefile +++ b/games/Makefile @@ -284,6 +284,7 @@ SUBDIR += linux-spheresofchaos-demo SUBDIR += linux-steam SUBDIR += linux-ut2004-demo + SUBDIR += linux-virtual-jay-peak SUBDIR += lm-solve SUBDIR += ltris SUBDIR += macopix diff --git a/games/linux-virtual-jay-peak/Makefile b/games/linux-virtual-jay-peak/Makefile new file mode 100644 index 000000000000..5324975dda6f --- /dev/null +++ b/games/linux-virtual-jay-peak/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: linux-virtual-jay-peak +# Date created: 03 Apr 2005 +# Whom: Jean-Yves Lefort +# +# $FreeBSD$ +# + +PORTNAME= virtual-jay-peak +PORTVERSION= 1.1a +CATEGORIES= games linux +MASTER_SITES= http://www.soulride.com/products/images/ +PKGNAMEPREFIX= linux- +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 + +WRKSRC= ${WRKDIR}/soulride +ONLY_FOR_ARCHS= i386 +PREFIX?= ${X11BASE} # USE_X_PREFIX would pull in USE_XLIB +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 + +do-install: + ${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/virtual-jay-peak ${PREFIX}/bin + + ${MKDIR} ${PREFIX}/libexec + ${INSTALL_PROGRAM} ${WRKSRC}/soulride-static ${PREFIX}/libexec + + ${MKDIR} ${DATADIR} +.for d in Recordings data + ${CP} -R ${WRKSRC}/${d} ${DATADIR} +.endfor + + -${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/* + ${FIND} ${DATADIR}/* -type f -exec ${CHMOD} ${SHAREMODE} {} \; + ${FIND} ${DATADIR}/* -type d -exec ${CHMOD} ${BINMODE} {} \; + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in readme-jay_peak.txt readme-linux.txt + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/games/linux-virtual-jay-peak/distinfo b/games/linux-virtual-jay-peak/distinfo new file mode 100644 index 000000000000..c77b94a55f5e --- /dev/null +++ b/games/linux-virtual-jay-peak/distinfo @@ -0,0 +1,2 @@ +MD5 (virtual_jay_peak_linux_1_1a.tar.gz) = ad71057a223e3dfc1ba55f8ff94693bb +SIZE (virtual_jay_peak_linux_1_1a.tar.gz) = 7306520 diff --git a/games/linux-virtual-jay-peak/files/virtual-jay-peak.in b/games/linux-virtual-jay-peak/files/virtual-jay-peak.in new file mode 100644 index 000000000000..5271c32acc08 --- /dev/null +++ b/games/linux-virtual-jay-peak/files/virtual-jay-peak.in @@ -0,0 +1,19 @@ +#!/bin/sh + +# you may override these options in ~/.virtual-jay-peak/config +Fullscreen="1" # enable fullscreen +OGLModeIndex="9" # use 1280x1024x32 video mode + +[ -f ~/.virtual-jay-peak/config ] && . ~/.virtual-jay-peak/config + +# The executable needs to be run from its data directory, and needs to +# store configuration in it. We therefore mirror the data directory +# hierarchy in ~/.virtual-jay-peak, and create symlinks to the data +# files. + +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 + +cd ~/.virtual-jay-peak || exit 1 +exec @LIBEXECDIR@/soulride-static DefaultMountain=Jay_Peak Fullscreen=$Fullscreen OGLModeIndex=$OGLModeIndex "$@" diff --git a/games/linux-virtual-jay-peak/pkg-descr b/games/linux-virtual-jay-peak/pkg-descr new file mode 100644 index 000000000000..499a83f52e1b --- /dev/null +++ b/games/linux-virtual-jay-peak/pkg-descr @@ -0,0 +1,10 @@ +Virtual Jay Peak is a simulation of snowboarding at the Jay Peak +resort in Vermont. The terrain is based on geological survey data of +the mountain and surrounding area, with the addition of signature +trails and buildings. The software is based on the extreme backcountry +snowboarding game Soul Ride. + +WWW: http://www.soulride.com/products/jay_peak.html + +- Jean-Yves Lefort +jylefort@FreeBSD.org diff --git a/games/linux-virtual-jay-peak/pkg-plist b/games/linux-virtual-jay-peak/pkg-plist new file mode 100644 index 000000000000..a1ed1f62a11a --- /dev/null +++ b/games/linux-virtual-jay-peak/pkg-plist @@ -0,0 +1,229 @@ +bin/virtual-jay-peak +libexec/soulride-static +%%DATADIR%%/Recordings/jaydemo.srr +%%DATADIR%%/data/Jay_Peak/Jay_Peak.srt +%%DATADIR%%/data/Jay_Peak/angelswig.psd +%%DATADIR%%/data/Jay_Peak/angelswig.srm +%%DATADIR%%/data/Jay_Peak/apple tree.psd +%%DATADIR%%/data/Jay_Peak/bldplain.psd +%%DATADIR%%/data/Jay_Peak/bldplain.srm +%%DATADIR%%/data/Jay_Peak/blue.psd +%%DATADIR%%/data/Jay_Peak/bluegate.srm +%%DATADIR%%/data/Jay_Peak/columbia finish.psd +%%DATADIR%%/data/Jay_Peak/columbia finish.srm +%%DATADIR%%/data/Jay_Peak/columbia sign.psd +%%DATADIR%%/data/Jay_Peak/columbia sign.srm +%%DATADIR%%/data/Jay_Peak/convert sign orig.psd +%%DATADIR%%/data/Jay_Peak/convert sign.psd +%%DATADIR%%/data/Jay_Peak/convert sign.srm +%%DATADIR%%/data/Jay_Peak/everglade.psd +%%DATADIR%%/data/Jay_Peak/everglade.srm +%%DATADIR%%/data/Jay_Peak/fence.srm +%%DATADIR%%/data/Jay_Peak/finish.psd +%%DATADIR%%/data/Jay_Peak/gray.psd +%%DATADIR%%/data/Jay_Peak/jay_base.srm +%%DATADIR%%/data/Jay_Peak/jay_finish.psd +%%DATADIR%%/data/Jay_Peak/jay_ldg_win.psd +%%DATADIR%%/data/Jay_Peak/jay_siding.psd +%%DATADIR%%/data/Jay_Peak/jay_top.srm +%%DATADIR%%/data/Jay_Peak/jay_wall.psd +%%DATADIR%%/data/Jay_Peak/jay_wall2.psd +%%DATADIR%%/data/Jay_Peak/jay_wall3.psd +%%DATADIR%%/data/Jay_Peak/jay_win.psd +%%DATADIR%%/data/Jay_Peak/jay_window.psd +%%DATADIR%%/data/Jay_Peak/jaydeck.srm +%%DATADIR%%/data/Jay_Peak/jaylogo.psd +%%DATADIR%%/data/Jay_Peak/lift.psd +%%DATADIR%%/data/Jay_Peak/lift.srm +%%DATADIR%%/data/Jay_Peak/lifthouse.srm +%%DATADIR%%/data/Jay_Peak/liftwin.psd +%%DATADIR%%/data/Jay_Peak/maple.psd +%%DATADIR%%/data/Jay_Peak/maple2.psd +%%DATADIR%%/data/Jay_Peak/maple3.psd +%%DATADIR%%/data/Jay_Peak/metal.psd +%%DATADIR%%/data/Jay_Peak/montrealer.psd +%%DATADIR%%/data/Jay_Peak/montrealer.srm +%%DATADIR%%/data/Jay_Peak/mtdew finish.psd +%%DATADIR%%/data/Jay_Peak/mtdew finish.srm +%%DATADIR%%/data/Jay_Peak/mtdew.psd +%%DATADIR%%/data/Jay_Peak/mtdew.srm +%%DATADIR%%/data/Jay_Peak/new lift building.srm +%%DATADIR%%/data/Jay_Peak/paradise.psd +%%DATADIR%%/data/Jay_Peak/paradise.srm +%%DATADIR%%/data/Jay_Peak/poma blue.psd +%%DATADIR%%/data/Jay_Peak/postload.lua +%%DATADIR%%/data/Jay_Peak/preload.lua +%%DATADIR%%/data/Jay_Peak/red.psd +%%DATADIR%%/data/Jay_Peak/redcross.psd +%%DATADIR%%/data/Jay_Peak/redgate.srm +%%DATADIR%%/data/Jay_Peak/rider-board.psd +%%DATADIR%%/data/Jay_Peak/rider-jacket columbia.psd +%%DATADIR%%/data/Jay_Peak/rider-jacket.psd +%%DATADIR%%/data/Jay_Peak/roof.psd +%%DATADIR%%/data/Jay_Peak/salomon finish.psd +%%DATADIR%%/data/Jay_Peak/salomon finish.srm +%%DATADIR%%/data/Jay_Peak/salomon sign.psd +%%DATADIR%%/data/Jay_Peak/salomon sign.srm +%%DATADIR%%/data/Jay_Peak/salomon-board.psd +%%DATADIR%%/data/Jay_Peak/salomon-bottom.psd +%%DATADIR%%/data/Jay_Peak/shingles.psd +%%DATADIR%%/data/Jay_Peak/sign-right.psd +%%DATADIR%%/data/Jay_Peak/sign-right.srm +%%DATADIR%%/data/Jay_Peak/stateside.srm +%%DATADIR%%/data/Jay_Peak/stone.psd +%%DATADIR%%/data/Jay_Peak/timbuktu.psd +%%DATADIR%%/data/Jay_Peak/timbuktu.srm +%%DATADIR%%/data/Jay_Peak/vermonter.psd +%%DATADIR%%/data/Jay_Peak/vermonter.srm +%%DATADIR%%/data/Jay_Peak/wood.psd +%%DATADIR%%/data/airdrag.wav +%%DATADIR%%/data/arrow-cursor.psd +%%DATADIR%%/data/asphalt0.psd +%%DATADIR%%/data/asphalt1.psd +%%DATADIR%%/data/ching0.wav +%%DATADIR%%/data/clear.lua +%%DATADIR%%/data/cloud0.psd +%%DATADIR%%/data/cloudy.lua +%%DATADIR%%/data/cross-cursor.psd +%%DATADIR%%/data/cursor.psd +%%DATADIR%%/data/deedoodeedoo.wav +%%DATADIR%%/data/detail.psd +%%DATADIR%%/data/ding.wav +%%DATADIR%%/data/ding1.wav +%%DATADIR%%/data/ding2.wav +%%DATADIR%%/data/ding3.wav +%%DATADIR%%/data/ding4.wav +%%DATADIR%%/data/doodooding.wav +%%DATADIR%%/data/dropmarker.psd +%%DATADIR%%/data/figure/armll.srm +%%DATADIR%%/data/figure/armlr.srm +%%DATADIR%%/data/figure/armul.srm +%%DATADIR%%/data/figure/armur.srm +%%DATADIR%%/data/figure/board-and-feet.srm +%%DATADIR%%/data/figure/legll.srm +%%DATADIR%%/data/figure/leglr.srm +%%DATADIR%%/data/figure/legul.srm +%%DATADIR%%/data/figure/legur.srm +%%DATADIR%%/data/figure/torsol.srm +%%DATADIR%%/data/figure/torsou.srm +%%DATADIR%%/data/finishgate.srm +%%DATADIR%%/data/finishside.psd +%%DATADIR%%/data/forest0.psd +%%DATADIR%%/data/forest1.psd +%%DATADIR%%/data/granular0.psd +%%DATADIR%%/data/granular1.psd +%%DATADIR%%/data/gui/attract-jay.ggm +%%DATADIR%%/data/gui/attract.psd +%%DATADIR%%/data/gui/attract_type.psd +%%DATADIR%%/data/gui/bonus-desc.ggm +%%DATADIR%%/data/gui/bonus-num.ggm +%%DATADIR%%/data/gui/bonus.ggm +%%DATADIR%%/data/gui/credits-intro-layout.ggm +%%DATADIR%%/data/gui/credits-intro.ggm +%%DATADIR%%/data/gui/credits-music.ggm +%%DATADIR%%/data/gui/credits-people-layout.ggm +%%DATADIR%%/data/gui/credits-people.ggm +%%DATADIR%%/data/gui/credits-team.ggm +%%DATADIR%%/data/gui/credits.ggm +%%DATADIR%%/data/gui/fixedsys.ggf +%%DATADIR%%/data/gui/font-lcd.psd +%%DATADIR%%/data/gui/font-score.psd +%%DATADIR%%/data/gui/font-slick.psd +%%DATADIR%%/data/gui/font-swiss-xcbi.psd +%%DATADIR%%/data/gui/gui_intro.psd +%%DATADIR%%/data/gui/guidefs.h +%%DATADIR%%/data/gui/hud-menu.ggm +%%DATADIR%%/data/gui/hud.ggm +%%DATADIR%%/data/gui/infoborder.ggm +%%DATADIR%%/data/gui/intro.ggm +%%DATADIR%%/data/gui/jaycutout.ggm +%%DATADIR%%/data/gui/jaylogo_cut.psd +%%DATADIR%%/data/gui/jaylogo_matte.psd +%%DATADIR%%/data/gui/lcd.ggf +%%DATADIR%%/data/gui/loading.ggm +%%DATADIR%%/data/gui/loading_message.ggm +%%DATADIR%%/data/gui/logos-1.psd +%%DATADIR%%/data/gui/menus.ggf +%%DATADIR%%/data/gui/mountain_name.ggm +%%DATADIR%%/data/gui/outro.ggm +%%DATADIR%%/data/gui/player_name.ggm +%%DATADIR%%/data/gui/player_status.ggm +%%DATADIR%%/data/gui/playername.ggm +%%DATADIR%%/data/gui/preintro.ggm +%%DATADIR%%/data/gui/runinfo.psd +%%DATADIR%%/data/gui/runinfo_text.ggm +%%DATADIR%%/data/gui/runintro.ggm +%%DATADIR%%/data/gui/score.ggf +%%DATADIR%%/data/gui/score.ggm +%%DATADIR%%/data/gui/scoresheet.ggm +%%DATADIR%%/data/gui/scoresheet_text.ggm +%%DATADIR%%/data/gui/slick.ggf +%%DATADIR%%/data/gui/spinning_disk.ggm +%%DATADIR%%/data/gui/srcutout.ggm +%%DATADIR%%/data/gui/srlogo.psd +%%DATADIR%%/data/gui/srlogo_cut.psd +%%DATADIR%%/data/gui/srlogo_matte.psd +%%DATADIR%%/data/gui/sshot_logoflash.ggm +%%DATADIR%%/data/gui/static.psd +%%DATADIR%%/data/gui/swiss-xcbi.ggf +%%DATADIR%%/data/gui/time_lcd.ggm +%%DATADIR%%/data/gui/vcr.ggm +%%DATADIR%%/data/gui/vcr.psd +%%DATADIR%%/data/gui/vcr_buttons.ggm +%%DATADIR%%/data/gui/vcr_chrome.ggm +%%DATADIR%%/data/gui/vcr_ffwd.ggm +%%DATADIR%%/data/gui/vcr_labels.ggm +%%DATADIR%%/data/gui/vcr_load.ggm +%%DATADIR%%/data/gui/vcr_pause.ggm +%%DATADIR%%/data/gui/vcr_play.ggm +%%DATADIR%%/data/gui/vcr_restart.ggm +%%DATADIR%%/data/gui/vcr_rew.ggm +%%DATADIR%%/data/gui/vcr_save.ggm +%%DATADIR%%/data/gui/vcr_slow.ggm +%%DATADIR%%/data/gui/vcr_static.ggm +%%DATADIR%%/data/hardpack0.psd +%%DATADIR%%/data/hardpack1.psd +%%DATADIR%%/data/hemlock.psd +%%DATADIR%%/data/ice0.psd +%%DATADIR%%/data/ice1.psd +%%DATADIR%%/data/icedrag.wav +%%DATADIR%%/data/mapcursor.psd +%%DATADIR%%/data/ogldrivers.txt +%%DATADIR%%/data/powder0.psd +%%DATADIR%%/data/powder1.psd +%%DATADIR%%/data/rewind-icon.psd +%%DATADIR%%/data/rewind.wav +%%DATADIR%%/data/rider-arm.psd +%%DATADIR%%/data/rider-board-bottom.psd +%%DATADIR%%/data/rider-board.psd +%%DATADIR%%/data/rider-feet.psd +%%DATADIR%%/data/rider-head.psd +%%DATADIR%%/data/rider-legs.psd +%%DATADIR%%/data/rock0.psd +%%DATADIR%%/data/rock1.psd +%%DATADIR%%/data/sand0.psd +%%DATADIR%%/data/sand1.psd +%%DATADIR%%/data/shadetable-gray.psd +%%DATADIR%%/data/shadetable-sunset.psd +%%DATADIR%%/data/shadetable.psd +%%DATADIR%%/data/skydome-gray.psd +%%DATADIR%%/data/skydome-sunset.psd +%%DATADIR%%/data/skydome.psd +%%DATADIR%%/data/snow-particle.psd +%%DATADIR%%/data/snowbump.wav +%%DATADIR%%/data/snowdrag.wav +%%DATADIR%%/data/snowflake.psd +%%DATADIR%%/data/snowing.lua +%%DATADIR%%/data/sunset.lua +%%DATADIR%%/data/water0.psd +%%DATADIR%%/data/water1.psd +%%DATADIR%%/data/whiteout.lua +%%PORTDOCS%%%%DOCSDIR%%/readme-jay_peak.txt +%%PORTDOCS%%%%DOCSDIR%%/readme-linux.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%DATADIR%%/Recordings +@dirrm %%DATADIR%%/data/Jay_Peak +@dirrm %%DATADIR%%/data/figure +@dirrm %%DATADIR%%/data/gui +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%%