Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 08:26:35 +1000 (YAKST)
From:      Alexander Logvinov <ports@logvinov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Alexander Logvinov <ports@logvinov.com>
Subject:   ports/125910: [repocopy] move games/ssamtse to games/linux-ssamtse and update to latest
Message-ID:  <200807232226.m6NMQZoo042671@blg.akavia.ru>
Resent-Message-ID: <200807232230.m6NMU3Ot029026@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125910
>Category:       ports
>Synopsis:       [repocopy] move games/ssamtse to games/linux-ssamtse and update to latest
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 23 22:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Logvinov
>Release:        FreeBSD 6.3-RELEASE-p1 i386
>Organization:
>Environment:

>Description:
    
    Please repocopy games/ssamtse to games/linux-ssamtse and remove games/ssamtse
    for syncing with games/linux-ssamtfe.
    
    Update to 1.07b1
    
	
>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/ssamtse/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	23 Jul 2008 14:07:30 -0000	1.11
+++ Makefile	23 Jul 2008 20:46:50 -0000
@@ -6,65 +6,114 @@
 #
 
 PORTNAME=	ssamtse
-PORTVERSION=	b1
-PORTREVISION=	2
-CATEGORIES=	games
-MASTER_SITES=	# must fetch manually
-DISTFILES=	${PORTNAME}-${PORTVERSION:S|b|beta|}.sh.bin
-EXTRACT_ONLY=
+PORTVERSION=	1.07b1
+CATEGORIES=	games linux
+MASTER_SITES=	http://liflg.0wnitsch.de/files/final/
+PKGNAMEPREFIX=	linux-
+DISTFILES=	${PORTNAME:S|ssam|serious.sam.|}_${PORTVERSION:S|b|beta|}-english-2.run
 
 MAINTAINER=	ports@logvinov.com
-COMMENT=	Serious Sam - The Second Encounter
+COMMENT=	Serious Sam: The Second Encounter for Linux
+
+RUN_DEPENDS=	${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
+
+OPTIONS=	VORBIS	"Ogg playing support"	on
 
-NO_BUILD=	yes
-USE_BZIP2=	yes
 USE_LINUX=	yes
 USE_XLIB=	yes
-USE_GL=		yes
-USE_LDCONFIG=	yes
-NO_PACKAGE=	yes	# distfiles must be downloaded manually, wierd legal issues etc etc etc.
-
-SSAMDIR=	${PREFIX}/ssam
-SERIOUS_MHZ?=	1000
-PKGMESSAGE=	${WRKDIR}/pkgmsg
-
-ONLY_FOR_ARCHS=	i386
-
-pre-fetch:
-	@if test ! -e "${DISTDIR}/${DISTFILES}"; then \
-		${ECHO_MSG} "Warning: you should fetch distfiles for this port"; \
-		${ECHO_MSG} "manually! Google for 'serious sam linux', and get"; \
-		${ECHO_MSG} "following files into distdir:"; \
-		${ECHO_MSG} "	${DISTFILES}"; \
-		${ECHO_MSG} "I'll enable auto-fetch, when licensing issues"; \
-		${ECHO_MSG} "become clear"; \
-		${FALSE}; \
-	fi
-
-post-extract:
-.if !exists("${WRKDIR}/ssam/")
-	@${ECHO} n | ${SH} ${DISTDIR}/${DISTFILES} --keep --nox11 --confirm \
-		--target ${WRKDIR}/ssam
-	@${ECHO_MSG} ""
+NO_BUILD=	yes
+NO_PACKAGE=	Distribution is 352MB; set FORCE_PACKAGE if you really want\
+		to build this package
+RESTRICTED=	Redistribution is limited, see license
+PORTDOCS=	README.liflg ShellSymbols.txt changes.txt Notes_1_04.txt
+SUB_FILES=	pkg-message
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_VORBIS)
+RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libvorbis.so.0:${PORTSDIR}/audio/linux-libvorbis
+PLIST_SUB+=	VORBIS=""
+.else
+PLIST_SUB+=	VORBIS="@comment "
 .endif
-	@${MKDIR} ${WRKSRC}
-	@${TAR} -C ${WRKSRC} -xzf ${WRKDIR}/ssam/setupstuff.tar.gz
+
+# Gold Edition
+.if exists(${CDROM_MOUNT}/Install/SEGold_DM.gro)
+PLIST_SUB+=	GOLD=""
+.else
+PLIST_SUB+=	GOLD="@comment "
+.endif
+
+do-extract:
+	@${MKDIR} ${WRKSRC}/Data
+	@cd ${WRKSRC} && ${SED} -e '1,/exit $$res/d' ${_DISTDIR}/${DISTFILES} |\
+		${GUNZIP_CMD} -q | ${TAR} xf -
+	@${TAR} jx -C ${WRKSRC}/Data -f ${WRKSRC}/bins.tar.bz2
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|%SSAMTSE_DATA_PATH%|${SSAMDIR}/Bin|g' \
-		-e 's|%SERIOUS_MHZ%|${SERIOUS_MHZ}|g' \
-		${WRKSRC}/bin/ssamtse
-	@${SED} 's|%SSAMDIR%|${SSAMDIR}|g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
+	@${REINPLACE_CMD} -e "s|^\(GAMEDIR=\).*|\1\"${DATADIR}\"|" \
+		-e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/${PORTNAME}
 
 do-install:
-# XXX: this is missing "${BRANDELF} -t Linux <executables>"
-	@${MKDIR} ${SSAMDIR}
-	@${TAR} --bzip2 -C ${SSAMDIR} -xf \
-		${WRKDIR}/ssam/bins.tar.bz2
-	@${LN} -sf ${SSAMDIR}/Bin/libogg.so ${SSAMDIR}/Bin/libogg.so.0
-	@${LN} -sf ${SSAMDIR}/Bin/libGameMP.so ${SSAMDIR}/Bin/libGame.so
-	@${LN} -sf ${SSAMDIR}/Bin/libEntitiesMP.so ${SSAMDIR}/Bin/libEntities.so
-	@${INSTALL_SCRIPT} ${WRKSRC}/bin/ssamtse ${PREFIX}/bin/ssamtse
+.if !defined(CDROM_MOUNT)
+	@${ECHO_CMD} "${PKGNAME} requires CDROM_MOUNT set to mount point of CD"
+	@${FALSE}
+.endif
+.if !exists(${CDROM_MOUNT}/Install/Mods/SecondEncounterTbn.tex)
+	@${ECHO_CMD} "${PKGNAME} requires a retail Second Encounter disc"
+	@${FALSE}
+.endif
+	@${MKDIR} ${DATADIR}/Mods
+.for gro in "" _Extra _ExtraTools _Levels _Music
+	${INSTALL_DATA} "${CDROM_MOUNT}/Install/SE1_00${gro}.gro" ${DATADIR}/SE1_00${gro}.gro
+.endfor
+	${INSTALL_DATA} "${CDROM_MOUNT}/Install/Mods/SecondEncounterTbn.tex" ${DATADIR}/Mods/SecondEncounterTbn.tex
+.for dir in Controls Data Scripts VirtualTrees Worlds Demos
+	@cd ${CDROM_MOUNT}/Install && \
+		${FIND} ${dir} -type d -exec \
+			${MKDIR} "${DATADIR}/{}" \; && \
+		${FIND} ${dir} -type f -exec \
+			${INSTALL_DATA} "${CDROM_MOUNT}/Install/{}" "${DATADIR}/{}" \;
+.endfor
+	@${MKDIR} ${DATADIR}/Help
+.for i in ${PORTDOCS:NREADME.liflg}
+	${INSTALL_DATA} "${CDROM_MOUNT}/Install/Help/${i}" ${DATADIR}/Help/${i}
+.endfor
+.for dir in Data/Var Levels
+	@cd ${WRKSRC} && \
+		${FIND} ${dir} -type d -exec \
+			${MKDIR} "${DATADIR}/{}" \; && \
+		${FIND} ${dir} -type f -exec \
+			${INSTALL_DATA} "${WRKSRC}/{}" "${DATADIR}/{}" \;
+.endfor
+	@${MKDIR} ${DATADIR}/Bin
+	@cd ${WRKSRC}/Data && \
+		${FIND} Bin -type f -exec \
+			${INSTALL_PROGRAM} "${WRKSRC}/Data/{}" "${DATADIR}/{}" \;
+	${BRANDELF} -t Linux ${DATADIR}/Bin/ssam_*
+	${INSTALL_DATA} ${WRKSRC}/ModExt.txt ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
+.if defined(WITH_VORBIS)
+	${LN} -fs ${LINUXBASE}/usr/lib/libvorbisfile.so.3 ${DATADIR}/Bin/libvorbisfile.so
+.endif
+	@${FIND} -E ${DATADIR} -type f \
+		-iregex ".*\.(ctl|txt|lst|ini|cfg|des|reg)" \
+		! -iregex ".*ModExt.txt" \
+		-exec ${SH} -c "${SED} "s/`printf '\r'`//" '{}' \
+		>${WRKDIR}/tmp.txt; ${MV} ${WRKDIR}/tmp.txt '{}'" \;
+	@${ECHO} SERIOUS_MHZ=2000 > ${PREFIX}/etc/${PORTNAME}.conf.sample
+.if !exists(${PREFIX}/etc/${PORTNAME}.conf)
+	${INSTALL_DATA} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf
+.endif
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} -p ${WRKSRC}/README.liflg ${DOCSDIR}
+.for i in ${PORTDOCS:NREADME.liflg}
+	${LN} -sf ${DATADIR}/Help/${i} ${DOCSDIR}/${i}
+.endfor
+.endif
+
+post-install:
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/games/ssamtse/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	28 Jan 2008 20:30:07 -0000	1.2
+++ distinfo	23 Jul 2008 20:46:50 -0000
@@ -1,3 +1,3 @@
-MD5 (ssamtse-beta1.sh.bin) = 38ba5a60f9f7132a25f92f8aa40c1ba0
-SHA256 (ssamtse-beta1.sh.bin) = 4be124430c5d013842b97287623e0aed83d2003eeb619abbcb286bc95e036304
-SIZE (ssamtse-beta1.sh.bin) = 7952607
+MD5 (serious.sam.tse_1.07beta1-english-2.run) = fc8a19d81c61e12d181254c593408587
+SHA256 (serious.sam.tse_1.07beta1-english-2.run) = fbc5c69196f03ca433b08f3debdd37751254a0b59f7cbcce63147a5dda5c48f7
+SIZE (serious.sam.tse_1.07beta1-english-2.run) = 10681201
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/games/ssamtse/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	28 Dec 2003 09:29:20 -0000	1.1
+++ pkg-descr	23 Jul 2008 20:46:50 -0000
@@ -1,8 +1,19 @@
-Sam is back in the all new Second Episode of his
-battles with his arch-enemy Mental! After finding
-the Sirian spacecraft in ancient Egypt, Sam
-"Serious" Stonr hijacked it and headed for Mental
-himself!
+Serious Sam: Second Encounter introduces three worlds where cyberpunk
+once again meets fantasy fiction, and features frantic action in
+12 massive single player levels. The Second Encounter includes three
+new episodes based in beautifully detailed ancient civilizations: South America,
+Babylon, and The Medieval Age. With fourteen total weapons at his disposal,
+three brand new, Sam is more serious than ever. He battles against hordes of
+old enemies and seven adversarial species in an effort to reach the Mental
+once and for all.
 
-Warning: You still need original game data files
-to play.
+Having successfully defeated the Mental forces in ancient Egypt,
+Sam "Serious" Stone seizes an abandoned spacecraft. On course in his crusade
+to finally assassinate the great evil Mental, our hero's spaceship suddenly
+tumbles into the South American Mountains - Sam seems destined to stay on Earth.
+He must fight the tougher, now more experienced members of Mental's destructive
+forces and find a new way to reach the notorious Mental himself.
+
+You need an original game CD to use this port.
+
+WWW: http://www.croteam.com/
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	28 Dec 2003 09:29:20 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-Serious Sam - The Second Encounter linux binaries are now
-installed. But it's up to you to copy SSam data files
-to %SSAMDIR%.
-
-Also, you need to edit ssamtse executable (this is a shell
-script) to set correct CPU frequency in SERIOUS_MHZ variable.
-This variable can also be passed to make at port build time.
-
-I hope, this will be fixed someday...
-(especially if someone mails me file list
-of original game CD)
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/games/ssamtse/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	28 Dec 2003 09:29:20 -0000	1.1
+++ pkg-plist	23 Jul 2008 20:46:50 -0000
@@ -1,20 +1,212 @@
+@unexec if cmp -s %D/etc/ssamtse.conf %D/etc/ssamtse.conf.sample; then rm -f %D/etc/ssamtse.conf; fi
 bin/ssamtse
-ssam/Bin/libEntitiesMP.so
-ssam/Bin/libamp11lib.so
-ssam/Bin/libvorbis.so
-ssam/Bin/ssam_lnx.dynamic
-ssam/Bin/libGameMP.so
-ssam/Bin/libvorbisfile.so
-ssam/Bin/ssam_lnxded
-ssam/Bin/libShaders.so
-ssam/Bin/libogg.so
-ssam/Bin/ssam_lnx
-ssam/Bin/ssam_lnxded.dynamic
-@exec ln -sf %D/ssam/Bin/libogg.so %D/ssam/Bin/libogg.so.0
-@exec ln -sf %D/ssam/Bin/libGameMP.so %D/ssam/Bin/libGame.so
-@exec ln -sf %D/ssam/Bin/libEntitiesMP.so %D/ssam/Bin/libEntities.so
-@unexec rm %D/ssam/Bin/libogg.so.0 2>&1 >/dev/null || true
-@unexec rm %D/ssam/Bin/libGame.so 2>&1 >/dev/null || true
-@unexec rm %D/ssam/Bin/libEntities.so 2>&1 >/dev/null || true
-@dirrm ssam/Bin
-@dirrm ssam
+etc/ssamtse.conf.sample
+@exec [ -f %B/ssamtse.conf ] || cp %B/%f %B/ssamtse.conf
+%%DATADIR%%/ModExt.txt
+%%DATADIR%%/SE1_00.gro
+%%DATADIR%%/SE1_00_Extra.gro
+%%DATADIR%%/SE1_00_ExtraTools.gro
+%%DATADIR%%/SE1_00_Levels.gro
+%%DATADIR%%/SE1_00_Music.gro
+%%DATADIR%%/Bin/libEntitiesMP.so
+%%DATADIR%%/Bin/libGameMP.so
+%%DATADIR%%/Bin/libShaders.so
+%%DATADIR%%/Bin/libamp11lib.so
+%%VORBIS%%%%DATADIR%%/Bin/libvorbisfile.so
+%%DATADIR%%/Bin/ssam_lnx
+%%DATADIR%%/Bin/ssam_lnx.dynamic
+%%DATADIR%%/Bin/ssam_lnxded
+%%DATADIR%%/Bin/ssam_lnxded.dynamic
+%%DATADIR%%/Controls/00-Default.ctl
+%%DATADIR%%/Controls/01-Keyboard.ctl
+%%DATADIR%%/Controls/02-PantherXL.ctl
+%%DATADIR%%/Controls/03-Wingman Extreme.ctl
+%%DATADIR%%/Controls/04-Wingman GamePad.ctl
+%%DATADIR%%/Controls/05-2nd Mouse.ctl
+%%DATADIR%%/Controls/10-DEN.ctl
+%%DATADIR%%/Controls/System/Common.ctl
+%%DATADIR%%/Data/Default.ifr
+%%DATADIR%%/Data/Defaults/WorldEditor.reg
+%%DATADIR%%/Data/IFeel.txt
+%%DATADIR%%/Data/Logitech.ifr
+%%DATADIR%%/Data/SED_TipOfTheDay.txt
+%%DATADIR%%/Data/Var/DefaultPlayer.var
+%%DATADIR%%/Data/Var/ModName.var
+%%DATADIR%%/Data/Var/Sam_Version.var
+%%DATADIR%%/Demos/Default.ini
+%%DATADIR%%/Demos/auto-demo0001.dem
+%%DATADIR%%/Demos/auto-demo0001.ini
+%%DATADIR%%/Demos/auto-demo0001Tbn.tex
+%%DATADIR%%/Demos/auto-demo0002.dem
+%%DATADIR%%/Demos/auto-demo0002.ini
+%%DATADIR%%/Demos/auto-demo0002Tbn.tex
+%%DATADIR%%/Demos/auto-demo0003.dem
+%%DATADIR%%/Demos/auto-demo0003.ini
+%%DATADIR%%/Demos/auto-demo0003Tbn.tex
+%%DATADIR%%/Demos/auto-demoMP0001.dem
+%%DATADIR%%/Demos/auto-demoMP0001.ini
+%%DATADIR%%/Demos/auto-demoMP0001Tbn.tex
+%%DATADIR%%/Demos/auto-demoMP0002.dem
+%%DATADIR%%/Demos/auto-demoMP0002.ini
+%%DATADIR%%/Demos/auto-demoMP0002Tbn.tex
+%%DATADIR%%/Help/ShellSymbols.txt
+%%DATADIR%%/Help/changes.txt
+%%DATADIR%%/Help/Notes_1_04.txt
+%%DATADIR%%/Levels/TechTest.tbn
+%%DATADIR%%/Levels/TechTest.wld
+%%DATADIR%%/Levels/TechTestTbn.tex
+%%DATADIR%%/Mods/SecondEncounterTbn.tex
+%%DATADIR%%/Scripts/Addons/Default.ini
+%%DATADIR%%/Scripts/Addons/Extreme.ini
+%%DATADIR%%/Scripts/Addons/SFX-AutoAdjust.ini
+%%DATADIR%%/Scripts/Addons/SSam_Voodoo2.ini
+%%DATADIR%%/Scripts/Addons/SafeMode.ini
+%%DATADIR%%/Scripts/Commands/kick.ini
+%%DATADIR%%/Scripts/Commands/list.ini
+%%DATADIR%%/Scripts/Commands/rkick.ini
+%%DATADIR%%/Scripts/Commands/rlist.ini
+%%DATADIR%%/Scripts/CustomOptions/GFX-AdvancedRendering.cfg
+%%DATADIR%%/Scripts/CustomOptions/NET-PredictionOptions.cfg
+%%DATADIR%%/Scripts/Dedicated/DefaultCoop/1_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultCoop/1_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultCoop/init.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/1_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/1_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/2_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/2_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/3_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/3_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/4_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/4_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/5_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/5_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/6_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/6_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/7_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/7_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/8_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/8_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/9_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/9_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/10_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/10_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/11_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/11_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/12_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/12_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/13_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/13_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE/init.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/1_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/1_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/2_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/2_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/3_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/3_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/4_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/4_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/5_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/5_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/6_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/6_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/7_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/7_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/8_begin.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/8_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/9_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/9_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/10_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/10_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/11_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/11_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/12_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/12_end.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/13_begin.ini
+%%GOLD%%%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/13_end.ini
+%%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE/init.ini
+%%DATADIR%%/Scripts/Dedicated_startup.ini
+%%DATADIR%%/Scripts/GLSettings/3Dfx-V1.ini
+%%DATADIR%%/Scripts/GLSettings/3Dfx-V2.ini
+%%DATADIR%%/Scripts/GLSettings/3Dfx-V3.ini
+%%DATADIR%%/Scripts/GLSettings/3Dfx-V5.ini
+%%DATADIR%%/Scripts/GLSettings/ATI-Maxx.ini
+%%DATADIR%%/Scripts/GLSettings/ATI-R128.ini
+%%DATADIR%%/Scripts/GLSettings/ATI-RPRO.ini
+%%DATADIR%%/Scripts/GLSettings/ATI-Radeon.ini
+%%DATADIR%%/Scripts/GLSettings/Default.ini
+%%DATADIR%%/Scripts/GLSettings/GLSettings.lst
+%%DATADIR%%/Scripts/GLSettings/I-i740.ini
+%%DATADIR%%/Scripts/GLSettings/I-i752.ini
+%%DATADIR%%/Scripts/GLSettings/Initial.ini
+%%DATADIR%%/Scripts/GLSettings/MGA-G200.ini
+%%DATADIR%%/Scripts/GLSettings/MGA-G400.ini
+%%DATADIR%%/Scripts/GLSettings/NV-GF.ini
+%%DATADIR%%/Scripts/GLSettings/NV-TNT.ini
+%%DATADIR%%/Scripts/GLSettings/PVR-Kyro.ini
+%%DATADIR%%/Scripts/GLSettings/RAM.ini
+%%DATADIR%%/Scripts/GLSettings/S3-S2K.ini
+%%DATADIR%%/Scripts/GLSettings/S3-S4.ini
+%%DATADIR%%/Scripts/Game_startup.ini
+%%DATADIR%%/Scripts/NetSettings/56-normal.ini
+%%DATADIR%%/Scripts/NetSettings/56k-quality.ini
+%%DATADIR%%/Scripts/NetSettings/DSLCable.ini
+%%DATADIR%%/Scripts/NetSettings/ISDN.ini
+%%DATADIR%%/Scripts/NetSettings/LAN.ini
+%%DATADIR%%/Scripts/NetSettings/OldModem.ini
+%%DATADIR%%/Scripts/PersistentSymbols.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/F2.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/F3.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/F4.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/MiddleMouse.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F2.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F3.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/Shift_F4.ini
+%%DATADIR%%/Scripts/WorldEditorKeys/vssver.scc
+%%DATADIR%%/Scripts/menu/ApplyShadowmaps.ini
+%%DATADIR%%/Scripts/menu/ApplyTextures.ini
+%%DATADIR%%/Scripts/menu/ApplyVideo.ini
+%%DATADIR%%/Scripts/menu/GameOptions.cfg
+%%DATADIR%%/Scripts/menu/RenderingOptions.cfg
+%%DATADIR%%/Scripts/menu/SPOptions.cfg
+%%DATADIR%%/VirtualTrees/BasicVirtualTree.vrt
+%%DATADIR%%/Worlds/TemplatesSE/MiscBabylon.tbn
+%%DATADIR%%/Worlds/TemplatesSE/MiscBabylon.wld
+%%DATADIR%%/Worlds/TemplatesSE/MiscGothic.tbn
+%%DATADIR%%/Worlds/TemplatesSE/MiscGothic.wld
+%%DATADIR%%/Worlds/TemplatesSE/MiscSouthAmerica.tbn
+%%DATADIR%%/Worlds/TemplatesSE/MiscSouthAmerica.wld
+%%DATADIR%%/Worlds/TemplatesSE/Statues.tbn
+%%DATADIR%%/Worlds/TemplatesSE/Statues.wld
+%%DATADIR%%/Worlds/TemplatesSE/StatuesBabylon.tbn
+%%DATADIR%%/Worlds/TemplatesSE/StatuesBabylon.wld
+%%DATADIR%%/Worlds/TemplatesSE/StatuesGothic.tbn
+%%DATADIR%%/Worlds/TemplatesSE/StatuesGothic.wld
+%%DATADIR%%/Worlds/TemplatesSE/StatuesSouthAmerica.tbn
+%%DATADIR%%/Worlds/TemplatesSE/StatuesSouthAmerica.wld
+@dirrmtry %%DATADIR%%/Bin
+@dirrmtry %%DATADIR%%/Controls/System
+@dirrmtry %%DATADIR%%/Controls
+@dirrmtry %%DATADIR%%/Data/Defaults
+@dirrmtry %%DATADIR%%/Data/Var
+@dirrmtry %%DATADIR%%/Data
+@dirrmtry %%DATADIR%%/Demos
+@dirrmtry %%DATADIR%%/Help
+@dirrmtry %%DATADIR%%/Levels/LevelsMP
+@dirrmtry %%DATADIR%%/Levels
+@dirrmtry %%DATADIR%%/Mods
+@dirrmtry %%DATADIR%%/Scripts/Addons
+@dirrmtry %%DATADIR%%/Scripts/Commands
+@dirrmtry %%DATADIR%%/Scripts/CustomOptions
+@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultCoop
+@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultFragmatchSE
+@dirrmtry %%DATADIR%%/Scripts/Dedicated/DefaultScorematchSE
+@dirrmtry %%DATADIR%%/Scripts/Dedicated
+@dirrmtry %%DATADIR%%/Scripts/GLSettings
+@dirrmtry %%DATADIR%%/Scripts/menu
+@dirrmtry %%DATADIR%%/Scripts/NetSettings
+@dirrmtry %%DATADIR%%/Scripts/WorldEditorKeys
+@dirrmtry %%DATADIR%%/Scripts
+@dirrmtry %%DATADIR%%/VirtualTrees
+@dirrmtry %%DATADIR%%/Worlds/TemplatesSE
+@dirrmtry %%DATADIR%%/Worlds
+@dirrmtry %%DATADIR%%
Index: files/patch-bin_ssamtse
===================================================================
RCS file: files/patch-bin_ssamtse
diff -N files/patch-bin_ssamtse
--- files/patch-bin_ssamtse	28 Dec 2003 09:29:20 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
---- bin/ssamtse.orig	Fri Mar 14 07:07:05 2003
-+++ bin/ssamtse	Tue Nov 25 09:14:55 2003
-@@ -3,6 +3,8 @@
- # Serious Sam: The Second Encounter startup script
- #
- 
-+SSAMTSE_DATA_PATH=/usr/local/ssam/Bin
-+
- # Function to find the real directory a program resides in.
- # Feb. 17, 2000 - Sam Lantinga, Loki Entertainment Software
- FindPath()
-@@ -41,6 +43,9 @@
- 
- LD_LIBRARY_PATH=.:${SSAMTSE_DATA_PATH}:${LD_LIBRARY_PATH}
- export LD_LIBRARY_PATH
-+
-+export __GL_SINGLE_THREADED=yes
-+export SERIOUS_MHZ=%SERIOUS_MHZ%
- 
- # Let's boogie!
- if [ -x "${SSAMTSE_DATA_PATH}/ssam_lnx" ]
Index: files/patch-ssamtse
===================================================================
RCS file: files/patch-ssamtse
diff -N files/patch-ssamtse
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-ssamtse	23 Jul 2008 20:46:50 -0000
@@ -0,0 +1,27 @@
+--- bin/ssamtse.orig	2008-05-18 23:51:30.000000000 +1000
++++ bin/ssamtse	2008-05-18 23:58:42.000000000 +1000
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ ###############################################################################
+ #
+ ## LIFLG Startup Script
+@@ -49,6 +49,18 @@
+ ###############################################################################
+ ## DO NOT EDIT BELOW THIS LINE
+ ###############################################################################
++
++# config file
++if [ -r %%PREFIX%%/etc/ssamtse.conf ]; then
++    . %%PREFIX%%/etc/ssamtse.conf
++fi    
++if [ -n "${SERIOUS_MHZ}" ]; then
++	export SERIOUS_MHZ
++else
++	echo "Can't get CPU speed. Please set SERIOUS_MHZ variable in %%PREFIX%%/etc/ssamtse.conf"
++	exit 1
++fi
++
+ export LANG="POSIX"
+ 
+ test -n "${SDL_AUDIODRIVER}" && export SDL_AUDIODRIVER
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	23 Jul 2008 20:46:50 -0000
@@ -0,0 +1,8 @@
+
+You need to edit %%PREFIX%%/etc/ssamtse.conf
+to set correct CPU frequency in SERIOUS_MHZ variable.
+
+Run the game using:
+
+# ssamtse
+


Index: LEGAL
===================================================================
RCS file: /home/pcvs/ports/LEGAL,v
retrieving revision 1.583
diff -u -r1.583 LEGAL
--- LEGAL	21 Jul 2008 12:55:44 -0000	1.583
+++ LEGAL	23 Jul 2008 22:17:54 -0000
@@ -541,7 +541,7 @@
 						hand
 serialmail-*		mail/serialmail		No license -- see
 						http://cr.yp.to/softwarelaw.html
-serious.sam*		games/linux-ssamtfe	Redistribution limited
+serious.sam*		games/linux-ssam*	Redistribution limited
 service-config-*	sysutils/service-config	Possibly restricted binary
 						distribution of modified
 						versions
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807232226.m6NMQZoo042671>