aboutsummaryrefslogtreecommitdiff
path: root/games/quake2-xatrix
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-17 13:30:38 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-17 13:30:38 +0000
commit2cbb736eaa63eb58932fa88b2b87fb6325c77426 (patch)
treef8307bf49a3c4efaf5a07c2b50b650cdc31e5897 /games/quake2-xatrix
parentad3fcfd5ec0e6dd937f1992c9e727d97556103fd (diff)
downloadports-2cbb736eaa63eb58932fa88b2b87fb6325c77426.tar.gz
ports-2cbb736eaa63eb58932fa88b2b87fb6325c77426.zip
Cleanup Makefiles, port descriptions and message files for two official
Quake II mission pack ports, and remove gratuitous differences between them.
Notes
Notes: svn path=/head/; revision=314433
Diffstat (limited to 'games/quake2-xatrix')
-rw-r--r--games/quake2-xatrix/Makefile25
-rw-r--r--games/quake2-xatrix/files/pkg-message.in6
-rw-r--r--games/quake2-xatrix/pkg-descr17
3 files changed, 19 insertions, 29 deletions
diff --git a/games/quake2-xatrix/Makefile b/games/quake2-xatrix/Makefile
index 84e4695bc357..57f25ef0cebb 100644
--- a/games/quake2-xatrix/Makefile
+++ b/games/quake2-xatrix/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: quake2-xatrix
-# Date created: 26 Jul 2006
-# Whom: alepulver
-#
+# Created by: Alejandro Pulver <alepulver@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= xatrix
PORTVERSION= 3.20
@@ -15,25 +11,17 @@ DISTNAME= ${PORTNAME}src${PORTVERSION:S/.//}
EXTRACT_SUFX= .shar.Z
MAINTAINER= danfe@FreeBSD.org
-COMMENT= Quake II: The Reckoning (Xatrix) Mission Pack
+COMMENT= Quake II: The Reckoning (Xatrix) official mission pack
NO_WRKSUBDIR= yes
-
-LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}
+SUB_FILES= pkg-message
PLIST_FILES= %%Q2DIR%%/${PORTNAME}/game.so
PLIST_DIRS= %%Q2DIR%%/${PORTNAME}
-SUB_FILES= pkg-message
-
-.include "${.CURDIR}/../quake2-data/Makefile.include"
-
-.include <bsd.port.pre.mk>
-
do-extract:
@${MKDIR} ${WRKDIR}
- @cd ${WRKDIR} && \
- uncompress -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \
+ @cd ${WRKDIR} && uncompress -c ${DISTDIR}/${DISTFILES} | \
${TAIL} +441 | ${SH}
post-extract:
@@ -43,7 +31,7 @@ post-patch:
@${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch]
do-install:
- ${MKDIR} ${Q2DIR}/${PORTNAME}
+ @${MKDIR} ${Q2DIR}/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/game.so ${Q2DIR}/${PORTNAME}
post-install:
@@ -51,4 +39,5 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../quake2-data/Makefile.include"
+.include <bsd.port.mk>
diff --git a/games/quake2-xatrix/files/pkg-message.in b/games/quake2-xatrix/files/pkg-message.in
index 6f5c317c7f96..be69efac89d0 100644
--- a/games/quake2-xatrix/files/pkg-message.in
+++ b/games/quake2-xatrix/files/pkg-message.in
@@ -1,8 +1,8 @@
==============================================================================
To complete the installation of this port you need to copy the file
-"xatrix/pak0.pak" and the directory "xatrix/video" with its contents from the
-original Quake II: The Reckoning (Xatrix) Mission Pack distribution to
-"%%Q2DIR%%/xatrix".
+"xatrix/pak0.pak" and the directory "xatrix/video" with its contents from
+the original Quake II: The Reckoning (Xatrix) mission pack distribution to
+%%Q2DIR%%/xatrix.
==============================================================================
diff --git a/games/quake2-xatrix/pkg-descr b/games/quake2-xatrix/pkg-descr
index 5c3476843d75..e20470523261 100644
--- a/games/quake2-xatrix/pkg-descr
+++ b/games/quake2-xatrix/pkg-descr
@@ -1,14 +1,15 @@
-Quake II: The Reckoning (Xatrix) Mission Pack.
+This is the first official Quake II expansion: The Reckoning (also known as
+Xatrix, as developed by Xatrix Entertainment).
-You are part of an elite commando foce that must infiltrate a hostile alien
-cite. Once inside, you must scour industrial landscapes, crawl through
+You are part of an elite commando force that must infiltrate a hostile alien
+cite. Once inside, you must scour industrial landscapes, crawl through
waterways and air ducts, navigate treacherous canyons teeming with vicious
-mutants, stow away on an alien spacecraft, and destroy the enemy's secret moon
-base.
+mutants, stow away on an alien spacecraft, and destroy the enemy's secret
+moon base. This mission pack features:
-- 18 Arduous Levels to Conquer.
-- Added Weapons.
-- New Enemies.
+ - 18 arduous levels to conquer
+ - Added weapons
+ - New enemies
This port installs the game.so file, but you still need the original data.