ports/189829: New Port: games/tesseract
Daniel C. Dowse
operator at myrechenzentrum.net
Thu May 15 06:50:00 UTC 2014
>Number: 189829
>Category: ports
>Synopsis: New Port: games/tesseract
>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: Thu May 15 06:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Daniel C. Dowse
>Release: 9.2-Release
>Organization:
>Environment:
FreeBSD monolith03.lan 9.2-RELEASE-p5 FreeBSD 9.2-RELEASE-p5 #2: Tue May 13 07:05:16 CEST 2014 root at monolith03.lan:/usr/src/sys/amd64/compile/THINKPAD amd64
>Description:
Tesseract First Person Shooter with in-game map editing feature.
Based on Sauerbraten. http://tesseract.gg
I made this port because of the smooth build after fetching and installing the software yesterday. The Tesseract Site did not provide any information on their FrontPage about FreeBSD build.
I don't if the name must be changed since graphics/tesseract and graphics/tesseract-data exists. I hope I did everything correct this is my first try.
ports-mgmt/portlint echos:
WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors. 1 fatal error and 1 warning found.
I have currently no information about mirrors. But i will be added when available.
Thanks
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# tesseract
# tesseract/Makefile
# tesseract/files
# tesseract/files/pkg-message.in
# tesseract/files/patch-src__Makefile
# tesseract/files/tess_client.in
# tesseract/files/tess_server.in
# tesseract/files/tess_master.in
# tesseract/distinfo
# tesseract/pkg-descr
#
echo c - tesseract
mkdir -p tesseract > /dev/null 2>&1
echo x - tesseract/Makefile
sed 's/^X//' >tesseract/Makefile << '8a9dadff91fa457560a21eb3fd000aa7'
X# $FreeBSD$
X
XPORTNAME= tesseract
XPORTVERSION= 20140512
XCATEGORIES= games
XMASTER_SITES= http://download.tuxfamily.org/${PORTNAME}/
XDISTNAME= ${PORTNAME}_2014_05_12_first_edition_linux
X
XMAINTAINER= operator at myrechenzentrum.net
XCOMMENT= Tesseract is a FPS game, with in-game map editing
X
XLICENSE= MIT ZLIB
XLICENSE_COMB= multi
X
XUSES= gmake tar:xz
XWRKSRC= ${WRKDIR}/${PORTNAME}
XBUILD_WRKSRC= ${WRKSRC}/src
XALL_TARGET= libenet
X
XPORTDATA= config media screenshot
XPORTDOCS= *
X
XOPTIONS_MULTI= BUILD
XOPTIONS_MULTI_BUILD= CLIENT DEDICATED MASTER
XOPTIONS_DEFAULT= CLIENT DEDICATED
XCLIENT_DESC= Build client
XDEDICATED_DESC= Build dedicated server
XMASTER_DESC= Build master server
X
XSUB_FILES= tess_client tess_master tess_server pkg-message
X
XOPTIONS_DEFINE= DOCS
X
X.include <bsd.port.options.mk>
X
X.if ${PORT_OPTIONS:MCLIENT}
XUSE_GL= yes
XUSE_SDL= image mixer sdl
XALL_TARGET+= client
XTESS_BIN+= client
X.endif
X
X.if ${PORT_OPTIONS:MDEDICATED}
XALL_TARGET+= server
XTESS_BIN+= server
X.endif
X
X.if ${PORT_OPTIONS:MMASTER}
XALL_TARGET+= master
XTESS_BIN+= master
X.endif
X
Xdo-install:
X.for f in ${TESS_BIN}
X ${INSTALL_SCRIPT} ${WRKDIR}/tess_${f} ${STAGEDIR}${PREFIX}/bin
X ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/tess_${f} ${STAGEDIR}${PREFIX}/libexec
X.endfor
X
X.if !defined(NOPORTDATA)
X ${MKDIR} ${STAGEDIR}${DATADIR}
X cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}
X.endif
X
X.if ${PORT_OPTIONS:MDOCS}
X ${MKDIR} ${STAGEDIR}${DOCSDIR}
X cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
X.endif
X
Xpost-install:
X.for f in ${STAGEDIR}${TESS_BIN}
X @${ECHO_CMD} bin/tess_${f} >> ${TMPPLIST}
X @${ECHO_CMD} libexec/tess_${f} >> ${TMPPLIST}
X.endfor
X
X.include <bsd.port.mk>
8a9dadff91fa457560a21eb3fd000aa7
echo c - tesseract/files
mkdir -p tesseract/files > /dev/null 2>&1
echo x - tesseract/files/pkg-message.in
sed 's/^X//' >tesseract/files/pkg-message.in << '77f51a172fa5d234804b4f41e1c5b7fb'
X###############################################################################
X
X Config files are in the ~/.tesseract directory.
X
X Enjoy it ;)
X
X Don't forget to visit http://www.tesseract.gg for further information.
X
X###############################################################################
77f51a172fa5d234804b4f41e1c5b7fb
echo x - tesseract/files/patch-src__Makefile
sed 's/^X//' >tesseract/files/patch-src__Makefile << 'a9078ec91bfbc187588b846296f549f1'
X--- ./src/Makefile.orig 2014-05-15 06:26:32.000000000 +0200
X+++ ./src/Makefile 2014-05-15 06:26:47.000000000 +0200
X@@ -3,7 +3,7 @@
X
X PLATFORM= $(shell uname -s)
X PLATFORM_ARCH= $(shell uname -m)
X-PLATFORM_PREFIX= native
X+PLATFORM_PREFIX= FreeBSD
X
X INCLUDES= -Ishared -Iengine -Igame -Ienet/include
X
a9078ec91bfbc187588b846296f549f1
echo x - tesseract/files/tess_client.in
sed 's/^X//' >tesseract/files/tess_client.in << 'd16a3efae377177868a8eeb86a8456c2'
X#!/bin/sh
X
Xcd %%DATADIR%% && exec %%PREFIX%%/libexec/tess_client "$@"
d16a3efae377177868a8eeb86a8456c2
echo x - tesseract/files/tess_server.in
sed 's/^X//' >tesseract/files/tess_server.in << 'a5388fa4b2010131e2de34dde00655d6'
X#!/bin/sh
X
Xcd %%DATADIR%% && exec %%PREFIX%%/libexec/tess_server "$@"
a5388fa4b2010131e2de34dde00655d6
echo x - tesseract/files/tess_master.in
sed 's/^X//' >tesseract/files/tess_master.in << 'f40214cee48f20a81bb15bbd613efe58'
X#!/bin/sh
X
Xcd %%DATADIR%% && exec %%PREFIX%%/libexec/tess_master "$@"
f40214cee48f20a81bb15bbd613efe58
echo x - tesseract/distinfo
sed 's/^X//' >tesseract/distinfo << '76b1c88b037fe8fec16a01f4a1f8c201'
XSHA256 (tesseract_2014_05_12_first_edition_linux.tar.xz) = 8d6e07dd154a40a3f593e52289335c036f06cf90a0ebc400c4650adb3395a0f4
XSIZE (tesseract_2014_05_12_first_edition_linux.tar.xz) = 249009328
76b1c88b037fe8fec16a01f4a1f8c201
echo x - tesseract/pkg-descr
sed 's/^X//' >tesseract/pkg-descr << 'faa6fbf65c70fed5c472114e2e6ad0bc'
XThe Game
XTesseract is a first-person shooter game focused on instagib deathmatch
Xand capture-the-flag gameplay as well as cooperative in-game map editing.
X
XThe Tech
X
XTesseract provides a unique open-source engine derived from Cube 2
XSauerbraten technology but with upgraded modern rendering techniques.
XThe new rendering features include fully dynamic omnidirectional shadows,
Xglobal illumination, HDR lighting, deferred shading,
Xmorphological/temporal/multisample anti-aliasing, and much more.
X
XVisit: http://www.tesseract.gg for more information.
faa6fbf65c70fed5c472114e2e6ad0bc
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list