Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2016 16:27:42 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411185 - in head/games: . tesseract tesseract-data tesseract/files
Message-ID:  <201603151627.u2FGRg8U092158@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Mar 15 16:27:41 2016
New Revision: 411185
URL: https://svnweb.freebsd.org/changeset/ports/411185

Log:
  games/tesseract{,-data}: add new port
  
  PR:		189829 (based on)
  Submitted by:	operator@myrechenzentrum.net
  Reviewed by:	marino (partially, earlier version)
  
  Tesseract is a first-person shooter game focused on instagib deathmatch
  and capture-the-flag gameplay as well as cooperative in-game map editing.
  
  http://www.tesseract.gg

Added:
  head/games/tesseract/
  head/games/tesseract-data/
  head/games/tesseract-data/Makefile   (contents, props changed)
  head/games/tesseract-data/distinfo   (contents, props changed)
  head/games/tesseract-data/pkg-descr   (contents, props changed)
  head/games/tesseract/Makefile   (contents, props changed)
  head/games/tesseract/distinfo   (contents, props changed)
  head/games/tesseract/files/
  head/games/tesseract/files/tess_wrapper.in   (contents, props changed)
  head/games/tesseract/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile   (contents, props changed)

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Tue Mar 15 16:26:39 2016	(r411184)
+++ head/games/Makefile	Tue Mar 15 16:27:41 2016	(r411185)
@@ -956,6 +956,8 @@
     SUBDIR += teeworlds
     SUBDIR += teg
     SUBDIR += tenebrae
+    SUBDIR += tesseract
+    SUBDIR += tesseract-data
     SUBDIR += tetrinet
     SUBDIR += tetrinet-x
     SUBDIR += tetrons

Added: head/games/tesseract-data/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tesseract-data/Makefile	Tue Mar 15 16:27:41 2016	(r411185)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	tesseract
+DISTVERSION=	2014_05_12
+CATEGORIES=	games
+MASTER_SITES=	http://download.tuxfamily.org/${PORTNAME}/
+DISTNAME=	${PORTNAME}_${DISTVERSION}_first_edition_linux
+PKGNAMESUFFIX=	-game-data
+
+MAINTAINER=	operator@myrechenzentrum.net
+COMMENT=	Data files for Tesseract first-person shooter
+
+LICENSE=	DejaVu OTHER
+LICENSE_COMB=	multi
+LICENSE_NAME_DejaVu=	Bitstream Vera and Arev fonts license
+LICENSE_FILE_DejaVu=	${WRKSRC}/media/interface/font/default.txt
+LICENSE_PERMS_DejaVu=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+LICENSE_NAME_OTHER=	Various licenses for textures, sounds, etc.
+LICENSE_TEXT_OTHER=	See info.txt files under media/ directory
+LICENSE_PERMS_OTHER=	dist-mirror pkg-mirror auto-accept
+
+USES=		tar:xz
+NO_ARCH=	yes
+NO_BUILD=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}
+PORTDATA=	config media screenshot
+
+do-install:
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} \
+		"${PORTDATA}" ${STAGEDIR}${DATADIR})
+
+.include <bsd.port.mk>

Added: head/games/tesseract-data/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tesseract-data/distinfo	Tue Mar 15 16:27:41 2016	(r411185)
@@ -0,0 +1,2 @@
+SHA256 (tesseract_2014_05_12_first_edition_linux.tar.xz) = 8d6e07dd154a40a3f593e52289335c036f06cf90a0ebc400c4650adb3395a0f4
+SIZE (tesseract_2014_05_12_first_edition_linux.tar.xz) = 249009328

Added: head/games/tesseract-data/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tesseract-data/pkg-descr	Tue Mar 15 16:27:41 2016	(r411185)
@@ -0,0 +1,3 @@
+Data files for Tesseract first-person shooter.
+
+WWW: http://www.tesseract.gg

Added: head/games/tesseract/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tesseract/Makefile	Tue Mar 15 16:27:41 2016	(r411185)
@@ -0,0 +1,75 @@
+# $FreeBSD$
+
+PORTNAME=	tesseract
+DISTVERSION=	2014_05_12
+CATEGORIES=	games
+MASTER_SITES=	http://download.tuxfamily.org/${PORTNAME}/
+PKGNAMESUFFIX=	-game
+DISTNAME=	${PORTNAME}_${DISTVERSION}_first_edition_linux
+
+MAINTAINER=	operator@myrechenzentrum.net
+COMMENT=	Smooth FPS with map editing, instagib, DM and CTF
+
+LICENSE=	ZLIB
+
+LIB_DEPENDS=	libenet.so:net/enet
+RUN_DEPENDS=	${PKGBASE}-data>=${DISTVERSION}:${PKGORIGIN}-data
+
+USES=		gmake pkgconfig tar:xz
+EXCLUDE=	bin_unix config media screenshot src/enet src/lib\* src/xcode
+EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
+WRKSRC=		${WRKDIR}/${PORTNAME}
+BUILD_WRKSRC=	${WRKSRC}/src
+ALL_TARGET=	# empty
+SUB_FILES=	tess_wrapper
+PORTDOCS=	*
+
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=CLIENT DEDICATED
+OPTIONS_MULTI=	FLAVOR
+OPTIONS_MULTI_FLAVOR=CLIENT DEDICATED MASTER
+
+CLIENT_DESC=		Build client
+CLIENT_USE=		GL=gl SDL=image2,mixer2 XORG=x11
+CLIENT_ALL_TARGET=	client
+CLIENT_PLIST_FILES=	bin/tess_client libexec/tess_client
+CLIENT_DESKTOP_ENTRIES=	"Tesseract" \
+			"" \
+			"${DATADIR}/media/interface/cube.png" \
+			"tess_client" \
+			"Game;Shooter;" \
+			""
+
+DEDICATED_DESC=		Build dedicated server
+DEDICATED_ALL_TARGET=	server
+DEDICATED_PLIST_FILES=	bin/tess_server libexec/tess_server
+
+MASTER_DESC=		Build master server
+MASTER_ALL_TARGET=	master
+MASTER_PLIST_FILES=	bin/tess_master libexec/tess_master
+
+post-patch:
+	@${REINPLACE_CMD} -e '/OBJS.*PCH/d' \
+		-e '/-fomit-frame-pointer/d' \
+		-e 's,-I/usr/X11R6/include,,' \
+		-e 's,-L/usr/X11R6/lib,,' \
+		-e 's,libenet ,,' \
+		-e 's,-Ienet/include,`pkg-config --cflags libenet`,' \
+		-e 's,-Lenet -lenet,`pkg-config --libs libenet`,' \
+		${BUILD_WRKSRC}/Makefile
+
+do-install:
+	for f in ${PLIST_FILES:Mbin/*}; do \
+		${INSTALL_SCRIPT} ${WRKDIR}/tess_wrapper \
+			${STAGEDIR}${PREFIX}/$$f; \
+	done
+	for f in ${PLIST_FILES:Mlibexec/*}; do \
+		${INSTALL_PROGRAM} ${BUILD_WRKSRC}/$${f##*/} \
+			${STAGEDIR}${PREFIX}/$${f%/*}; \
+	done
+
+do-install-DOCS-on:
+	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
+		. ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>

Added: head/games/tesseract/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tesseract/distinfo	Tue Mar 15 16:27:41 2016	(r411185)
@@ -0,0 +1,2 @@
+SHA256 (tesseract_2014_05_12_first_edition_linux.tar.xz) = 8d6e07dd154a40a3f593e52289335c036f06cf90a0ebc400c4650adb3395a0f4
+SIZE (tesseract_2014_05_12_first_edition_linux.tar.xz) = 249009328

Added: head/games/tesseract/files/tess_wrapper.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tesseract/files/tess_wrapper.in	Tue Mar 15 16:27:41 2016	(r411185)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd ${TESS_DATA="%%DATADIR%%"}
+exec %%PREFIX%%/libexec/${0##*/} ${TESS_OPTIONS="-u~/.tesseract"} "$@"

Added: head/games/tesseract/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tesseract/pkg-descr	Tue Mar 15 16:27:41 2016	(r411185)
@@ -0,0 +1,10 @@
+Tesseract is a first-person shooter game focused on instagib deathmatch
+and capture-the-flag gameplay as well as cooperative in-game map editing.
+
+Tesseract provides a unique open-source engine derived from Cube 2
+Sauerbraten technology but with upgraded modern rendering techniques.
+The new rendering features include fully dynamic omnidirectional
+shadows, global illumination, HDR lighting, deferred shading,
+morphological/temporal/multisample anti-aliasing, and much more.
+
+WWW: http://www.tesseract.gg



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