ports/116491: [patch] graphics/jpgraph2 - add missing files

Edwin Groothuis edwin at mavetju.org
Thu Sep 20 21:20:10 UTC 2007


>Number:         116491
>Category:       ports
>Synopsis:       [patch] graphics/jpgraph2 - add missing files
>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:   Thu Sep 20 21:20:07 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 6.2-RELEASE-p4 i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386

>Description:

	The files in src/lang are not installed, causing this message
	when something goes wrong:

	Internal error: Chosen locale file for error messages does not exist.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/graphics/jpgraph2/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	19 May 2007 20:09:38 -0000	1.4
+++ Makefile	20 Sep 2007 11:00:52 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	jpgraph
 PORTVERSION=	2.1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	http://web.comhem.se/jpgraph/jpgdownloads/
 
@@ -27,9 +27,11 @@
 
 do-install:
 	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${DATADIR}/lang
 	${CP} ${WRKSRC}/src/*.php ${DATADIR}
 	${CP} ${WRKSRC}/src/*.inc ${DATADIR}
 	${CP} ${WRKSRC}/src/*.dat ${DATADIR}
+	${CP} ${WRKSRC}/src/lang/*.php ${DATADIR}/lang
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/graphics/jpgraph2/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	7 Dec 2006 10:04:08 -0000	1.1
+++ pkg-plist	20 Sep 2007 11:00:52 -0000
@@ -37,6 +37,10 @@
 %%DATADIR%%/jpgraph_scatter.php
 %%DATADIR%%/jpgraph_stock.php
 %%DATADIR%%/jpgraph_utils.inc.php
+%%DATADIR%%/jpgraph/lang/en.inc.php
+%%DATADIR%%/jpgraph/lang/de.inc.php
+%%DATADIR%%/jpgraph/lang/prog.inc.php
+ at dirrm %%DATADIR%%/lang
 @dirrm %%DATADIR%%
 %%PORTDOCS%%%%EXAMPLESDIR%%/accbarex1.php
 %%PORTDOCS%%%%EXAMPLESDIR%%/alphabarex1.php
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list