ports/90783: [patch] print/phppdflib update to 2.8

Hirohisa Yamaguchi umq at ueo.co.jp
Thu Dec 22 05:50:07 UTC 2005


>Number:         90783
>Category:       ports
>Synopsis:       [patch] print/phppdflib update to 2.8
>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 Dec 22 05:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list