diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-02-13 15:18:33 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-02-13 15:18:33 +0000 |
commit | 2a4a71b5088b541d645cc2e24d8a725c97a29c9e (patch) | |
tree | bf494d043f5e79816ca466572b0fcb5930e22a5f /mail/horde-turba/Makefile | |
parent | 8a2b51e72a962985617f686c163271e30de2105e (diff) | |
download | ports-2a4a71b5088b541d645cc2e24d8a725c97a29c9e.tar.gz ports-2a4a71b5088b541d645cc2e24d8a725c97a29c9e.zip |
Notes
Diffstat (limited to 'mail/horde-turba/Makefile')
-rw-r--r-- | mail/horde-turba/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/horde-turba/Makefile b/mail/horde-turba/Makefile index c67ca3b72ee2..2621ef05451f 100644 --- a/mail/horde-turba/Makefile +++ b/mail/horde-turba/Makefile @@ -27,6 +27,8 @@ COMMENT= The Horde contact management application # # - WITHOUT_LDAP : if you do not need OpenLDAP; # +# - WITH_IMSP : run IMSP cyrus-imspd. +# #----------------------------------------------------------------------- RUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde @@ -55,11 +57,22 @@ CONFDIR= ${TURBADIR}/config HORDE_INC= ${LOCALBASE}/etc/horde +.if exists(${LOCALBASE}/sbin/imspd) +WITH_IMSP= yes +.endif +.if defined(WITH_IMSP) +RUN_DEPENDS+= imspd:${PORTSDIR}/databases/cyrus-imspd +.endif + pre-configure: + @${RM} ${WRKSRC}/config/sources.php.dist.orig @${SED} -e "s:/home/httpd/html/horde/turba:${TURBADIR}:g" \ ${FILESDIR}/httpd.conf.turba > ${WRKDIR}/httpd.conf.turba @${REINPLACE_CMD} -e "s:/usr/bin/ldapadd:${LOCALBASE}/bin/ldapadd:" \ ${WRKSRC}/scripts/ldap/addou.pl +.if defined(WITH_IMSP) + @${REINPLACE_CMD} -e "s://UNCOMMENTIFIMSP ::" ${WRKSRC}/config/sources.php.dist +.endif do-install: @${MKDIR} ${TURBADIR} |