aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-09 06:01:23 +0800
committeredwin <edwin@FreeBSD.org>2006-01-09 06:01:23 +0800
commit4eaf22e641e8f4bc7bf86dcd00b962ffd116215a (patch)
tree2b0e9cfba5e6e12e2064d55a6e944da1f8ad9365 /print
parentce900ec0889666996570cbcd70ad903b1bc0de0d (diff)
downloadfreebsd-ports-gnome-4eaf22e641e8f4bc7bf86dcd00b962ffd116215a.tar.gz
freebsd-ports-gnome-4eaf22e641e8f4bc7bf86dcd00b962ffd116215a.tar.zst
freebsd-ports-gnome-4eaf22e641e8f4bc7bf86dcd00b962ffd116215a.zip
[patch] print/phppdflib update to 2.8
latest version of phppdflib is 2.8. and using bsd.php.mk is more acceptable PR: ports/90783 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> Approved by: maintainer timeout
Diffstat (limited to 'print')
-rw-r--r--print/phppdflib/Makefile14
-rw-r--r--print/phppdflib/distinfo5
-rw-r--r--print/phppdflib/pkg-plist1
3 files changed, 13 insertions, 7 deletions
diff --git a/print/phppdflib/Makefile b/print/phppdflib/Makefile
index c24851c5faf5..71596ed25e57 100644
--- a/print/phppdflib/Makefile
+++ b/print/phppdflib/Makefile
@@ -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 --git a/print/phppdflib/distinfo b/print/phppdflib/distinfo
index 6b6b9d6b35b4..56036a6f4461 100644
--- a/print/phppdflib/distinfo
+++ b/print/phppdflib/distinfo
@@ -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 --git a/print/phppdflib/pkg-plist b/print/phppdflib/pkg-plist
index 687c6f5dc411..ac44f463a3b4 100644
--- a/print/phppdflib/pkg-plist
+++ b/print/phppdflib/pkg-plist
@@ -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