Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2019 19:49:53 +0000 (UTC)
From:      Nikolai Lifanov <lifanov@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512536 - in head/games: . tome4 tome4-beta tome4-beta/files
Message-ID:  <201909211949.x8LJnrOJ009958@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lifanov
Date: Sat Sep 21 19:49:53 2019
New Revision: 512536
URL: https://svnweb.freebsd.org/changeset/ports/512536

Log:
  add new port: games/tome4-beta
  
  This adds a beta of 1.6 patch for games/tome4
  
  It's a major update. Read more in announcements:
  https://te4.org/blogs/darkgod/2019/04/news/whats-next-tales-majeyal-lot-and-then-some
  https://te4.org/blogs/darkgod/2019/09/news/tales-majeyal-16-beta1-upon-you

Added:
  head/games/tome4-beta/
     - copied from r512527, head/games/tome4/
Deleted:
  head/games/tome4-beta/files/
  head/games/tome4-beta/pkg-descr
Modified:
  head/games/Makefile
  head/games/tome4-beta/Makefile
  head/games/tome4-beta/distinfo
  head/games/tome4-beta/pkg-plist
  head/games/tome4/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sat Sep 21 18:59:57 2019	(r512535)
+++ head/games/Makefile	Sat Sep 21 19:49:53 2019	(r512536)
@@ -944,6 +944,7 @@
     SUBDIR += tkmoo
     SUBDIR += tomatoes
     SUBDIR += tome4
+    SUBDIR += tome4-beta
     SUBDIR += tomenet
     SUBDIR += tong
     SUBDIR += toppler

Modified: head/games/tome4-beta/Makefile
==============================================================================
--- head/games/tome4/Makefile	Sat Sep 21 17:58:47 2019	(r512527)
+++ head/games/tome4-beta/Makefile	Sat Sep 21 19:49:53 2019	(r512536)
@@ -1,56 +1,11 @@
 # $FreeBSD$
 
-PORTNAME=	tome4
-PORTVERSION=	1.5.10
-CATEGORIES=	games
-MASTER_SITES=	https://te4.org/dl/t-engine/ \
-		SF/lifanov-ports-distfiles/${PORTNAME}/:icons
-DISTFILES=	t-engine4-src-${PORTVERSION}${EXTRACT_SUFX} \
-		${PORTNAME}.png:icons
-EXTRACT_ONLY=	t-engine4-src-${PORTVERSION}${EXTRACT_SUFX}
+DISTVERSION=	1.6.0b1
+PORTREVISION=	0
+PKGNAMESUFFIX=	-beta
 
-MAINTAINER=	lifanov@FreeBSD.org
-COMMENT=	Epic tactical turn-based roguelike adventure
+MASTERDIR=	${.CURDIR}/../tome4
+DISTINFO_FILE=	${.CURDIR}/distinfo
+PLIST=		${.CURDIR}/pkg-plist
 
-LICENSE=	GPLv3+
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-BUILD_DEPENDS=	premake4:devel/premake4
-LIB_DEPENDS=	libvorbisfile.so:audio/libvorbis \
-		libpng.so:graphics/png
-
-DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \
-		"${PORTNAME}" "Game;RolePlaying;" ""
-
-PLIST_SUB=	PORTVERSION=${PORTVERSION}
-WRKSRC=		${WRKDIR}/t-engine4-src-${PORTVERSION}
-MAKE_ARGS+=	config=release verbose=yes ARCH="" CC=${CC}
-USES=		gl gmake openal:al sdl tar:bzip2
-USE_SDL=	image2 sdl2 ttf2
-USE_GL=		gl glu
-USE_CSTD=	gnu89
-SUB_FILES=	tome4
-LLD_UNSAFE=	yes
-
-.include <bsd.port.pre.mk>
-
-pre-build:
-	@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua
-.if ${ARCH} == aarch64 || ${ARCH} == powerpc64
-	(cd ${WRKSRC} && premake4 --lua=default gmake)
-.else
-	(cd ${WRKSRC} && premake4 gmake)
-	@${ECHO} '.NOTPARALLEL:' >> ${WRKSRC}/build/buildvm.make
-	@${ECHO} '.NOTPARALLEL:' >> ${WRKSRC}/build/luajit2.make
-.endif
-	@${REINPLACE_CMD} 's|-lpthread|-pthread|' ${WRKSRC}/build/TEngine.make
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/t-engine ${STAGEDIR}${DATADIR}
-	${INSTALL_SCRIPT} ${WRKDIR}/tome4 ${STAGEDIR}${PREFIX}/bin
-	(cd ${WRKSRC}; ${COPYTREE_SHARE} "bootstrap game" ${STAGEDIR}${DATADIR})
-	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
-		${STAGEDIR}${PREFIX}/share/pixmaps
-
-.include <bsd.port.post.mk>
+.include "${MASTERDIR}/Makefile"

Modified: head/games/tome4-beta/distinfo
==============================================================================
--- head/games/tome4/distinfo	Sat Sep 21 17:58:47 2019	(r512527)
+++ head/games/tome4-beta/distinfo	Sat Sep 21 19:49:53 2019	(r512536)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1527269649
-SHA256 (t-engine4-src-1.5.10.tar.bz2) = a76d29d2c0b964e9ab121873041c55930db1a0ccdaf877228dcba62ee06b8555
-SIZE (t-engine4-src-1.5.10.tar.bz2) = 422659741
+TIMESTAMP = 1569090932
+SHA256 (t-engine4-src-1.6.0b1.tar.bz2) = 0b5e2f5e5afd7a9f575ae0563255b68b76a692fe6f887f1f37c103334f4bfcf8
+SIZE (t-engine4-src-1.6.0b1.tar.bz2) = 431254742
 SHA256 (tome4.png) = b5223208ca6f0a51f8bbe3b96055f38f94336dbeca6704db6684fec00fad1a36
 SIZE (tome4.png) = 37143

Modified: head/games/tome4-beta/pkg-plist
==============================================================================
--- head/games/tome4/pkg-plist	Sat Sep 21 17:58:47 2019	(r512527)
+++ head/games/tome4-beta/pkg-plist	Sat Sep 21 19:49:53 2019	(r512536)
@@ -1,13 +1,13 @@
-@(,,0755) bin/tome4
+bin/tome4
 share/pixmaps/tome4.png
 %%DATADIR%%/bootstrap/boot.lua
 %%DATADIR%%/game/addons/tome-addon-dev.teaa
 %%DATADIR%%/game/addons/tome-items-vault.teaa
 %%DATADIR%%/game/addons/tome-possessors.teaa
-%%DATADIR%%/game/engines/te4-%%PORTVERSION%%.teae
+%%DATADIR%%/game/engines/te4-1.6.0.teae
 %%DATADIR%%/game/loader/init.lua
 %%DATADIR%%/game/loader/pre-init.lua
-%%DATADIR%%/game/modules/boot-te4-%%PORTVERSION%%.team
+%%DATADIR%%/game/modules/boot-te4-1.6.0.team
 %%DATADIR%%/game/modules/example/class/Actor.lua
 %%DATADIR%%/game/modules/example/class/Game.lua
 %%DATADIR%%/game/modules/example/class/Grid.lua
@@ -56,16 +56,34 @@ share/pixmaps/tome4.png
 %%DATADIR%%/game/modules/example_realtime/dialogs/Quit.lua
 %%DATADIR%%/game/modules/example_realtime/init.lua
 %%DATADIR%%/game/modules/example_realtime/load.lua
-%%DATADIR%%/game/modules/tome-%%PORTVERSION%%-gfx.team
-%%DATADIR%%/game/modules/tome-%%PORTVERSION%%-music.team
-%%DATADIR%%/game/modules/tome-%%PORTVERSION%%.team
+%%DATADIR%%/game/modules/tome-1.6.0-gfx.team
+%%DATADIR%%/game/modules/tome-1.6.0-music.team
+%%DATADIR%%/game/modules/tome-1.6.0.team
 %%DATADIR%%/game/profile-thread/Client.lua
 %%DATADIR%%/game/profile-thread/UserChat.lua
 %%DATADIR%%/game/profile-thread/init.lua
 %%DATADIR%%/game/thirdparty/Json2.lua
+%%DATADIR%%/game/thirdparty/algorithms/LICENSE
+%%DATADIR%%/game/thirdparty/algorithms/binarysearch.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/hashmap.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/hashset.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/list.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/maxpq.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/minpq.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/queue.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/redblacktree.lua
+%%DATADIR%%/game/thirdparty/algorithms/data/stack.lua
+%%DATADIR%%/game/thirdparty/algorithms/shuffling.lua
+%%DATADIR%%/game/thirdparty/algorithms/sorting/heapsort.lua
+%%DATADIR%%/game/thirdparty/algorithms/sorting/insertion.lua
+%%DATADIR%%/game/thirdparty/algorithms/sorting/mergesort.lua
+%%DATADIR%%/game/thirdparty/algorithms/sorting/quicksort.lua
+%%DATADIR%%/game/thirdparty/algorithms/sorting/quicksort3ways.lua
+%%DATADIR%%/game/thirdparty/algorithms/sorting/selection.lua
+%%DATADIR%%/game/thirdparty/algorithms/sorting/shellsort.lua
+%%DATADIR%%/game/thirdparty/algorithms/tries/rwaytries.lua
+%%DATADIR%%/game/thirdparty/algorithms/unionfind.lua
 %%DATADIR%%/game/thirdparty/cef3/cef.pak
-%%DATADIR%%/game/thirdparty/jit/bcname.lua
-%%DATADIR%%/game/thirdparty/jit/vmdef.lua
 %%DATADIR%%/game/thirdparty/cef3/locales/am.pak
 %%DATADIR%%/game/thirdparty/cef3/locales/ar.pak
 %%DATADIR%%/game/thirdparty/cef3/locales/bg.pak
@@ -121,6 +139,7 @@ share/pixmaps/tome4.png
 %%DATADIR%%/game/thirdparty/cef3/locales/zh-TW.pak
 %%DATADIR%%/game/thirdparty/config.lua
 %%DATADIR%%/game/thirdparty/jit/bc.lua
+%%DATADIR%%/game/thirdparty/jit/bcname.lua
 %%DATADIR%%/game/thirdparty/jit/bcsave.lua
 %%DATADIR%%/game/thirdparty/jit/dis_arm.lua
 %%DATADIR%%/game/thirdparty/jit/dis_mips.lua
@@ -130,6 +149,7 @@ share/pixmaps/tome4.png
 %%DATADIR%%/game/thirdparty/jit/dis_x86.lua
 %%DATADIR%%/game/thirdparty/jit/dump.lua
 %%DATADIR%%/game/thirdparty/jit/v.lua
+%%DATADIR%%/game/thirdparty/jit/vmdef.lua
 %%DATADIR%%/game/thirdparty/licenses/CEF3.txt
 %%DATADIR%%/game/thirdparty/licenses/Font-Salsa-OFL.txt
 %%DATADIR%%/game/thirdparty/licenses/LuaJIT.txt
@@ -142,6 +162,7 @@ share/pixmaps/tome4.png
 %%DATADIR%%/game/thirdparty/licenses/libpng.txt
 %%DATADIR%%/game/thirdparty/licenses/libvorbis.txt
 %%DATADIR%%/game/thirdparty/licenses/lpeg.txt
+%%DATADIR%%/game/thirdparty/licenses/lua-algorithms.txt
 %%DATADIR%%/game/thirdparty/licenses/luabitop.txt
 %%DATADIR%%/game/thirdparty/licenses/luamd5.txt
 %%DATADIR%%/game/thirdparty/licenses/luaprofiler.txt

Modified: head/games/tome4/Makefile
==============================================================================
--- head/games/tome4/Makefile	Sat Sep 21 18:59:57 2019	(r512535)
+++ head/games/tome4/Makefile	Sat Sep 21 19:49:53 2019	(r512536)
@@ -1,14 +1,14 @@
 # $FreeBSD$
 
-PORTNAME?=	tome4
+PORTNAME=	tome4
 DISTVERSION?=	1.5.10
 PORTREVISION?=	1
 CATEGORIES=	games
 MASTER_SITES=	https://te4.org/dl/t-engine/ \
 		SF/lifanov-ports-distfiles/${PORTNAME}/:icons
-DISTFILES=	t-engine4-src-${PORTVERSION}${EXTRACT_SUFX} \
+DISTFILES=	t-engine4-src-${DISTVERSION}${EXTRACT_SUFX} \
 		${PORTNAME}.png:icons
-EXTRACT_ONLY=	t-engine4-src-${PORTVERSION}${EXTRACT_SUFX}
+EXTRACT_ONLY=	t-engine4-src-${DISTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	lifanov@FreeBSD.org
 COMMENT=	Epic tactical turn-based roguelike adventure
@@ -26,13 +26,11 @@ USE_GL=		gl glu
 USE_CSTD=	gnu89
 SUB_FILES=	tome4
 
-CONFLICTS=	tome4-beta-*
-
 DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \
 		"${PORTNAME}" "Game;RolePlaying;" ""
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
-WRKSRC=		${WRKDIR}/t-engine4-src-${PORTVERSION}
+WRKSRC=		${WRKDIR}/t-engine4-src-${DISTVERSION}
 MAKE_ARGS+=	config=release verbose=yes ARCH="" CC=${CC}
 
 .include <bsd.port.pre.mk>



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