From umq@ueo.co.jp  Thu Dec 22 05:44:32 2005
Return-Path: <umq@ueo.co.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A37BC16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Dec 2005 05:44:32 +0000 (GMT)
	(envelope-from umq@ueo.co.jp)
Received: from mvs3.plala.or.jp (c158131.vh.plala.or.jp [210.150.158.131])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D30DE43D46
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Dec 2005 05:44:31 +0000 (GMT)
	(envelope-from umq@ueo.co.jp)
Received: from eupheme.kaumoge.org ([58.93.18.28]) by mvs3.plala.or.jp
          with ESMTP
          id <20051222054430.NCXB23320.mvs3.plala.or.jp@eupheme.kaumoge.org>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Thu, 22 Dec 2005 14:44:30 +0900
Received: from calliope.kaumoge.org (calliope.kaumoge.org [192.168.233.120])
	by eupheme.kaumoge.org (8.12.11/8.12.11/20030713) with ESMTP id jBM5ipqu015050
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 22 Dec 2005 14:44:51 +0900 (JST)
	(envelope-from umq@ueo.co.jp)
Message-Id: <86psnpn0r7.wl%umq@ueo.co.jp>
Date: Thu, 22 Dec 2005 14:45:16 +0900
From: Hirohisa Yamaguchi <umq@ueo.co.jp>
Reply-To: Hirohisa Yamaguchi <umq@ueo.co.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] print/phppdflib update to 2.8
X-Send-Pr-Version: 3.113

>Number:         90783
>Category:       ports
>Synopsis:       [patch] print/phppdflib update to 2.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 05:50:03 GMT 2005
>Closed-Date:    Sun Jan 08 22:24:00 GMT 2006
>Last-Modified:  Sun Jan 08 22:24:00 GMT 2006
>Originator:     Hirohisa Yamaguchi
>Release:        FreeBSD 7.0-CURRENT amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:

>Description:
	latest version of phppdflib is 2.8.
	and using bsd.php.mk is more acceptable.
>How-To-Repeat:
>Fix:

	I wrote a patch

diff -Npu tmp/ports/print/phppdflib/Makefile ports/print/phppdflib/Makefile
--- tmp/ports/print/phppdflib/Makefile	Sun Jan 11 19:24:29 2004
+++ ports/print/phppdflib/Makefile	Thu Dec 22 12:16:52 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	phppdflib
-PORTVERSION=	2.7
+PORTVERSION=	2.8
 CATEGORIES=	print
 MASTER_SITES=	http://www.potentialtech.com/
 EXTRACT_SUFX=	.tbz
@@ -14,10 +14,14 @@ EXTRACT_SUFX=	.tbz
 MAINTAINER=	sexbear@tmu.edu.tw
 COMMENT=	An easy to use API for creating PDF files dynamically
 
-.if defined(WITH_APACHE2)
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
-.else
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+USE_PHP=	yes
+WANT_PHP_MOD=	yes
+PHP_PORT?=	${PORTSDIR}/www/mod_php4
+
+BROKEN_WITH_PHP=5
+
+.if defined(WITH_APACHE)
+RUN_DEPENDS+=	${LOCALBASE}/${APACHEMODDIR}/libphp4.so:${PHP_PORT}
 .endif
 
 WRKSRC=		${WRKDIR}/phppdflib
diff -Npu tmp/ports/print/phppdflib/distinfo ports/print/phppdflib/distinfo
--- tmp/ports/print/phppdflib/distinfo	Wed Mar 31 12:10:48 2004
+++ ports/print/phppdflib/distinfo	Thu Dec 22 10:06:02 2005
@@ -1,2 +1,3 @@
-MD5 (phppdflib-2.7.tbz) = 07b44c37d749712e6d6dd45875a67977
-SIZE (phppdflib-2.7.tbz) = 88000
+MD5 (phppdflib-2.8.tbz) = 778b9baddfb3838aed9d17c504fac299
+SHA256 (phppdflib-2.8.tbz) = 1424252a5370e5bae355fcb32d4f1f390c2aff42eab4772ee4d7cd7a98163a6d
+SIZE (phppdflib-2.8.tbz) = 88343
diff -Npu tmp/ports/print/phppdflib/pkg-plist ports/print/phppdflib/pkg-plist
--- tmp/ports/print/phppdflib/pkg-plist     Sun Jan 11 19:24:29 2004
+++ ports/print/phppdflib/pkg-plist        Thu Dec 22 12:56:20 2005
@@ -63,6 +63,7 @@ www/data/phppdflib/doc/powerby.png
 www/data/phppdflib/doc/ptlogo.jpg
 www/data/phppdflib/doc/roadmap.html
 www/data/phppdflib/COPYING
+www/data/phppdflib/distinfo
 www/data/phppdflib/chart.class.php
 www/data/phppdflib/import.class.php
 www/data/phppdflib/packer.class.php
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Dec 22 05:53:59 UTC 2005 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90783 
State-Changed-From-To: feedback->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Jan 8 22:23:44 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90783 
>Unformatted:
