Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 18:10:19 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561847 - head/games/linux-ssamtse
Message-ID:  <202101171810.10HIAJAq009977@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jan 17 18:10:18 2021
New Revision: 561847
URL: https://svnweb.freebsd.org/changeset/ports/561847

Log:
  games/linux-ssamtse: update MASTER_SITES
  
  While here, assign maintainership to submitter
  
  PR:		252756
  Submitted by:	scf

Modified:
  head/games/linux-ssamtse/Makefile   (contents, props changed)
  head/games/linux-ssamtse/pkg-plist   (contents, props changed)

Modified: head/games/linux-ssamtse/Makefile
==============================================================================
--- head/games/linux-ssamtse/Makefile	Sun Jan 17 18:07:38 2021	(r561846)
+++ head/games/linux-ssamtse/Makefile	Sun Jan 17 18:10:18 2021	(r561847)
@@ -5,18 +5,19 @@ PORTNAME=	ssamtse
 PORTVERSION=	1.07b1
 PORTREVISION=	1
 CATEGORIES=	games linux
-MASTER_SITES=	http://home.coc-ag.de/dressler-ro/liflg/files/final/ \
+MASTER_SITES=	https://files.holarse-linuxgaming.de/native/Spiele/Serious%20Sam%20The%20Second%20Encounter/Installer/ \
 		http://bsd-geek.de/FreeBSD/distfiles/
 PKGNAMEPREFIX=	linux-
 DISTFILES=	${PORTNAME:S|ssam|serious.sam.|}_${PORTVERSION:S|b|beta|}-english-2.run
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	scf@FreeBSD.org
 COMMENT=	Serious Sam: The Second Encounter for Linux
 
 OPTIONS_DEFINE=	VORBIS DOCS
 OPTIONS_DEFAULT=	VORBIS
 
 USES=		linux
+STRIP=
 USE_LINUX=	xorglibs
 NO_BUILD=	yes
 RESTRICTED=	Redistribution is limited, see license
@@ -52,6 +53,7 @@ do-extract:
 post-patch:
 	@${REINPLACE_CMD} -e "s|^\(GAMEDIR=\).*|\1\"${DATADIR}\"|" \
 		-e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/bin/${PORTNAME}
+	${BRANDELF} -t Linux ${WRKSRC}/Data/Bin/ssam_*
 
 do-install:
 .if !exists(${CDROM_MOUNT}/Install/Mods/SecondEncounterTbn.tex)
@@ -85,7 +87,6 @@ do-install:
 	@cd ${WRKSRC}/Data && \
 		${FIND} Bin -type f -exec \
 			${INSTALL_PROGRAM} "${WRKSRC}/Data/{}" "${STAGEDIR}${DATADIR}/{}" \;
-	${BRANDELF} -t Linux ${STAGEDIR}${DATADIR}/Bin/ssam_*
 	${INSTALL_DATA} ${WRKSRC}/ModExt.txt ${STAGEDIR}${DATADIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 .if ${PORT_OPTIONS:MVORBIS}
@@ -100,13 +101,15 @@ do-install:
 		>${WRKDIR}/tmp.txt; ${MV} ${WRKDIR}/tmp.txt '{}'" \;
 	@${ECHO} SERIOUS_MHZ=2000 > ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
 .if !exists(${PREFIX}/etc/${PORTNAME}.conf)
-	${INSTALL_DATA} ${PREFIX}/etc/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf
+	${INSTALL_DATA} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} -p ${WRKSRC}/README.liflg ${STAGEDIR}${DOCSDIR}
 .for i in ${PORTDOCS:NREADME.liflg}
-	${LN} -sf ${DATADIR}/Help/${i} ${STAGEDIR}${DOCSDIR}/${i}
+	# NOTE:  check-plist fails on symbolic links, so make hard links for
+	#        installation.
+	${LN} -f ${STAGEDIR}${DATADIR}/Help/${i} ${STAGEDIR}${DOCSDIR}/${i}
 .endfor
 .endif
 

Modified: head/games/linux-ssamtse/pkg-plist
==============================================================================
--- head/games/linux-ssamtse/pkg-plist	Sun Jan 17 18:07:38 2021	(r561846)
+++ head/games/linux-ssamtse/pkg-plist	Sun Jan 17 18:10:18 2021	(r561847)
@@ -47,9 +47,9 @@ bin/ssamtse
 %%DATADIR%%/Demos/auto-demoMP0002.dem
 %%DATADIR%%/Demos/auto-demoMP0002.ini
 %%DATADIR%%/Demos/auto-demoMP0002Tbn.tex
+%%DATADIR%%/Help/Notes_1_04.txt
 %%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
@@ -181,3 +181,4 @@ bin/ssamtse
 %%DATADIR%%/Worlds/TemplatesSE/StatuesGothic.wld
 %%DATADIR%%/Worlds/TemplatesSE/StatuesSouthAmerica.tbn
 %%DATADIR%%/Worlds/TemplatesSE/StatuesSouthAmerica.wld
+@dir %%DATADIR%%/Levels/LevelsMP



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