svn commit: r314461 - in head/games: qcc qstat
Alexey Dokuchaev
danfe at FreeBSD.org
Sun Mar 17 16:44:34 UTC 2013
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 at 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 at dons.net.au>
-#
+# Created by: Daniel O'Connor <darius at 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 at 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 \
More information about the svn-ports-all
mailing list