svn commit: r338361 - in head/devel/silentbob: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Jan 13 08:29:49 UTC 2014
On Wed, Jan 01, 2014 at 06:49:19AM +0000, TAKATSU Tomonari wrote:
> New Revision: 338361
> URL: http://svnweb.freebsd.org/changeset/ports/338361
>
> +PORTDOCS= README
[...]
> +.if ${PORT_OPTIONS:MDOCS}
> post-install:
> -.if !defined(NOPORTDOCS)
> - @${MKDIR} ${DOCSDIR}
> - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
> - @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
> + @${MKDIR} ${STAGEDIR}${DOCSDIR}
> + @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
For a simple cases like this one (when docs are not being built and are just
a lonely README file), once staged, .if ${PORT_OPTIONS:MDOCS} is no longer
necessary (and would allow you to remove .include <bsd.port.options.mk>).
Please note that INSTALL_* commands should not be muted (muting MKDIR is
fine), thank you.
./danfe
More information about the svn-ports-all
mailing list