Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2013 10:20:46 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317942 - head/games/quake2-ctf
Message-ID:  <201305121020.r4CAKkE2048085@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun May 12 10:20:46 2013
New Revision: 317942
URL: http://svnweb.freebsd.org/changeset/ports/317942

Log:
  - Tighten Makefile header and COMMENT line
  - Sort the knobs, NOPORTDOCS -> PORT_OPTIONS:MDOCS
  - Mute MKDIR's and adjust port description text

Modified:
  head/games/quake2-ctf/Makefile
  head/games/quake2-ctf/pkg-descr

Modified: head/games/quake2-ctf/Makefile
==============================================================================
--- head/games/quake2-ctf/Makefile	Sun May 12 10:10:37 2013	(r317941)
+++ head/games/quake2-ctf/Makefile	Sun May 12 10:20:46 2013	(r317942)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	quake2-ctf
-# Date created:				26 Jul 2006
-# Whom:					alepulver
-#
+# Created by: Alejandro Pulver <alepulver@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	ctf
 PORTVERSION=	1.52
@@ -17,21 +13,22 @@ DISTFILES=	${CTF_DATA}:data \
 DIST_SUBDIR=	quake2lnx
 
 MAINTAINER=	danfe@FreeBSD.org
-COMMENT=	Quake II CTF (Capture The Flag) modification
+COMMENT=	Quake II CTF (Capture The Flag) mod
 
 USE_ZIP=	yes
 USE_DOS2UNIX=	../../../ctf/readme.txt ../../../ctf/server.cfg
 WRKSRC=		${WRKDIR}/${CTF_SRC:S/.tar.gz//}/src/ctf
 
-LATEST_LINK=	${PKGNAMEPREFIX}${PORTNAME}
 DOCSDIR=	${PREFIX}/share/doc/${LATEST_LINK}
+LATEST_LINK=	${PKGNAMEPREFIX}${PORTNAME}
 
 CTF_DATA=	q2ctf150.zip
 CTF_SRC=	quake2-r0.16.2.tar.gz
 
-.include "${.CURDIR}/../quake2-data/Makefile.include"
+OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../quake2-data/Makefile.include"
+.include <bsd.port.options.mk>
 
 do-extract:
 	@${MKDIR} ${WRKDIR}
@@ -44,15 +41,15 @@ post-extract:
 	@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
 
 do-install:
-	${MKDIR} ${Q2DIR}/ctf
+	@${MKDIR} ${Q2DIR}/ctf
 	${INSTALL_PROGRAM} ${WRKSRC}/game.so ${Q2DIR}/ctf
 .for f in *.cfg *.pak
 	${INSTALL_DATA} ${WRKDIR}/ctf/${f} ${Q2DIR}/ctf
 .endfor
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/ctf/readme.txt ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/games/quake2-ctf/pkg-descr
==============================================================================
--- head/games/quake2-ctf/pkg-descr	Sun May 12 10:10:37 2013	(r317941)
+++ head/games/quake2-ctf/pkg-descr	Sun May 12 10:20:46 2013	(r317942)
@@ -1,10 +1,10 @@
-Capture the Flag offers an exciting variation on team play. It gives more
+Capture the Flag offers an exciting variation on team play.  It gives more
 meaning to base defense along with offensive positioning and organized
 strikes.
 
 The basic premise is this:
 
-Attack the enemy base, grab their flag, then take it back to your base. In
+Attack the enemy base, grab their flag, then take it back to your base.  In
 this variation you must touch your base flag when carrying the enemy flag in
-order to score - if your flag isn't at your base when you return, you or your
-team must get it back to gain points and captures.
+order to score -- if your flag isn't at your base when you return, you or
+your team must get it back to gain points and captures.



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