From 3e1a104b6825136073b39fb291d7f820c29ded3c Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Mon, 19 Jul 2004 09:42:01 +0000 Subject: Switch to the new PHP infrastructure. Submitted by: maintainer --- mail/horde4-turba/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'mail/horde4-turba') diff --git a/mail/horde4-turba/Makefile b/mail/horde4-turba/Makefile index 26a92d571d2d..ad5858b7da2e 100644 --- a/mail/horde4-turba/Makefile +++ b/mail/horde4-turba/Makefile @@ -18,7 +18,7 @@ MASTER_SITES= ftp://ftp.horde.org/pub/turba/ \ ftp://ftp.uk.horde.org/mirrors/ftp.horde.org/pub/turba/ \ http://ftp.horde.org/pub/turba/ -MAINTAINER= thierry@pompo.net +MAINTAINER= thierry@FreeBSD.org COMMENT= The Horde contact management application #----------------------------------------------------------------------- @@ -28,7 +28,7 @@ COMMENT= The Horde contact management application # #----------------------------------------------------------------------- -RUN_DEPENDS= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2 +RUN_DEPENDS= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2 .if !defined(WITHOUT_LDAP) USE_OPENLDAP= yes @@ -37,8 +37,6 @@ USE_OPENLDAP= yes NO_BUILD= yes USE_REINPLACE= yes -LDD= /usr/bin/ldd - REINPLACE_ARGS= -i.beforeTurba DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL \ docs/INSTALL docs/LDAP docs/RELEASE_NOTES docs/UPDATE \ @@ -57,11 +55,6 @@ TURBADIR= ${PREFIX}/${LTURBADIR} CONFDIR= ${TURBADIR}/config HORDE_INC= ${LOCALBASE}/etc/horde -.if defined(WITH_APACHE2) -PHPSO= ${LOCALBASE}/libexec/apache2/libphp4.so -.else -PHPSO= ${LOCALBASE}/libexec/apache/libphp4.so -.endif post-patch: @${RM} ${WRKSRC}/config/conf.php.dist.orig \ @@ -70,7 +63,7 @@ post-patch: pre-install: .if !defined(WITHOUT_LDAP) - @if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap"; then \ + @if ! php -m | ${GREP} -q -e "ldap"; then \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \ ${ECHO_MSG} "" ; \ -- cgit v1.2.3