aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-12 18:40:22 +0800
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-12 18:40:22 +0800
commit996f8476bf1312798242e8b4de5a7f9e69adb56c (patch)
tree4de5ec3d573ebcd72d8a76dba0fc830314e28c38 /graphics
parentd6fe64e86bde8f2dfd3f0c2714054273f882ed54 (diff)
downloadfreebsd-ports-gnome-996f8476bf1312798242e8b4de5a7f9e69adb56c.tar.gz
freebsd-ports-gnome-996f8476bf1312798242e8b4de5a7f9e69adb56c.tar.zst
freebsd-ports-gnome-996f8476bf1312798242e8b4de5a7f9e69adb56c.zip
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>
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