summaryrefslogtreecommitdiff
path: root/www/php-dyn/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-05-31 15:25:01 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-05-31 15:25:01 +0000
commitc325c3b41c7fb276fb72e14512847f924397f53e (patch)
tree5378491283fb6fe1ddbbd3ee5ea56b2a93cb62aa /www/php-dyn/Makefile
parentFix CFLAGS complience. No optimizations at all was used before... (diff)
Add php-dyn 1.2, a PHP Extension to help debugging a PHP script.
PR: 38417 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Notes
Notes: svn path=/head/; revision=60386
Diffstat (limited to 'www/php-dyn/Makefile')
-rw-r--r--www/php-dyn/Makefile50
1 files changed, 50 insertions, 0 deletions
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>