Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2013 16:44:33 +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: r314461 - in head/games: qcc qstat
Message-ID:  <201303171644.r2HGiXpA070122@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Mar 17 16:44:33 2013
New Revision: 314461
URL: http://svnweb.freebsd.org/changeset/ports/314461

Log:
  - NOPORTDOCS -> PORT_OPTIONS:MDOCS
  - Drop article from COMMENT while here

Modified:
  head/games/qcc/Makefile
  head/games/qstat/Makefile

Modified: head/games/qcc/Makefile
==============================================================================
--- head/games/qcc/Makefile	Sun Mar 17 16:44:03 2013	(r314460)
+++ head/games/qcc/Makefile	Sun Mar 17 16:44:33 2013	(r314461)
@@ -9,7 +9,7 @@ MASTER_SITE_SUBDIR=	source
 DISTNAME=	${PORTNAME}
 
 MAINTAINER=	danfe@FreeBSD.org
-COMMENT=	The QuakeC compiler, for building custom games of Quake
+COMMENT=	QuakeC compiler, for building custom games of Quake
 
 LICENSE=	GPLv2
 

Modified: head/games/qstat/Makefile
==============================================================================
--- head/games/qstat/Makefile	Sun Mar 17 16:44:03 2013	(r314460)
+++ head/games/qstat/Makefile	Sun Mar 17 16:44:33 2013	(r314461)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	QStat
-# Date created:				28 May 1998
-# Whom:					Daniel O'Connor <darius@dons.net.au>
-#
+# Created by: Daniel O'Connor <darius@dons.net.au>
 # $FreeBSD$
-#
 
 PORTNAME=	qstat
 PORTVERSION=	2.11
@@ -11,10 +7,14 @@ CATEGORIES=	games net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	danfe@FreeBSD.org
-COMMENT=	A command line program to query game servers on the net
+COMMENT=	Command-line program to query game servers on the net
 
 GNU_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-extract:
 	@${MV} ${WRKSRC}/qstat.cfg ${WRKSRC}/qstat.cfg.default
 
@@ -24,7 +24,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|OpenBSD|FreeBSD|' ${WRKSRC}/qstat.c
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}/info ${DOCSDIR}/template
 	${INSTALL_DATA} ${WRKSRC}/qstatdoc.html ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/template/*.html ${WRKSRC}/template/*.txt \



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