summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-22 05:56:07 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-22 05:56:07 +0000
commitdb3faa3bbdf668944d70339e1890acee64678367 (patch)
tree11e27695112243d1dcd49fb4cf7bab2c0d9c3336 /games
parent[UPDATE] games/q3server-excessive: integrate with "quake3-data", rename to "q... (diff)
[UPDATE] games/q3server-freezetag: integrate with "quake3-data", rename to "quake3-freezetag"
Changes: * Rename to "quake3-freezetag" (also rename port directory). * Integrate with "quake3-data" PR: ports/86188 Submitted by: Alejandro Pulver <alejandro@varnet.biz> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=148999
Diffstat (limited to 'games')
-rw-r--r--games/quake3-freezetag/Makefile37
-rw-r--r--games/quake3-freezetag/pkg-descr11
-rw-r--r--games/quake3-freezetag/pkg-plist20
3 files changed, 51 insertions, 17 deletions
diff --git a/games/quake3-freezetag/Makefile b/games/quake3-freezetag/Makefile
index 0edc1c1a51f2..9356118330fb 100644
--- a/games/quake3-freezetag/Makefile
+++ b/games/quake3-freezetag/Makefile
@@ -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 --git a/games/quake3-freezetag/pkg-descr b/games/quake3-freezetag/pkg-descr
index 49e4e1dbcf49..1c054936aab9 100644
--- a/games/quake3-freezetag/pkg-descr
+++ b/games/quake3-freezetag/pkg-descr
@@ -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 --git a/games/quake3-freezetag/pkg-plist b/games/quake3-freezetag/pkg-plist
index 0204378bba50..2f54f171731a 100644
--- a/games/quake3-freezetag/pkg-plist
+++ b/games/quake3-freezetag/pkg-plist
@@ -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%%