Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2014 10:03:18 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Johannes Jost Meixner <xmj@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r351187 - head/games/linux-nwserver
Message-ID:  <20140414100318.GA51290@FreeBSD.org>
In-Reply-To: <201404130751.s3D7pvPK013643@svn.freebsd.org>
References:  <201404130751.s3D7pvPK013643@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 13, 2014 at 07:51:57AM +0000, Johannes Jost Meixner wrote:
> New Revision: 351187
> URL: http://svnweb.freebsd.org/changeset/ports/351187
> QAT: https://qat.redports.org/buildarchive/r351187/
> 
> +COMMENT=	Neverwinter Nights Linux Dedicated Server

We usually avoid excessive caps in COMMENT (e.g. it better be "dedicated
server").

> +.include <bsd.port.options.mk>
> +
> [...]
> -.ifndef (NOPORTDOCS)
> -	@${MKDIR} ${DOCSDIR}
> -	${INSTALL_DATA} ${WRKDIR}/readme.linuxserver.txt ${DOCSDIR}
> +.if ${PORT_OPTIONS:MDOCS}
> +	@${MKDIR} ${STAGEDIR}${DOCSDIR}
> +	${INSTALL_DATA} ${WRKDIR}/readme.linuxserver.txt ${STAGEDIR}${DOCSDIR}

For docs that do not require generation (i.e. they are shipped with the
ported software), once you stage the port, checking PORT_OPTIONS:MDOCS is
no longer needed (and allows you to remove .include <bsd.port.options.mk>
in this case).

./danfe



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