Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 18:57:14 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/86188: [UPDATE] games/q3server-freezetag: integrate with "quake3-data", rename to "quake3-freezetag"
Message-ID:  <1126821434.0@phobos.mars.bsd>
Resent-Message-ID: <200509152200.j8FM0Wq5085655@freefall.freebsd.org>

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

>Number:         86188
>Category:       ports
>Synopsis:       [UPDATE] games/q3server-freezetag: integrate with "quake3-data", rename to "quake3-freezetag"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 15 22:00:32 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:


Changes:
* Rename to "quake3-freezetag" (also rename port directory).
* Integrate with "quake3-data"


>How-To-Repeat:





>Fix:


--- quake3-freezetag.diff begins here ---
diff -urN /usr/ports/games/q3server-freezetag/Makefile quake3-freezetag/Makefile
--- /usr/ports/games/q3server-freezetag/Makefile	Thu Mar  6 23:35:57 2003
+++ quake3-freezetag/Makefile	Thu Sep 15 16:19:50 2005
@@ -7,14 +7,45 @@
 
 PORTNAME=	freezetag
 PORTVERSION=	1.51b
+CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	pat
 DISTNAME=	q3freeze${PORTVERSION:S/.//}
 
-COMMENT=	Quake III Arena Mod: Freeze Tag for Linux
+MAINTAINER=	pat@FreeBSD.org
+COMMENT=	Quake III Arena Mod: Freeze Tag
 
 WRKSRC=		${WRKDIR}/freeze
 
-Q3_MOD_MASTER=	${.CURDIR}/../q3server-ra3
+USE_ZIP=	yes
+NO_BUILD=	yes
 
-.include "${Q3_MOD_MASTER}/Makefile"
+.include "${.CURDIR}/../quake3-data/Makefile.include"
+
+.include <bsd.port.pre.mk>
+
+.if exists(${Q3DIR}/missionpack/pak1.pk3)
+WITH_MISSIONPACK=	yes
+.endif
+
+.if defined(WITH_MISSIONPACK)
+PLIST_SUB+=	MISSIONPACK=""
+.else
+PLIST_SUB+=	MISSIONPACK="@comment "
+.endif
+
+do-install:
+	@${MKDIR} ${DATADIR}
+.for f in description.txt freeze.cfg freeze0.pk3 freeze1.pk3 ft.config
+	@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+.endfor
+.if defined(WITH_MISSIONPACK)
+	@${INSTALL_DATA} ${WRKSRC}/missionpack/freeze_ta0.pk3 \
+		${Q3DIR}/missionpack
+.endif
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff -urN /usr/ports/games/q3server-freezetag/pkg-descr quake3-freezetag/pkg-descr
--- /usr/ports/games/q3server-freezetag/pkg-descr	Sat Jul 21 23:21:58 2001
+++ quake3-freezetag/pkg-descr	Wed Sep  7 17:08:33 2005
@@ -1,6 +1,11 @@
-This package contains all of the items you'll need to run a
-Quake III Arena dedicated server with Freeze Tag mod under
-FreeBSD with Linux emulation.
+Freeze Tag is a teamplay modification for Quake3 and Team Arena. It is a lot
+like that game you may have played as a kid, but without the killing. In
+Freeze Tag you try to eliminate the entire enemy team. If you kill someone
+then they will become frozen. So to eliminate all, you'd need to freeze
+everyone, making them all frozen at the same time. This will give your team a
+point and the round will start over again. If you are ever frozen, a teammate
+can come rescue you by standing next to your icy body for three seconds.
+You'll then be set free and can join the battle again.
 
 WWW: http://www.planetquake.com/freeze/
 
diff -urN /usr/ports/games/q3server-freezetag/pkg-plist quake3-freezetag/pkg-plist
--- /usr/ports/games/q3server-freezetag/pkg-plist	Thu Jul 25 19:56:33 2002
+++ quake3-freezetag/pkg-plist	Wed Sep  7 18:22:16 2005
@@ -1,11 +1,9 @@
-%%PORTDOCS%%%%Q3DIR%%description.txt
-%%Q3DIR%%freeze.cfg
-%%Q3DIR%%freeze0.pk3
-%%Q3DIR%%freeze1.pk3
-%%Q3DIR%%ft.bat
-%%Q3DIR%%ft.config
-%%Q3DIR%%missionpack/freeze_ta0.pk3
-%%Q3DIR%%missionpack/ft.bat
-%%PORTDOCS%%%%Q3DIR%%readme.txt
-@dirrm %%Q3DIR%%/missionpack
-@dirrm %%Q3DIR%%
+%%DATADIR%%/description.txt
+%%DATADIR%%/freeze.cfg
+%%DATADIR%%/freeze0.pk3
+%%DATADIR%%/freeze1.pk3
+%%DATADIR%%/ft.config
+%%MISSIONPACK%%%%Q3DIR%%/missionpack/freeze_ta0.pk3
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DATADIR%%
--- quake3-freezetag.diff ends here ---



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



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