aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-05-31 23:25:01 +0800
committerpetef <petef@FreeBSD.org>2002-05-31 23:25:01 +0800
commitc29136b7c24f239a93807de2eae4fb6efb1e689e (patch)
tree661b323b7c25563efa1b832cfe69270a029e4d59 /www
parent6397f8893eddbbb174747e7a7233a1c305cb291b (diff)
downloadfreebsd-ports-gnome-c29136b7c24f239a93807de2eae4fb6efb1e689e.tar.gz
freebsd-ports-gnome-c29136b7c24f239a93807de2eae4fb6efb1e689e.tar.zst
freebsd-ports-gnome-c29136b7c24f239a93807de2eae4fb6efb1e689e.zip
Add php-dyn 1.2, a PHP Extension to help debugging a PHP script.
PR: 38417 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/php-dyn/Makefile50
-rw-r--r--www/php-dyn/distinfo1
-rw-r--r--www/php-dyn/files/pkg-message.in9
-rw-r--r--www/php-dyn/pkg-comment1
-rw-r--r--www/php-dyn/pkg-descr10
-rw-r--r--www/php-dyn/pkg-plist3
7 files changed, 75 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 50adc2132807..de9da3aaef21 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -303,6 +303,7 @@
SUBDIR += p5-libwww
SUBDIR += peacock
SUBDIR += pgdriver
+ SUBDIR += php-dyn
SUBDIR += php-screw
SUBDIR += php-templates
SUBDIR += phpSysInfo
diff --git a/www/php-dyn/Makefile b/www/php-dyn/Makefile
new file mode 100644
index 000000000000..bb8cbc2367ed
--- /dev/null
+++ b/www/php-dyn/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: php-dyn
+# Date created: Wed May 22 14:27:22 CET 2002
+# Whom: Alex Dupre <sysadmin@alexdupre.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= php-dyn
+PORTVERSION= 1.2
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= php_dyn-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= sysadmin@alexdupre.com
+
+BUILD_DEPENDS= aclocal:${PORTSDIR}/devel/automake \
+ autoconf:${PORTSDIR}/devel/autoconf \
+ phpize:${PORTSDIR}/www/mod_php4
+RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
+ ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --enable-php_dyn=shared \
+ --with-php-config=${LOCALBASE}/bin/php-config
+
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+post-extract:
+ @${ECHO_MSG} "===> PHPizing for ${PORTNAME}-${PORTVERSION}"
+ @(cd ${WRKSRC}; ${LOCALBASE}/bin/phpize)
+
+post-build:
+ @${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g;s|%%PREFIX%%|${PREFIX}|g" \
+ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
+
+do-install:
+ @${MKDIR} ${PREFIX}/lib/php/extensions
+ @${INSTALL_DATA} ${WRKSRC}/modules/php_dyn.so \
+ ${PREFIX}/lib/php/extensions
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README.en ${DOCSDIR}/README
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/php-dyn/distinfo b/www/php-dyn/distinfo
new file mode 100644
index 000000000000..9c6b278474d2
--- /dev/null
+++ b/www/php-dyn/distinfo
@@ -0,0 +1 @@
+MD5 (php_dyn-1.2.tgz) = 75a90c4731ad4b1ee4887dc24a118b67
diff --git a/www/php-dyn/files/pkg-message.in b/www/php-dyn/files/pkg-message.in
new file mode 100644
index 000000000000..ebc7591bf5c5
--- /dev/null
+++ b/www/php-dyn/files/pkg-message.in
@@ -0,0 +1,9 @@
+*****************************************************************************
+
+You have installed the php-dyn package.
+
+Edit %%LOCALBASE%%/etc/php.ini and add:
+
+zend_extension="%%PREFIX%%/lib/php/extensions/php_dyn.so"
+
+*****************************************************************************
diff --git a/www/php-dyn/pkg-comment b/www/php-dyn/pkg-comment
new file mode 100644
index 000000000000..150f79535f20
--- /dev/null
+++ b/www/php-dyn/pkg-comment
@@ -0,0 +1 @@
+A PHP Extension to help debugging a PHP script
diff --git a/www/php-dyn/pkg-descr b/www/php-dyn/pkg-descr
new file mode 100644
index 000000000000..05b10219ef8a
--- /dev/null
+++ b/www/php-dyn/pkg-descr
@@ -0,0 +1,10 @@
+PHP Dyn is PHP Extension to help debugging a PHP script.
+You can get execution trace of scripts not to need change them.
+HTTP request parameters can be printed. Argument values of the
+function call and return value can be printed. Each execution
+time will be printed with microseconds.
+
+WWW: http://sourceforge.net/projects/php-dyn/
+
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/www/php-dyn/pkg-plist b/www/php-dyn/pkg-plist
new file mode 100644
index 000000000000..1490bd683d7a
--- /dev/null
+++ b/www/php-dyn/pkg-plist
@@ -0,0 +1,3 @@
+lib/php/extensions/php_dyn.so
+%%PORTDOCS%%share/doc/php-dyn/README
+%%PORTDOCS%%@dirrm share/doc/php-dyn