ports/124350: graphics/php5-chartdirector: NOPORTDOCS fix

Scot W. Hetzel swhetzel at gmail.com
Fri Jun 6 12:20:07 UTC 2008


>Number:         124350
>Category:       ports
>Synopsis:       graphics/php5-chartdirector: NOPORTDOCS fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 06 12:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Scot W. Hetzel
>Release:        FreeBSD 8.0-CURRENT
>Organization:
>Environment:
>Description:
php*-chartdirector when NOPORTDOCS is defined it still installs the LICENSE* and README* files in the DOCSDIR.
>How-To-Repeat:
install the port with NOPORTDOCS installed
>Fix:
apply attached patch

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/php5-chartdirector/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	17 Sep 2007 11:10:07 -0000	1.2
+++ Makefile	5 Jun 2008 10:45:15 -0000
@@ -66,10 +66,10 @@
 	@${MKDIR} ${PREFIX}/etc/php
 	@${ECHO_CMD} extension=${PHP_CHARTDIR_DLL} \
 		>> ${PREFIX}/etc/php/extensions.ini
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	@${INSTALL_DATA} ${WRKSRC}/LICENSE.TXT ${DOCSDIR}
 	@${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}
-.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}/cdphpdoc
 	@${MKDIR} ${DOCSDIR}/cdphpdoc/images
 	@${INSTALL_DATA} ${WRKSRC}/doc/cdphp.htm ${DOCSDIR}


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list