NOPORTDOCS != NOPORTEXAMPLES != NOPORTDATA (Re: cvs commit: ports/databases/php4-rrdtool Makefile)

Mathieu Arnold mat at FreeBSD.org
Thu May 29 21:23:37 UTC 2008


+-Le 30/05/08 00:17 +0300, Ion-Mihai Tetcu a dit :
| On Thu, 29 May 2008 20:57:04 +0000 (UTC)
| Mathieu Arnold <mat at FreeBSD.org> wrote:
| 
|> mat         2008-05-29 20:57:03 UTC
|> 
|>   FreeBSD ports repository
|> 
|>   Modified files:
|>     databases/php4-rrdtool Makefile 
|>   Log:
|>   Fix when NOPORTDOCS set
|>   
|>   Spotted By:     itetcu
|>   
|>   Revision  Changes    Path
|>   1.6       +2 -0      ports/databases/php4-rrdtool/Makefile
| 
| No, please be careful:
| 
| We have 3 vars that control installation of "non-essential" files:
| NOPORTDOCS, NOPORTEXAMPLES, NOPORTDATA
| 
| +.if !defined(NOPORTDOCS)
|  post-install:
|  	@${MKDIR} ${EXAMPLESDIR}
|  	@${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|  	@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
| +.endif
| 
| Since here you install examples you should test for NOPORTEXAMPLES.

Well, the plist has %%PORTDOCS%% so, I've added whatever was necessary to
remain consistent. I can s/PORTDOCS/PORTEXAMPLES/ if you prefer.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20080529/435d095f/attachment.pgp


More information about the cvs-ports mailing list