Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2006 10:51:56 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95194: [NEW PORT] games/tremulous: The stand alone mod based on quake3
Message-ID:  <200604011051.k31Apufc005172@www.freebsd.org>
Resent-Message-ID: <200604011100.k31B0UTI029939@freefall.freebsd.org>

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

>Number:         95194
>Category:       ports
>Synopsis:       [NEW PORT] games/tremulous: The stand alone mod based on quake3
>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:   Sat Apr 01 11:00:29 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 21 23:44:35 PET 2006
>Description:
Tremulous is a free, open source game that blends a team based FPS with 
elements of an RTS. Players can choose from 2 unique races, aliens and humans. 

Players on both teams are able to build working structures in-game like an RTS.
These structures provide many functions, the most important being spawning. The
designated builders must ensure there are spawn structures or other players 
will not be able to rejoin the game after death. Other structures provide 
automated base defense (to some degree), healing functions and much more...

Player advancement is different depending on which team you are on. As a human,
players are rewarded with credits for each alien kill. These credits may be 
used to purchase new weapons and upgrades from the "Armoury". The alien team
advances quite differently. Upon killing a human foe, the alien is able to
evolve into a new class. The more kills gained the more powerful the classes
available.

The overall objective behind Tremulous is to eliminate the opposing team. This
is achieved by not only killing the opposing players but also removing their
ability to respawn by destroying their spawn structures.

WWW:	http://www.tremulous.net/
>How-To-Repeat:

>Fix:
--- tremulous-1.1.0.shar begins here ---
# 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:
#
#	tremulous
#	tremulous/pkg-descr
#	tremulous/Makefile
#	tremulous/pkg-plist
#	tremulous/files
#	tremulous/files/patch-tremulous_Makefile
#	tremulous/files/patch-tremulous-tools-lcc_Makefile
#	tremulous/files/tremded.x86.in
#	tremulous/files/tremulous.x86.in
#	tremulous/distinfo
#
echo c - tremulous
mkdir -p tremulous > /dev/null 2>&1
echo x - tremulous/pkg-descr
sed 's/^X//' >tremulous/pkg-descr << 'END-of-tremulous/pkg-descr'
XTremulous is a free, open source game that blends a team based FPS with 
Xelements of an RTS. Players can choose from 2 unique races, aliens and humans. 
X
XPlayers on both teams are able to build working structures in-game like an RTS.
XThese structures provide many functions, the most important being spawning. The
Xdesignated builders must ensure there are spawn structures or other players 
Xwill not be able to rejoin the game after death. Other structures provide 
Xautomated base defense (to some degree), healing functions and much more...
X
XPlayer advancement is different depending on which team you are on. As a human,
Xplayers are rewarded with credits for each alien kill. These credits may be 
Xused to purchase new weapons and upgrades from the "Armoury". The alien team
Xadvances quite differently. Upon killing a human foe, the alien is able to
Xevolve into a new class. The more kills gained the more powerful the classes
Xavailable.
X
XThe overall objective behind Tremulous is to eliminate the opposing team. This
Xis achieved by not only killing the opposing players but also removing their
Xability to respawn by destroying their spawn structures.
X
XWWW:	http://www.tremulous.net/
END-of-tremulous/pkg-descr
echo x - tremulous/Makefile
sed 's/^X//' >tremulous/Makefile << 'END-of-tremulous/Makefile'
X# New ports collection makefile for:	tremulous
X# Date created:		2006-03-31
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	tremulous
XPORTVERSION=	1.1.0
XCATEGORIES=	games
XMASTER_SITES=	http://0day.icculus.org/mirrors/tremulous/ \
X		ftp://ftp.wireplay.co.uk/pub/quake3arena/mods/tremulous/ \
X		http://www.planetgloom.com/trem/
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	The stand alone mod based on quake3
X
XBUILD_DEPENDS=	nasm:${PORTSDIR}/devel/nasm
XLIB_DEPENDS=	openal.0:${PORTSDIR}/audio/openal
X
XUSE_ZIP=	yes
XUSE_X_PREFIX=	yes
XUSE_SDL=	sdl mixer
XUSE_GL=		yes
XUSE_GMAKE=	yes
XONLY_FOR_ARCHS=	i386
XCPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include
XLDFLAGS+=	-L${LOCALBASE}/lib -L${X11BASE}/lib
XMAKE_ENV=	CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
XBUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XSUB_FILES=	tremulous.x86 tremded.x86
XTREMULOUSSRC=	${WRKSRC}/${DISTNAME}-src
X
Xpost-extract:
X	@cd ${WRKSRC} && \
X		${TAR} xfz ${TREMULOUSSRC}.tar.gz && \
X		${MV} ${TREMULOUSSRC} ${PORTNAME}
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${PORTNAME}/${MAKEFILE}
X	@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/${PORTNAME}/${MAKEFILE}
X	@${REINPLACE_CMD} -e 's|ARCH|OSARCH|g' ${WRKSRC}/${PORTNAME}/${MAKEFILE}
X
Xdo-install:
X	${MKDIR} ${DATADIR}/base
X	@cd ${WRKSRC}/base && \
X		${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/base/{}" \;
X
X	@cd ${WRKSRC}/${PORTNAME}/build/release-freebsd && \
X		${INSTALL_PROGRAM} tremulous.x86 tremded.x86 ${PREFIX}/libexec
X
X	@cd ${WRKDIR} && \
X		${INSTALL_SCRIPT} tremulous.x86  ${PREFIX}/bin/tremulous && \
X			${INSTALL_SCRIPT} tremded.x86 ${PREFIX}/bin/tremded
X
X.include <bsd.port.mk>
END-of-tremulous/Makefile
echo x - tremulous/pkg-plist
sed 's/^X//' >tremulous/pkg-plist << 'END-of-tremulous/pkg-plist'
Xbin/tremded
Xbin/tremulous
Xlibexec/tremded.x86
Xlibexec/tremulous.x86
X%%DATADIR%%/base/data-1.1.0.pk3
X%%DATADIR%%/base/map-arachnid2-1.1.0.pk3
X%%DATADIR%%/base/map-atcs-1.1.0.pk3
X%%DATADIR%%/base/map-karith-1.1.0.pk3
X%%DATADIR%%/base/map-nexus6-1.1.0.pk3
X%%DATADIR%%/base/map-niveus-1.1.0.pk3
X%%DATADIR%%/base/map-transit-1.1.0.pk3
X%%DATADIR%%/base/map-tremor-1.1.0.pk3
X%%DATADIR%%/base/map-uncreation-1.1.0.pk3
X%%DATADIR%%/base/maprotation.cfg
X%%DATADIR%%/base/server.cfg
X%%DATADIR%%/base/vms-1.1.0.pk3
X@dirrm %%DATADIR%%/base
X@dirrm %%DATADIR%%
END-of-tremulous/pkg-plist
echo c - tremulous/files
mkdir -p tremulous/files > /dev/null 2>&1
echo x - tremulous/files/patch-tremulous_Makefile
sed 's/^X//' >tremulous/files/patch-tremulous_Makefile << 'END-of-tremulous/files/patch-tremulous_Makefile'
X--- tremulous/Makefile	Tue Mar 21 17:28:25 2006
X+++ tremulous/Makefile	Sat Apr  1 04:03:02 2006
X@@ -69,7 +69,7 @@
X export CROSS_COMPILING
X 
X ifndef COPYDIR
X-COPYDIR="/usr/local/games/tremulous"
X+COPYDIR="%%PREFIX%%/games/tremulous"
X endif
X 
X ifndef MOUNT_DIR
X@@ -116,7 +116,7 @@
X #############################################################################
X 
X BD=$(BUILD_DIR)/debug-$(PLATFORM)-$(ARCH)
X-BR=$(BUILD_DIR)/release-$(PLATFORM)-$(ARCH)
X+BR=$(BUILD_DIR)/release-$(PLATFORM)
X CDIR=$(MOUNT_DIR)/client
X SDIR=$(MOUNT_DIR)/server
X RDIR=$(MOUNT_DIR)/renderer
X@@ -421,7 +421,7 @@
X 
X   BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
X 
X-  GL_CFLAGS = -I/usr/X11R6/include
X+  GL_CFLAGS = -I%%X11BASE%%/include
X 
X   DEBUG_CFLAGS=$(BASE_CFLAGS) -g
X 
X@@ -441,15 +441,15 @@
X   endif
X 
X   ifeq ($(ARCH),axp)
X-    CC=gcc
X+    CC?=$(CC)
X     BASE_CFLAGS += -DNO_VM_COMPILED
X     RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -ffast-math -funroll-loops \
X       -fomit-frame-pointer -fexpensive-optimizations
X   else
X   ifeq ($(ARCH),x86)
X-    CC=gcc
X-    RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro \
X-      -march=pentium -fomit-frame-pointer -pipe -ffast-math \
X+    CC?=$(CC)
X+    RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG \
X+      -fomit-frame-pointer -pipe -ffast-math \
X       -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
X       -funroll-loops -fstrength-reduce
X   else
X@@ -461,7 +461,7 @@
X   SHLIBCFLAGS=-fPIC
X   SHLIBLDFLAGS=-shared $(LDFLAGS)
X 
X-  THREAD_LDFLAGS=-lpthread
X+  THREAD_LDFLAGS=$(PTHREAD_LIBS)
X   # don't need -ldl (FreeBSD)
X   LDFLAGS=-lm
X 
X@@ -470,7 +470,7 @@
X   ifeq ($(USE_SDL),1)
X     CLIENT_LDFLAGS += $(shell sdl11-config --libs)
X   else
X-    CLIENT_LDFLAGS += -L/usr/X11R6/$(LIB) -lGL -lX11 -lXext -lXxf86dga -lXxf86vm
X+    CLIENT_LDFLAGS += -L%%X11BASE%%/$(LIB) -lGL -lX11 -lXext -lXxf86dga -lXxf86vm
X   endif
X 
X   ifeq ($(USE_OPENAL),1)
X@@ -617,7 +617,7 @@
X #############################################################################
X # SETUP AND BUILD -- GENERIC
X #############################################################################
X-  CC=cc
X+  CC?=$(CC)
X   BASE_CFLAGS=-DNO_VM_COMPILED
X   DEBUG_CFLAGS=$(BASE_CFLAGS) -g
X   RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3
X@@ -677,7 +677,7 @@
X endif
X 
X ifeq ($(GENERATE_DEPENDENCIES),1)
X-  ifeq ($(CC),gcc)
X+  ifeq ($(CC),cc)
X     DEPEND_CFLAGS=-MMD
X   endif
X endif
X@@ -716,7 +716,7 @@
X endif
X 
X #Build both debug and release builds
X-all:build_debug build_release
X+all:build_release
X 
X targets: $(TARGETS)
X 
END-of-tremulous/files/patch-tremulous_Makefile
echo x - tremulous/files/patch-tremulous-tools-lcc_Makefile
sed 's/^X//' >tremulous/files/patch-tremulous-tools-lcc_Makefile << 'END-of-tremulous/files/patch-tremulous-tools-lcc_Makefile'
X--- tremulous/src/tools/lcc/Makefile	Sat Apr  1 03:15:43 2006
X+++ tremulous/src/tools/lcc/Makefile	Sat Apr  1 03:16:25 2006
X@@ -8,8 +8,8 @@
X   E=
X endif
X 
X-CC=gcc
X-LCC_CFLAGS=-O2 -Wall -fno-strict-aliasing -MMD
X+CC?=$(CC)
X+LCC_CFLAGS=$(CFLAGS) -Wall -fno-strict-aliasing -MMD
X LDFLAGS=
X LD=gcc
X AR=ar
END-of-tremulous/files/patch-tremulous-tools-lcc_Makefile
echo x - tremulous/files/tremded.x86.in
sed 's/^X//' >tremulous/files/tremded.x86.in << 'END-of-tremulous/files/tremded.x86.in'
X#!/bin/sh
Xif [ -d "~/.tremulous" ]; then
X        cd ~/.tremulous || exit 1
X        exec %%PREFIX%%/libexec/tremded.x86
Xelse
X        cd %%DATADIR%% || exit 1
X        find * -type d -exec mkdir -p ~/.tremulous/{} \; || exit 1
X        find * -type f -exec ln -s %%DATADIR%%/{} ~/.tremulous/{} \; 2>/dev/null || exit 1
X        cd ~/.tremulous || exit 1
X        exec %%PREFIX%%/libexec/tremded.x86
Xfi
END-of-tremulous/files/tremded.x86.in
echo x - tremulous/files/tremulous.x86.in
sed 's/^X//' >tremulous/files/tremulous.x86.in << 'END-of-tremulous/files/tremulous.x86.in'
X#!/bin/sh
Xif [ -d "~/.tremulous" ]; then
X        cd ~/.tremulous || exit 1
X        exec %%PREFIX%%/libexec/tremulous.x86
Xelse
X        cd %%DATADIR%% || exit 1
X        find * -type d -exec mkdir -p ~/.tremulous/{} \; || exit 1
X        find * -type f -exec ln -s %%DATADIR%%/{} ~/.tremulous/{} \; 2>/dev/null || exit 1
X        cd ~/.tremulous || exit 1
X        exec %%PREFIX%%/libexec/tremulous.x86
Xfi
END-of-tremulous/files/tremulous.x86.in
echo x - tremulous/distinfo
sed 's/^X//' >tremulous/distinfo << 'END-of-tremulous/distinfo'
XMD5 (tremulous-1.1.0.zip) = 3df5f7565571fb9524656308347bce1b
XSHA256 (tremulous-1.1.0.zip) = c7bb66f55abc88932edee16c253e5d37f90dded2ce29cf6cb15ad4f78e378987
XSIZE (tremulous-1.1.0.zip) = 105821907
END-of-tremulous/distinfo
exit
--- tremulous-1.1.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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