svn commit: r361206 - head/games/quake3-excessive

Alexey Dokuchaev danfe at FreeBSD.org
Tue Jul 8 09:37:52 UTC 2014


Author: danfe
Date: Tue Jul  8 09:37:51 2014
New Revision: 361206
URL: http://svnweb.freebsd.org/changeset/ports/361206
QAT: https://qat.redports.org/buildarchive/r361206/

Log:
  - Use modern MASTER_SITES syntax, get rid of MASTER_SITE_SUBDIR
  - Stagify, cleanup extraction, transfer maintainership to games@
  - Add missing OPTIONS_DEFINE and unmute installation commands
  - Convert rather short pkg-plist to PORTDATA and PORTDOCS
  - Remove now defunct WWW (there is another mod, Excessive Plus,
    available which is based on this one: www.excessiveplus.net)

Deleted:
  head/games/quake3-excessive/pkg-plist
Modified:
  head/games/quake3-excessive/Makefile
  head/games/quake3-excessive/pkg-descr

Modified: head/games/quake3-excessive/Makefile
==============================================================================
--- head/games/quake3-excessive/Makefile	Tue Jul  8 09:18:20 2014	(r361205)
+++ head/games/quake3-excessive/Makefile	Tue Jul  8 09:37:51 2014	(r361206)
@@ -1,15 +1,14 @@
-# Created by: pat at databits.net
+# Created by: Patrick Li <pat at databits.net>
 # $FreeBSD$
 
 PORTNAME=	excessive
 PORTVERSION=	003
 CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	pat
+MASTER_SITES=	LOCAL/pat
 PKGNAMEPREFIX=	${Q3PKGNAMEPREFIX}
 DISTNAME=	${PORTNAME}_q3_server_${PORTVERSION}
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	games at FreeBSD.org
 COMMENT=	Quake III Arena Mod: Excessive
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
@@ -18,23 +17,22 @@ USES=		zip:infozip
 NO_BUILD=	yes
 
 DATADIR=	${Q3DIR}/${PORTNAME}
+PORTDATA=	description.txt motd.cfg maplist.cfg vm
+PORTDOCS=	readme.txt
+
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 post-extract:
-	@(cd ${WRKSRC}; ${UNZIP_CMD} description.pk3)
+	@${UNZIP_CMD} ${WRKSRC}/description.pk3 -d ${WRKSRC}
 
 do-install:
-	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/vm
 .for f in description.txt motd.cfg maplist.cfg
-	@${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${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
+	${INSTALL_DATA} ${WRKSRC}/vm/qagame.qvm ${STAGEDIR}${DATADIR}/vm
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
 
 .include "${.CURDIR}/../quake3-data/Makefile.include"
-
 .include <bsd.port.mk>

Modified: head/games/quake3-excessive/pkg-descr
==============================================================================
--- head/games/quake3-excessive/pkg-descr	Tue Jul  8 09:18:20 2014	(r361205)
+++ head/games/quake3-excessive/pkg-descr	Tue Jul  8 09:37:51 2014	(r361206)
@@ -1,5 +1,3 @@
 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/


More information about the svn-ports-all mailing list