How do conditionalize plist on $NOPORTDOCS (was: lang/cmucl - fails: install_error)

Wesley Shields wxs at FreeBSD.org
Tue Nov 18 08:29:09 PST 2008


On Tue, Nov 18, 2008 at 11:05:28AM -0500, Martin Cracauer wrote:
> The problem mailed to me below is caused by NOPORTDOCS=yes
> 
> The port's Makefile properly conditionalizes on it, but pkg-plist does not.
> 
> How do I conditionalize ppk-list on NOPORTDOCS=yes?
> 
> Makefile:
> .if !defined(NOPORTDOCS)
>         @${MKDIR} ${DOCSDIR}
>         ${INSTALL_DATA} ${WRKDIR}/doc/cmucl/* ${DOCSDIR}
> .endif
> 
> pkg-plist:
> %%DOCSDIR%%/README
> %%DOCSDIR%%/release-19c.txt

You use %%PORTDOCS%%.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html#INSTALL-DOCUMENTATION

-- WXS


More information about the freebsd-ports mailing list