svn commit: r351187 - head/games/linux-nwserver
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Apr 14 10:03:19 UTC 2014
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
More information about the svn-ports-all
mailing list