Date: Thu, 29 May 2008 23:23:33 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Ion-Mihai Tetcu <itetcu@FreeBSD.org>, Mathieu Arnold <mat@FreeBSD.org> Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: NOPORTDOCS != NOPORTEXAMPLES != NOPORTDATA (Re: cvs commit: ports/databases/php4-rrdtool Makefile) Message-ID: <CDAB9D85B4E3C5836BB2270F@atuin.in.mat.cc> In-Reply-To: <20080530001727.50090f20@it.buh.tecnik93.com> References: <200805292057.m4TKv4in005942@repoman.freebsd.org> <20080530001727.50090f20@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========58C42DE5A0EB619A68AF==========
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
+-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@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
--==========58C42DE5A0EB619A68AF==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFIPx7VJqR8av5thQ8RArAnAKCMtr/FL4kfo/NBSzdmePp0Mcmq2ACgz9y/
T5nHjKDu5Dqcd2N8ySfSRHQ=
=Ecca
-----END PGP SIGNATURE-----
--==========58C42DE5A0EB619A68AF==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDAB9D85B4E3C5836BB2270F>
