From 3c5a1d74f9eaec69098cb4f6bad5f4c9d63c25e9 Mon Sep 17 00:00:00 2001 From: danfe Date: Sun, 17 Mar 2013 16:44:33 +0000 Subject: - NOPORTDOCS -> PORT_OPTIONS:MDOCS - Drop article from COMMENT while here --- games/qcc/Makefile | 2 +- games/qstat/Makefile | 14 +++++++------- 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 -# +# Created by: Daniel O'Connor # $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 + 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 \ -- cgit