Date: Sun, 13 Jul 2008 21:56:30 +1000 (YAKST) From: Alexander Logvinov <ports@logvinov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Alexander Logvinov <ports@logvinov.com> Subject: ports/125560: [new port] games/linux-ssamtfe: Serious Sam: The First Encounter Message-ID: <200807131156.m6DBuUd0040328@blg.akavia.ru> Resent-Message-ID: <200807131200.m6DC0Afo053265@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125560 >Category: ports >Synopsis: [new port] games/linux-ssamtfe: Serious Sam: The First Encounter >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 13 12:00:10 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Alexander Logvinov >Release: FreeBSD 6.3-RELEASE-p1 i386 >Organization: >Environment: >Description: Serious Sam is a high-adrenaline action-arcade shooter heavily focused on frantic arcade-style single player action. In a world where cyberpunk meets fantasy-fiction and advanced technology is mixed with black magic and psycho-powers, Sam travels through the beautiful world of ancient Egypt and several diverse planets, confronting countless Mental's minions on his way to the Mental's base. You need an original game CD to use this port. WWW: http://www.croteam.com/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # linux-ssamtfe # linux-ssamtfe/Makefile # linux-ssamtfe/distinfo # linux-ssamtfe/pkg-descr # linux-ssamtfe/pkg-plist # linux-ssamtfe/files # linux-ssamtfe/files/patch-ssamtfe # linux-ssamtfe/files/pkg-message.in # echo c - linux-ssamtfe mkdir -p linux-ssamtfe > /dev/null 2>&1 echo x - linux-ssamtfe/Makefile sed 's/^X//' >linux-ssamtfe/Makefile << 'END-of-linux-ssamtfe/Makefile' X# New ports collection makefile for: linux-ssamtfe X# Date created: 18 May 2008 X# Whom: Alexander Logvinov <ports@logvinov.com> X# X# $FreeBSD$ X# X XPORTNAME= ssamtfe XPORTVERSION= 1.05b3 XCATEGORIES= games linux XMASTER_SITES= http://liflg.0wnitsch.de/files/final/ XPKGNAMEPREFIX= linux- XDISTFILES= ${PORTNAME:S|ssam|serious.sam.|}_${PORTVERSION:S|b|beta|}-english-2.run X XMAINTAINER= ports@logvinov.com XCOMMENT= Serious Sam: The First Encounter X XRUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12 X XOPTIONS= VORBIS "Ogg playing support" on X XUSE_LINUX= yes XUSE_XLIB= yes XNO_BUILD= yes XNO_PACKAGE= Distribution is 279MB; set FORCE_PACKAGE if you really want\ X to build this package XRESTRICTED= Redistribution is limited, see license XPORTDOCS= README.liflg ShellSymbols.txt changes.txt notes.txt XSUB_FILES= pkg-message X X.include <bsd.port.pre.mk> X X.if defined(WITH_VORBIS) XRUN_DEPENDS+= ${LINUXBASE}/usr/lib/libvorbis.so.0:${PORTSDIR}/audio/linux-libvorbis XPLIST_SUB+= VORBIS="" X.else XPLIST_SUB+= VORBIS="@comment " X.endif X X# Gold Edition X.if exists(${CDROM_MOUNT}/Install/1_00c.gro) XGOLD= yes XGRO_FILES= ExtraTools music XPLIST_SUB+= GOLD="" NORMAL="@comment " X.else XGRO_FILES= ExtraTools a music scripts XPLIST_SUB+= GOLD="@comment " NORMAL="" X.endif X Xdo-extract: X @${MKDIR} ${WRKSRC}/Data X @cd ${WRKSRC} && ${SED} -e '1,/exit $$res/d' ${_DISTDIR}/${DISTFILES} |\ X ${GUNZIP_CMD} -q | ${TAR} xf - X.for file in SeriousSamPatch105_USA_linux bins X @${TAR} jx -C ${WRKSRC}/Data -f ${WRKSRC}/${file}.tar.bz2 X.endfor X Xpost-patch: X @${REINPLACE_CMD} -e "s|^\(GAMEDIR=\).*|\1\"${DATADIR}\"|" \ X -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/${PORTNAME} X Xdo-install: X.if !defined(CDROM_MOUNT) X @${ECHO_CMD} "${PKGNAME} requires CDROM_MOUNT set to mount point of CD" X @${FALSE} X.endif X.if !exists(${CDROM_MOUNT}/Install/Mods/SeriousSamTbn.tex) X @${ECHO_CMD} "${PKGNAME} requires a retail First Encounter disc" X @${FALSE} X.endif X @${MKDIR} ${DATADIR} X.for gro in ${GRO_FILES} X ${INSTALL_DATA} "${CDROM_MOUNT}/Install/1_00_${gro}.gro" ${DATADIR}/1_00_${gro}.gro X.endfor X.if defined(GOLD) X.for gro in "" _scripts X ${INSTALL_DATA} "${CDROM_MOUNT}/Install/1_00c${gro}.gro" ${DATADIR}/1_00c${gro}.gro X.endfor X.endif X.for gro in 1_00_ExtraTools 1_04_patch X ${INSTALL_DATA} ${WRKSRC}/Data/${gro}.gro ${DATADIR}/${gro}.gro X.endfor X.for dir in Controls Data Levels Demos Mods Scripts VirtualTrees X @cd ${CDROM_MOUNT}/Install && \ X ${FIND} ${dir} -type d -exec \ X ${MKDIR} "${DATADIR}/{}" \; && \ X ${FIND} ${dir} -type f -exec \ X ${INSTALL_DATA} "${CDROM_MOUNT}/Install/{}" "${DATADIR}/{}" \; X.endfor X.for dir in Controls Data Help Players SaveGame Scripts Temp X @cd ${WRKSRC}/Data && \ X ${FIND} ${dir} -type d -exec \ X ${MKDIR} "${DATADIR}/{}" \; && \ X ${FIND} ${dir} -type f -exec \ X ${INSTALL_DATA} "${WRKSRC}/Data/{}" "${DATADIR}/{}" \; X.endfor X @${MKDIR} ${DATADIR}/Bin X @cd ${WRKSRC}/Data && \ X ${FIND} Bin -type f -exec \ X ${INSTALL_PROGRAM} "${WRKSRC}/Data/{}" "${DATADIR}/{}" \; X ${BRANDELF} -t Linux ${DATADIR}/Bin/ssam_* X ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin X.if defined(WITH_VORBIS) X ${LN} -fs ${LINUXBASE}/usr/lib/libvorbisfile.so.3 ${DATADIR}/Bin/libvorbisfile.so X.endif X @${FIND} -E ${DATADIR} -type f \ X -iregex ".*\.(ctl|txt|lst|ini|cfg|des|reg)" \ X -exec ${SH} -c "${SED} "s/`printf '\r'`//" '{}' \ X >${WRKDIR}/tmp.txt; ${MV} ${WRKDIR}/tmp.txt '{}'" \; X @${ECHO} SERIOUS_MHZ=2000 > ${PREFIX}/etc/${PORTNAME}.conf.sample X.if !exists(${PREFIX}/etc/${PORTNAME}.conf) X ${INSTALL_DATA} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf X.endif X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} -p ${WRKSRC}/README.liflg ${DOCSDIR} X.for i in ${PORTDOCS:NREADME.liflg} X ${LN} -sf ${DATADIR}/Help/${i} ${DOCSDIR}/${i} X.endfor X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-linux-ssamtfe/Makefile echo x - linux-ssamtfe/distinfo sed 's/^X//' >linux-ssamtfe/distinfo << 'END-of-linux-ssamtfe/distinfo' XMD5 (serious.sam.tfe_1.05beta3-english-2.run) = 6401a1d9f92902c26d56f08db020fc2e XSHA256 (serious.sam.tfe_1.05beta3-english-2.run) = 84691f9e72dee882797a6d2fc7b8004478b3b911e5a03228d67d8896b4b6ba99 XSIZE (serious.sam.tfe_1.05beta3-english-2.run) = 11034817 END-of-linux-ssamtfe/distinfo echo x - linux-ssamtfe/pkg-descr sed 's/^X//' >linux-ssamtfe/pkg-descr << 'END-of-linux-ssamtfe/pkg-descr' XSerious Sam is a high-adrenaline action-arcade shooter heavily focused Xon frantic arcade-style single player action. In a world where cyberpunk Xmeets fantasy-fiction and advanced technology is mixed with black magic Xand psycho-powers, Sam travels through the beautiful world of ancient Egypt Xand several diverse planets, confronting countless Mental's minions on his way Xto the Mental's base. X XYou need an original game CD to use this port. X XWWW: http://www.croteam.com/ END-of-linux-ssamtfe/pkg-descr echo x - linux-ssamtfe/pkg-plist sed 's/^X//' >linux-ssamtfe/pkg-plist << 'END-of-linux-ssamtfe/pkg-plist' X@unexec if cmp -s %D/etc/ssamtfe.conf %D/etc/ssamtfe.conf.sample; then rm -f %D/etc/ssamtfe.conf; fi Xbin/ssamtfe Xetc/ssamtfe.conf.sample X@exec [ -f %B/ssamtfe.conf ] || cp %B/%f %B/ssamtfe.conf X%%DATADIR%%/1_00_ExtraTools.gro X%%NORMAL%%%%DATADIR%%/1_00_a.gro X%%GOLD%%%%DATADIR%%/1_00c.gro X%%DATADIR%%/1_00_music.gro X%%NORMAL%%%%DATADIR%%/1_00_scripts.gro X%%GOLD%%%%DATADIR%%/1_00c_scripts.gro X%%DATADIR%%/1_04_patch.gro X%%DATADIR%%/Bin/libEntities.so X%%DATADIR%%/Bin/libGame.so X%%DATADIR%%/Bin/libShaders.so X%%DATADIR%%/Bin/libamp11lib.so X%%VORBIS%%%%DATADIR%%/Bin/libvorbisfile.so X%%DATADIR%%/Bin/ssam_lnx X%%DATADIR%%/Bin/ssam_lnx.dynamic X%%DATADIR%%/Bin/ssam_lnxded X%%DATADIR%%/Bin/ssam_lnxded.dynamic X%%DATADIR%%/Controls/System/Common.ctl X%%DATADIR%%/Controls/00-Default.ctl X%%DATADIR%%/Controls/01-Keyboard.ctl X%%DATADIR%%/Controls/02-PantherXL.ctl X%%DATADIR%%/Controls/03-Wingman Extreme.ctl X%%DATADIR%%/Controls/04-Wingman GamePad.ctl X%%DATADIR%%/Controls/05-2nd Mouse.ctl X%%DATADIR%%/Controls/05-2nd Mouse.des X%%DATADIR%%/Controls/10-DEN.ctl X%%DATADIR%%/Data/Defaults/WorldEditor.reg X%%DATADIR%%/Data/Var/DefaultPlayer.var X%%DATADIR%%/Data/Var/Sam_Version.var X%%DATADIR%%/Data/Default.ifr X%%DATADIR%%/Data/IFeel.txt X%%DATADIR%%/Data/Logitech.ifr X%%DATADIR%%/Data/NoCRC.lst X%%DATADIR%%/Data/SED_TipOfTheDay.txt X%%DATADIR%%/Demos/Default.ini X%%DATADIR%%/Demos/auto-demo0001.dem X%%DATADIR%%/Demos/auto-demo0001.ini X%%DATADIR%%/Demos/auto-demo0001Tbn.tex X%%DATADIR%%/Demos/auto-demo0002.dem X%%DATADIR%%/Demos/auto-demo0002.ini X%%DATADIR%%/Demos/auto-demo0002Tbn.tex X%%DATADIR%%/Demos/auto-demo0003.dem X%%DATADIR%%/Demos/auto-demo0003.ini X%%DATADIR%%/Demos/auto-demo0003Tbn.tex X%%DATADIR%%/Demos/auto-demoMP0001.dem X%%DATADIR%%/Demos/auto-demoMP0001.ini X%%DATADIR%%/Demos/auto-demoMP0001Tbn.tex X%%DATADIR%%/Demos/auto-demoMP0002.dem X%%DATADIR%%/Demos/auto-demoMP0002.ini X%%DATADIR%%/Demos/auto-demoMP0002Tbn.tex X%%DATADIR%%/Help/ShellSymbols.txt X%%DATADIR%%/Help/changes.txt X%%DATADIR%%/Help/notes.txt X%%DATADIR%%/Levels/Deathmatch/DesertTemple.wld X%%DATADIR%%/Levels/Deathmatch/DesertTempleTbn.tex X%%DATADIR%%/Levels/01_Hatshepsut.vis X%%DATADIR%%/Levels/01_Hatshepsut.wld X%%DATADIR%%/Levels/01_HatshepsutTbn.tex X%%DATADIR%%/Levels/02_SandCanyon.wld X%%DATADIR%%/Levels/02_SandCanyonTbn.tex X%%DATADIR%%/Levels/03_TombOfRamses.wld X%%DATADIR%%/Levels/03_TombOfRamsesTbn.tex X%%DATADIR%%/Levels/04_ValleyOfTheKings.wld X%%DATADIR%%/Levels/04_ValleyOfTheKingsTbn.tex X%%DATADIR%%/Levels/05_MoonMountains.wld X%%DATADIR%%/Levels/05_MoonMountainsTbn.tex X%%DATADIR%%/Levels/06_Oasis.wld X%%DATADIR%%/Levels/06_OasisTbn.tex X%%DATADIR%%/Levels/07_Dunes.wld X%%DATADIR%%/Levels/07_DunesTbn.tex X%%DATADIR%%/Levels/08_Suburbs.wld X%%DATADIR%%/Levels/08_SuburbsTbn.tex X%%DATADIR%%/Levels/09_Sewers.wld X%%DATADIR%%/Levels/09_SewersTbn.tex X%%DATADIR%%/Levels/10_Metropolis.wld X%%DATADIR%%/Levels/10_MetropolisTbn.tex X%%DATADIR%%/Levels/11_AlleyOfSphinxes.wld X%%DATADIR%%/Levels/11_AlleyOfSphinxesTbn.tex X%%DATADIR%%/Levels/12_Karnak.wld X%%DATADIR%%/Levels/12_KarnakTbn.tex X%%DATADIR%%/Levels/13_Luxor.wld X%%DATADIR%%/Levels/13_LuxorTbn.tex X%%DATADIR%%/Levels/14_SacredYards.wld X%%DATADIR%%/Levels/14_SacredYardsTbn.tex X%%DATADIR%%/Levels/15_TheGreatPyramid.wld X%%DATADIR%%/Levels/15_TheGreatPyramidTbn.tex X%%DATADIR%%/Levels/Intro.wld X%%DATADIR%%/Levels/KarnakDemo.wld X%%DATADIR%%/Levels/KarnakDemoTbn.tex X%%DATADIR%%/Levels/TechTest.wld X%%DATADIR%%/Levels/TechTestTbn.tex X%%DATADIR%%/Mods/SeriousSam/BaseBrowseInclude.lst X%%DATADIR%%/Mods/SeriousSam/BaseWriteInclude.lst X%%DATADIR%%/Mods/SeriousSam.des X%%DATADIR%%/Mods/SeriousSamTbn.tex X%%DATADIR%%/Scripts/Commands/kick.ini X%%DATADIR%%/Scripts/Commands/list.ini X%%DATADIR%%/Scripts/Commands/rkick.ini X%%DATADIR%%/Scripts/Commands/rlist.ini X%%DATADIR%%/Scripts/CustomOptions/GFX-AdvancedRendering.cfg X%%DATADIR%%/Scripts/Dedicated/DefaultCoop/1_begin.ini X%%DATADIR%%/Scripts/Dedicated/DefaultCoop/1_end.ini X%%DATADIR%%/Scripts/Dedicated/DefaultCoop/init.ini X%%DATADIR%%/Scripts/Dedicated/DefaultFragmatch/1_begin.ini X%%DATADIR%%/Scripts/Dedicated/DefaultFragmatch/1_end.ini X%%DATADIR%%/Scripts/Dedicated/DefaultFragmatch/init.ini X%%DATADIR%%/Scripts/Dedicated/DefaultScorematch/1_begin.ini X%%DATADIR%%/Scripts/Dedicated/DefaultScorematch/1_end.ini X%%DATADIR%%/Scripts/Dedicated/DefaultScorematch/init.ini X%%DATADIR%%/Scripts/Dedicated/DemoCoop/1_begin.ini X%%DATADIR%%/Scripts/Dedicated/DemoCoop/1_end.ini X%%DATADIR%%/Scripts/Dedicated/DemoCoop/2_begin.ini X%%DATADIR%%/Scripts/Dedicated/DemoCoop/2_end.ini X%%DATADIR%%/Scripts/Dedicated/DemoCoop/3_begin.ini X%%DATADIR%%/Scripts/Dedicated/DemoCoop/3_end.ini X%%DATADIR%%/Scripts/Dedicated/DemoCoop/init.ini X%%NORMAL%%%%DATADIR%%/Scripts/Dedicated/Dedicated_startup.ini X%%DATADIR%%/Scripts/GLSettings/3Dfx-V1.ini X%%DATADIR%%/Scripts/GLSettings/3Dfx-V2.ini X%%DATADIR%%/Scripts/GLSettings/3Dfx-V3.ini X%%DATADIR%%/Scripts/GLSettings/3Dfx-V5.ini X%%DATADIR%%/Scripts/GLSettings/ATI-FGL.ini X%%DATADIR%%/Scripts/GLSettings/ATI-Maxx.ini X%%DATADIR%%/Scripts/GLSettings/ATI-R128.ini X%%DATADIR%%/Scripts/GLSettings/ATI-Radeon.ini X%%DATADIR%%/Scripts/GLSettings/ATI-RPRO.ini X%%DATADIR%%/Scripts/GLSettings/Default.ini X%%DATADIR%%/Scripts/GLSettings/GLSettings.lst X%%DATADIR%%/Scripts/GLSettings/I-i740.ini X%%DATADIR%%/Scripts/GLSettings/I-i752.ini X%%DATADIR%%/Scripts/GLSettings/Initial.ini X%%DATADIR%%/Scripts/GLSettings/MGA-G200.ini X%%DATADIR%%/Scripts/GLSettings/MGA-G400.ini X%%DATADIR%%/Scripts/GLSettings/NV-GF.ini X%%DATADIR%%/Scripts/GLSettings/NV-TNT.ini X%%DATADIR%%/Scripts/GLSettings/PVR-Kyro.ini X%%DATADIR%%/Scripts/GLSettings/RAM.ini X%%DATADIR%%/Scripts/GLSettings/S3-S2K.ini X%%DATADIR%%/Scripts/GLSettings/S3-S4.ini X%%DATADIR%%/Scripts/Menu/GameOptions.cfg X%%DATADIR%%/Scripts/NetSettings/56-normal.des X%%DATADIR%%/Scripts/NetSettings/56-normal.ini X%%DATADIR%%/Scripts/NetSettings/56k-quality.des X%%DATADIR%%/Scripts/NetSettings/56k-quality.ini X%%DATADIR%%/Scripts/NetSettings/DSLCable.des X%%DATADIR%%/Scripts/NetSettings/DSLCable.ini X%%DATADIR%%/Scripts/NetSettings/ISDN.des X%%DATADIR%%/Scripts/NetSettings/ISDN.ini X%%DATADIR%%/Scripts/NetSettings/LAN.des X%%DATADIR%%/Scripts/NetSettings/LAN.ini X%%DATADIR%%/Scripts/NetSettings/OldModem.des X%%DATADIR%%/Scripts/NetSettings/OldModem.ini X%%DATADIR%%/Scripts/WorldEditorKeys/F2.ini X%%DATADIR%%/Scripts/WorldEditorKeys/F3.ini X%%DATADIR%%/Scripts/WorldEditorKeys/F4.ini X%%DATADIR%%/Scripts/WorldEditorKeys/MiddleMouse.ini X%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F2.ini X%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F3.ini X%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F4.ini X%%DATADIR%%/Scripts/Dedicated_startup.ini X%%DATADIR%%/Scripts/Game_startup.ini X%%DATADIR%%/Scripts/PersistentSymbols.ini X%%DATADIR%%/VirtualTrees/BasicVirtualTree.vrt X@dirrmtry %%DATADIR%%/Bin X@dirrmtry %%DATADIR%%/Controls/System X@dirrmtry %%DATADIR%%/Controls X@dirrmtry %%DATADIR%%/Data/Defaults X@dirrmtry %%DATADIR%%/Data/Var X@dirrmtry %%DATADIR%%/Data X@dirrmtry %%DATADIR%%/Demos X@dirrmtry %%DATADIR%%/Help X@dirrmtry %%DATADIR%%/Levels/Deathmatch X@dirrmtry %%DATADIR%%/Levels X@dirrmtry %%DATADIR%%/Mods/SeriousSam X@dirrmtry %%DATADIR%%/Mods X@dirrmtry %%DATADIR%%/Players X@dirrmtry %%DATADIR%%/SaveGame/Network/Quick X@dirrmtry %%DATADIR%%/SaveGame/Network X@dirrmtry %%DATADIR%%/SaveGame/Player0/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player0 X@dirrmtry %%DATADIR%%/SaveGame/Player1/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player1 X@dirrmtry %%DATADIR%%/SaveGame/Player2/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player2 X@dirrmtry %%DATADIR%%/SaveGame/Player3/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player3 X@dirrmtry %%DATADIR%%/SaveGame/Player4/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player4 X@dirrmtry %%DATADIR%%/SaveGame/Player5/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player5 X@dirrmtry %%DATADIR%%/SaveGame/Player6/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player6 X@dirrmtry %%DATADIR%%/SaveGame/Player7/Quick X@dirrmtry %%DATADIR%%/SaveGame/Player7 X@dirrmtry %%DATADIR%%/SaveGame/SplitScreen/Quick X@dirrmtry %%DATADIR%%/SaveGame/SplitScreen X@dirrmtry %%DATADIR%%/SaveGame X@dirrmtry %%DATADIR%%/Scripts/Commands X@dirrmtry %%DATADIR%%/Scripts/CustomOptions X@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultCoop X@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultFragmatch X@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultScorematch X@dirrmtry %%DATADIR%%/Scripts/Dedicated/DemoCoop X@dirrmtry %%DATADIR%%/Scripts/Dedicated X@dirrmtry %%DATADIR%%/Scripts/GLSettings X@dirrmtry %%DATADIR%%/Scripts/Menu X@dirrmtry %%DATADIR%%/Scripts/NetSettings X@dirrmtry %%DATADIR%%/Scripts/WorldEditorKeys X@dirrmtry %%DATADIR%%/Scripts X@dirrmtry %%DATADIR%%/Temp X@dirrmtry %%DATADIR%%/VirtualTrees X@dirrmtry %%DATADIR%% END-of-linux-ssamtfe/pkg-plist echo c - linux-ssamtfe/files mkdir -p linux-ssamtfe/files > /dev/null 2>&1 echo x - linux-ssamtfe/files/patch-ssamtfe sed 's/^X//' >linux-ssamtfe/files/patch-ssamtfe << 'END-of-linux-ssamtfe/files/patch-ssamtfe' X--- bin/ssamtfe.orig 2008-05-18 23:51:30.000000000 +1000 X+++ bin/ssamtfe 2008-05-18 23:58:42.000000000 +1000 X@@ -1,4 +1,4 @@ X-#!/bin/bash X+#!/bin/sh X ############################################################################### X # X ## LIFLG Startup Script X@@ -49,6 +49,18 @@ X ############################################################################### X ## DO NOT EDIT BELOW THIS LINE X ############################################################################### X+ X+# config file X+if [ -r %%PREFIX%%/etc/ssamtfe.conf ]; then X+ . %%PREFIX%%/etc/ssamtfe.conf X+fi X+if [ -n "${SERIOUS_MHZ}" ]; then X+ export SERIOUS_MHZ X+else X+ echo "Can't get CPU speed. Please set SERIOUS_MHZ variable in %%PREFIX%%/etc/ssamtfe.conf" X+ exit 1 X+fi X+ X export LANG="POSIX" X X test -n "${SDL_AUDIODRIVER}" && export SDL_AUDIODRIVER END-of-linux-ssamtfe/files/patch-ssamtfe echo x - linux-ssamtfe/files/pkg-message.in sed 's/^X//' >linux-ssamtfe/files/pkg-message.in << 'END-of-linux-ssamtfe/files/pkg-message.in' X XYou need to edit %%PREFIX%%/etc/ssamtfe.conf Xto set correct CPU frequency in SERIOUS_MHZ variable. X XRun the game using: X X# ssamtfe X END-of-linux-ssamtfe/files/pkg-message.in exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807131156.m6DBuUd0040328>