Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2008 12:18:16 GMT
From:      "Scot W. Hetzel" <swhetzel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124350: graphics/php5-chartdirector: NOPORTDOCS fix
Message-ID:  <200806061218.m56CIGBg058937@www.freebsd.org>
Resent-Message-ID: <200806061220.m56CK6gA016773@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806061218.m56CIGBg058937>