diff options
author | Sam Lawrance <lawrance@FreeBSD.org> | 2006-02-08 14:57:05 +0000 |
---|---|---|
committer | Sam Lawrance <lawrance@FreeBSD.org> | 2006-02-08 14:57:05 +0000 |
commit | bf7277c3538316b6060225a655f8eecbb70d83cd (patch) | |
tree | c7deae6c2203b1bb0a236c716f9a9cd636b83bb5 /mail/silkymail | |
parent | 12c6944eebe5a14af156b154a2b900cd2a8b4ab4 (diff) | |
download | ports-bf7277c3538316b6060225a655f8eecbb70d83cd.tar.gz ports-bf7277c3538316b6060225a655f8eecbb70d83cd.zip |
Notes
Diffstat (limited to 'mail/silkymail')
-rw-r--r-- | mail/silkymail/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/mail/silkymail/Makefile b/mail/silkymail/Makefile index 9d2a2ddc084d..8ef6589e2df0 100644 --- a/mail/silkymail/Makefile +++ b/mail/silkymail/Makefile @@ -9,7 +9,8 @@ PORTNAME= silkymail PORTVERSION= 1.1.10 PORTREVISION= 1 CATEGORIES= mail www -MASTER_SITES= ftp://ftp.cyrusoft.com/pub/SilkyMail/%SUBDIR%/ +MASTER_SITES= http://alkoholix.tallence.de/FreeBSD/ports/distfiles-local/silkymail/%SUBDIR%/ \ + ftp://ftp.cyrusoft.com/pub/SilkyMail/%SUBDIR%/ MASTER_SITE_SUBDIR= v${PORTVERSION:S/./_/g} DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tgz @@ -17,11 +18,12 @@ EXTRACT_SUFX= .tgz MAINTAINER= voisine@yahoo.com COMMENT= A webmail system which accesses mail over IMAP -RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 +USE_PHP= dba imap +WANT_PHP_MOD= YES WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= YES -NO_PACKAGE= "Requires IMAP/IMAP_SSL enabled in www/mod_php4" +NO_PACKAGE= requires GDBM support in databases/php4-dba, which is off by default SILKYMAILDIR= ${LOCALBASE}/www/${PORTNAME} @@ -31,15 +33,9 @@ do-install: @${CHOWN} www:www ${SILKYMAILDIR}/silkymail/imp/data pre-install: - @if ! ${LDCONFIG} -r | ${GREP} -q -e "c-client4.8"; then \ + @if ! /usr/bin/ldd -a ${LOCALBASE}/lib/php/20020429/dba.so | ${GREP} -q -e "libgdbm.so"; then \ ${ECHO_MSG} "" ; \ - ${ECHO_MSG} "Please configure mod_php4 with IMAP or IMAP-SSL support." ; \ - ${ECHO_MSG} "" ; \ - ${FALSE} ; \ - fi - @if ! ${LDCONFIG} -r | ${GREP} -q -e "gdbm.3"; then \ - ${ECHO_MSG} "" ; \ - ${ECHO_MSG} "Please configure mod_php4 with GDBM support." ; \ + ${ECHO_MSG} "databases/php4-dba needs to be built with GDBM support." ; \ ${ECHO_MSG} "" ; \ ${FALSE} ; \ fi |