Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= imp |
8 |
PORTNAME= imp |
9 |
PORTVERSION= 3.2.1 |
9 |
PORTVERSION= 3.2.1 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= mail www |
11 |
CATEGORIES= mail www |
12 |
MASTER_SITES= ftp://ftp.horde.org/pub/imp/ \ |
12 |
MASTER_SITES= ftp://ftp.horde.org/pub/imp/ \ |
13 |
ftp://ftp.au.horde.org/pub/horde/imp/ \ |
13 |
ftp://ftp.au.horde.org/pub/horde/imp/ \ |
Lines 23-29
Link Here
|
23 |
# You may define these options: |
23 |
# You may define these options: |
24 |
# |
24 |
# |
25 |
# - WITHOUT_LDAP : if you do not need OpenLDAP; |
25 |
# - WITHOUT_LDAP : if you do not need OpenLDAP; |
26 |
# - WITH_LDAP1 : if you prefer OpenLDAP1. |
|
|
27 |
# |
26 |
# |
28 |
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree; |
27 |
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree; |
29 |
# |
28 |
# |
Lines 66-77
Link Here
|
66 |
|
65 |
|
67 |
.if defined(WITHOUT_TURBA) |
66 |
.if defined(WITHOUT_TURBA) |
68 |
.if !defined(WITHOUT_LDAP) |
67 |
.if !defined(WITHOUT_LDAP) |
69 |
.if defined(WITH_LDAP1) |
68 |
.if exists(${LOCALBASE}/lib/libldap.so.1) |
70 |
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \ |
69 |
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 |
71 |
lber.1:${PORTSDIR}/net/openldap12 |
|
|
72 |
.else |
70 |
.else |
73 |
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \ |
71 |
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21 |
74 |
lber.2:${PORTSDIR}/net/openldap20 |
|
|
75 |
.endif |
72 |
.endif |
76 |
.endif |
73 |
.endif |
77 |
RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2 |
74 |
RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2 |
Lines 197-203
Link Here
|
197 |
.endif |
194 |
.endif |
198 |
.endif |
195 |
.endif |
199 |
.if !defined(WITHOUT_LDAP) |
196 |
.if !defined(WITHOUT_LDAP) |
200 |
.if defined(WITH_LDAP1) |
197 |
.if exists(${LOCALBASE}/lib/libldap.so.1) |
201 |
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \ |
198 |
@if ! ${LDD} ${PHPSO} | ${GREP} -q -e "libldap.so.1"; then \ |
202 |
${ECHO_MSG} "" ; \ |
199 |
${ECHO_MSG} "" ; \ |
203 |
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \ |
200 |
${ECHO_MSG} "Please configure PHP with OpenLDAP support." ; \ |