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

From: Ion-Mihai Tetcu <itetcu_at_FreeBSD.org>
Date: Fri, 30 May 2008 00:17:27 +0300
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:
 	_at_${MKDIR} ${EXAMPLESDIR}
 	_at_${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
 	_at_${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

Received on Thu May 29 2008 - 21:17:40 UTC