aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-03-18 00:44:33 +0800
committerdanfe <danfe@FreeBSD.org>2013-03-18 00:44:33 +0800
commit3c5a1d74f9eaec69098cb4f6bad5f4c9d63c25e9 (patch)
tree0bc4e6afbd2ebe8a8a77f279a82c73c11abac8e3
parent71895900fd6fa9ad43cdba0308c28adf21072402 (diff)
downloadfreebsd-ports-gnome-3c5a1d74f9eaec69098cb4f6bad5f4c9d63c25e9.tar.gz
freebsd-ports-gnome-3c5a1d74f9eaec69098cb4f6bad5f4c9d63c25e9.tar.zst
freebsd-ports-gnome-3c5a1d74f9eaec69098cb4f6bad5f4c9d63c25e9.zip
- NOPORTDOCS -> PORT_OPTIONS:MDOCS
- Drop article from COMMENT while here
-rw-r--r--games/qcc/Makefile2
-rw-r--r--games/qstat/Makefile14
2 files changed, 8 insertions, 8 deletions
diff --git a/games/qcc/Makefile b/games/qcc/Makefile
index f6ac14862fed..f189ca12ef1e 100644
--- a/games/qcc/Makefile
+++ b/games/qcc/Makefile
@@ -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
diff --git a/games/qstat/Makefile b/games/qstat/Makefile
index 789c4449942f..ae55b761df89 100644
--- a/games/qstat/Makefile
+++ b/games/qstat/Makefile
@@ -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 \