aboutsummaryrefslogtreecommitdiff
path: root/games/qstat
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-17 16:44:33 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-03-17 16:44:33 +0000
commit52031d635b73a1ac8b2517d1190fb9b6d7ad0f47 (patch)
tree0bc4e6afbd2ebe8a8a77f279a82c73c11abac8e3 /games/qstat
parent997f760bc099072f692773810d95b161e2434ecc (diff)
Notes
Diffstat (limited to 'games/qstat')
-rw-r--r--games/qstat/Makefile14
1 files changed, 7 insertions, 7 deletions
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 \