aboutsummaryrefslogtreecommitdiff
path: root/mail/horde4-turba
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-12 02:17:45 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-12 02:17:45 +0000
commit95d555c82ee9ef130d65f7a4f4f09d5811a827c1 (patch)
tree417b0030e063e21edc0bd3551ffe1c159ca97304 /mail/horde4-turba
parentde4e77e12faa96bf1338ab4dfbcea5f4716db1e9 (diff)
downloadports-95d555c82ee9ef130d65f7a4f4f09d5811a827c1.tar.gz
ports-95d555c82ee9ef130d65f7a4f4f09d5811a827c1.zip
Notes
Diffstat (limited to 'mail/horde4-turba')
-rw-r--r--mail/horde4-turba/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/mail/horde4-turba/Makefile b/mail/horde4-turba/Makefile
index bd198fa9961f..81028a575cf1 100644
--- a/mail/horde4-turba/Makefile
+++ b/mail/horde4-turba/Makefile
@@ -7,6 +7,7 @@
PORTNAME= turba
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= mail www
MASTER_SITES= ftp://ftp.horde.org/pub/turba/ \
ftp://ftp.au.horde.org/pub/horde/turba/ \
@@ -19,22 +20,17 @@ MAINTAINER= thierry@pompo.net
COMMENT= The Horde contact management application
#-----------------------------------------------------------------------
-# You may define these options:
+# You may define this option:
#
# - WITHOUT_LDAP : if you do not need OpenLDAP;
-# - WITH_LDAP1 : if you prefer OpenLDAP1.
-#
-# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
#
#-----------------------------------------------------------------------
.if !defined(WITHOUT_LDAP)
-.if defined(WITH_LDAP1)
-LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
- lber.1:${PORTSDIR}/net/openldap12
+.if exists(${LOCALBASE}/lib/libldap.so.1)
+LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
- lber.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
.endif
.endif
@@ -70,7 +66,7 @@ PHPSO= ${LOCALBASE}/libexec/apache/libphp4.so
pre-install:
.if !defined(WITHOUT_LDAP)
-.if defined(WITH_LDAP1)
+.if exists(${LOCALBASE}/lib/libldap.so.1)
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \
${ECHO_MSG} "" ; \
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \