summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-12 10:40:22 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-12 10:40:22 +0000
commit996f8476bf1312798242e8b4de5a7f9e69adb56c (patch)
tree4de5ec3d573ebcd72d8a76dba0fc830314e28c38 /graphics
parentNew port: UebiMiau PHP Webmail (diff)
Add Apache2 support at graphics/phplot
PHPLot depends on Apache. This patch adds Apache2 support. PR: ports/52727 Submitted by: Richard Arends <richard@unixguru.nl>
Notes
Notes: svn path=/head/; revision=90901
Diffstat (limited to 'graphics')
-rw-r--r--graphics/phplot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/phplot/Makefile b/graphics/phplot/Makefile
index 97bd214bc2a9..3bf5000ad4b7 100644
--- a/graphics/phplot/Makefile
+++ b/graphics/phplot/Makefile
@@ -15,7 +15,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= yukinopo@livedoor.com
COMMENT= A PHP class for creating scientific and business charts
+.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
+.endif
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
NO_BUILD= YES