ports/86187: [UPDATE] games/q3server-excessive: integrate with "quake3-data", rename to "quake3-excessive"

Alejandro Pulver alejandro at varnet.biz
Thu Sep 15 22:00:34 UTC 2005


>Number:         86187
>Category:       ports
>Synopsis:       [UPDATE] games/q3server-excessive: integrate with "quake3-data", rename to "quake3-excessive"
>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:31 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:


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


>How-To-Repeat:





>Fix:


--- quake3-excessive.diff begins here ---
diff -urN /usr/ports/games/q3server-excessive/Makefile quake3-excessive/Makefile
--- /usr/ports/games/q3server-excessive/Makefile	Thu Jul  3 02:21:02 2003
+++ quake3-excessive/Makefile	Thu Sep  8 16:06:36 2005
@@ -7,12 +7,34 @@
 
 PORTNAME=	excessive
 PORTVERSION=	003
+CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	pat
 DISTNAME=	${PORTNAME}_q3_server_${PORTVERSION}
 
-COMMENT=	Quake III Arena Excessive Mod for Linux
+MAINTAINER=	pat at FreeBSD.org
+COMMENT=	Quake III Arena Mod: Excessive
 
-Q3_MOD_MASTER=	${.CURDIR}/../q3server-ra3
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
-.include "${Q3_MOD_MASTER}/Makefile"
+USE_ZIP=	yes
+NO_BUILD=	yes
+
+post-extract:
+	@(cd ${WRKSRC}; ${UNZIP_CMD} description.pk3)
+
+do-install:
+	@${MKDIR} ${DATADIR}
+.for f in description.txt motd.cfg maplist.cfg
+	@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+.endfor
+	@${MKDIR} ${DATADIR}/vm
+	@${INSTALL_DATA} ${WRKSRC}/vm/qagame.qvm ${DATADIR}/vm
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
+.endif
+
+.include "${.CURDIR}/../quake3-data/Makefile.include"
+
+.include <bsd.port.mk>
diff -urN /usr/ports/games/q3server-excessive/pkg-descr quake3-excessive/pkg-descr
--- /usr/ports/games/q3server-excessive/pkg-descr	Sat Jul 21 23:19:05 2001
+++ quake3-excessive/pkg-descr	Wed Sep  7 18:44:53 2005
@@ -1,6 +1,6 @@
-This package contains all of the items you'll need to run a
-Quake III Arena dedicated server with Excessive mod under
-FreeBSD with Linux emulation.
+Excessive is a mod for Quake III Arena. It's a server-side only mod, so if you
+only want to play on Excessive servers, you do not need to install this. If
+you plan on running an Excessive server, then this is for you.
 
 WWW: http://www.planetquake.com/excessive/
 
diff -urN /usr/ports/games/q3server-excessive/pkg-plist quake3-excessive/pkg-plist
--- /usr/ports/games/q3server-excessive/pkg-plist	Sat Jul 21 23:19:05 2001
+++ quake3-excessive/pkg-plist	Thu Sep  8 16:06:47 2005
@@ -1,7 +1,8 @@
-%%Q3DIR%%description.pk3
-%%Q3DIR%%maplist.cfg
-%%Q3DIR%%motd.cfg
-%%Q3DIR%%readme.txt
-%%Q3DIR%%vm/qagame.qvm
- at dirrm %%Q3DIR%%vm
- at dirrm %%Q3DIR%%
+%%DATADIR%%/description.txt
+%%DATADIR%%/maplist.cfg
+%%DATADIR%%/motd.cfg
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%DATADIR%%/vm/qagame.qvm
+ at dirrm %%DATADIR%%/vm
+ at dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- quake3-excessive.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list