From 3207a8d031b6f6c98182b309129554e97d12c7fc Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 8 Jan 2006 22:01:23 +0000 Subject: [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 Approved by: maintainer timeout --- print/phppdflib/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'print/phppdflib/Makefile') 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 -- cgit v1.2.3