From 24ad278a6bc5abfaf82ec063503d5839d27510d3 Mon Sep 17 00:00:00 2001 From: danfe Date: Sun, 12 May 2013 10:20:46 +0000 Subject: - Tighten Makefile header and COMMENT line - Sort the knobs, NOPORTDOCS -> PORT_OPTIONS:MDOCS - Mute MKDIR's and adjust port description text --- games/quake2-ctf/Makefile | 23 ++++++++++------------- games/quake2-ctf/pkg-descr | 8 ++++---- 2 files changed, 14 insertions(+), 17 deletions(-) (limited to 'games/quake2-ctf') diff --git a/games/quake2-ctf/Makefile b/games/quake2-ctf/Makefile index f0204d447404..e53d27093865 100644 --- a/games/quake2-ctf/Makefile +++ b/games/quake2-ctf/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: quake2-ctf -# Date created: 26 Jul 2006 -# Whom: alepulver -# +# Created by: Alejandro Pulver # $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 +.include "${.CURDIR}/../quake2-data/Makefile.include" +.include 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 +.include diff --git a/games/quake2-ctf/pkg-descr b/games/quake2-ctf/pkg-descr index a98f75a322af..bb7d553a3614 100644 --- a/games/quake2-ctf/pkg-descr +++ b/games/quake2-ctf/pkg-descr @@ -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. -- cgit