ports/69325: [patch] graphics/jpgraph cleanup install

Edwin Groothuis edwin at mavetju.org
Tue Jul 20 02:10:14 UTC 2004


>Number:         69325
>Category:       ports
>Synopsis:       [patch] graphics/jpgraph cleanup install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 20 02:10:13 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #3: Fri Feb 27 13:54:29 EST 2004 edwin at k7.mavetju:/usr/src/sys/i386/compile/k7 i386

>Description:

===>  Checking if graphics/jpgraph already installed
/bin/cp /usr/ports/graphics/jpgraph/work/jpgraph-1.16/src/*.php /usr/local/share/jpgraph
/bin/cp /usr/ports/graphics/jpgraph/work/jpgraph-1.16/src/*.inc /usr/local/share/jpgraph
/bin/cp /usr/ports/graphics/jpgraph/work/jpgraph-1.16/src/*.dat /usr/local/share/jpgraph
/bin/cp -R /usr/ports/graphics/jpgraph/work/jpgraph-1.16/docs/ /usr/local/share/doc/jpgraph
/bin/cp /usr/ports/graphics/jpgraph/work/jpgraph-1.16/src/Examples/* /usr/local/share/examples/jpgraph
cp: /usr/ports/graphics/jpgraph/work/jpgraph-1.16/src/Examples/CVS is a directory (not copied).
*** Error code 1 (ignored)
===>   Registering installation for jpgraph-1.16

See the last cp line?

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/jpgraph/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	19 Jul 2004 12:57:53 -0000	1.13
+++ Makefile	20 Jul 2004 02:01:23 -0000
@@ -19,6 +19,9 @@
 
 NO_CDROM=	"The free version cannot be used in a commercial context"
 
+post-extract:
+	${RM} -rf ${WRKSRC}/src/Examples/CVS
+
 do-install:
 	@${MKDIR} ${DATADIR}
 	${CP} ${WRKSRC}/src/*.php ${DATADIR}
@@ -28,7 +31,7 @@
 	@${MKDIR} ${DOCSDIR}
 	${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
 	@${MKDIR} ${EXAMPLESDIR}
-	-${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
+	${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list