aboutsummaryrefslogtreecommitdiff
path: root/print/phppdflib/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-08 22:01:23 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-08 22:01:23 +0000
commit3207a8d031b6f6c98182b309129554e97d12c7fc (patch)
treee70f90efeeaa4608e4aca5cea7fdff92fd966b11 /print/phppdflib/Makefile
parentd153f2a24ca263681e2672bf7ccabd3d15d74688 (diff)
Notes
Diffstat (limited to 'print/phppdflib/Makefile')
-rw-r--r--print/phppdflib/Makefile14
1 files changed, 9 insertions, 5 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