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

Ion-Mihai Tetcu itetcu at FreeBSD.org
Thu May 29 21:17:40 UTC 2008


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.

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20080529/6c0a4c4b/signature.pgp


More information about the cvs-ports mailing list