From edwin@mavetju.org  Thu Sep 20 21:19:26 2007
Return-Path: <edwin@mavetju.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3BD7A16A4E9
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Sep 2007 21:19:26 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: from mail5out.barnet.com.au (mail5.barnet.com.au [202.83.178.78])
	by mx1.freebsd.org (Postfix) with ESMTP id A887813C481
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Sep 2007 21:18:20 +0000 (UTC)
	(envelope-from edwin@mavetju.org)
Received: by mail5out.barnet.com.au (Postfix, from userid 1001)
	id B74042218E29; Thu, 20 Sep 2007 21:02:17 +1000 (EST)
Received: from mail5auth.barnet.com.au (mail5.barnet.com.au [202.83.178.78])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mail5.barnet.com.au (Postfix) with ESMTP id 805F721B1070
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Sep 2007 21:02:17 +1000 (EST)
Received: from k7.mavetju (k7.mavetju.org [10.251.1.18])
	by mail5auth.barnet.com.au (Postfix) with ESMTP id DE3352218E27
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Sep 2007 21:02:16 +1000 (EST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id CF4942A2; Thu, 20 Sep 2007 21:02:17 +1000 (EST)
Message-Id: <20070920110217.CF4942A2@k7.mavetju>
Date: Thu, 20 Sep 2007 21:02:17 +1000 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] graphics/jpgraph2 - add missing files
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         116491
>Category:       ports
>Synopsis:       [patch] graphics/jpgraph2 - add missing files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 20 21:20:07 GMT 2007
>Closed-Date:    Tue Oct 02 12:51:58 GMT 2007
>Last-Modified:  Tue Oct  2 13:00:02 GMT 2007
>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@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
+@dirrm %%DATADIR%%/lang
 @dirrm %%DATADIR%%
 %%PORTDOCS%%%%EXAMPLESDIR%%/accbarex1.php
 %%PORTDOCS%%%%EXAMPLESDIR%%/alphabarex1.php
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 20 21:22:21 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116491 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Tue Oct 2 12:51:42 UTC 2007 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116491 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116491: commit references a PR
Date: Tue,  2 Oct 2007 12:51:36 +0000 (UTC)

 ale         2007-10-02 12:51:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/jpgraph2    Makefile pkg-plist 
   Log:
   Install language files.
   
   PR:             ports/116491
   Submitted by:   edwin
   
   Revision  Changes    Path
   1.5       +3 -2      ports/graphics/jpgraph2/Makefile
   1.2       +4 -0      ports/graphics/jpgraph2/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
