1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/mail/imp/Makefile

114 lines
3.1 KiB
Makefile
Raw Normal View History

Upgrade to 4.0. The major changes compared to the IMP 3.x versions are: * Much improved message format support through Horde's rewritten MIME system. * Many, many additional and improved mime viewers for attachments. * Encrypting, signing, decrypting and verifying of signed and encrypted messages (PGP/GPG and S/MIME). * Message filters moved to a separate application (Ingo) to support more filter backends and a more robust/comprehensive/easy-to-use UI. * Full charset support in folders, mailbox, message and compose views. * Mail folders in the left menu. * Experimental support for virtual folders. * Preview of attachments in compose view. * Send attachments as links. * Option to not save attachments with sent mail. * Navigation through message and mailbox views with arrow keys. * View all messages of a thread. * HTML message composition with a cross-browser WYSIWIG editor. * Fetching mails from other email accounts to view with IMP. * Message previews in mailbox view. * Prevent message loss during compositon due to session timeouts. * Management of shared IMAP folders. * Priority settings for composed messages. * User management for supported IMAP servers. * Integrated quota support. * Support for mailing list headers. * Ability to forward multiple messages at once. * Downloading of all attachments from a message as a single ZIP file. * Stripping individual attachments from messages. * Alias and "tied to" addresses in user identities. * Authentication with Horde credentials. * Graphical emoticons and country flags in message view. * Various caching improvements to drastically minimize duplicate IMAP server->web server traffic. This is a resurrection of the previous mail/imp, upgraded from mail/imp3. PR: ports/75434 Submitted by: /me
2004-12-26 10:26:14 +00:00
# Ports collection makefile for: imp3
# Date created: Mon Oct 08, 2001
# Whom: Thierry Thomas (<thierry@thomas.as>)
#
# $FreeBSD$
#
PORTNAME= imp
PORTVERSION= 4.1.4
PORTREVISION= 1
Upgrade to 4.0. The major changes compared to the IMP 3.x versions are: * Much improved message format support through Horde's rewritten MIME system. * Many, many additional and improved mime viewers for attachments. * Encrypting, signing, decrypting and verifying of signed and encrypted messages (PGP/GPG and S/MIME). * Message filters moved to a separate application (Ingo) to support more filter backends and a more robust/comprehensive/easy-to-use UI. * Full charset support in folders, mailbox, message and compose views. * Mail folders in the left menu. * Experimental support for virtual folders. * Preview of attachments in compose view. * Send attachments as links. * Option to not save attachments with sent mail. * Navigation through message and mailbox views with arrow keys. * View all messages of a thread. * HTML message composition with a cross-browser WYSIWIG editor. * Fetching mails from other email accounts to view with IMP. * Message previews in mailbox view. * Prevent message loss during compositon due to session timeouts. * Management of shared IMAP folders. * Priority settings for composed messages. * User management for supported IMAP servers. * Integrated quota support. * Support for mailing list headers. * Ability to forward multiple messages at once. * Downloading of all attachments from a message as a single ZIP file. * Stripping individual attachments from messages. * Alias and "tied to" addresses in user identities. * Authentication with Horde credentials. * Graphical emoticons and country flags in message view. * Various caching improvements to drastically minimize duplicate IMAP server->web server traffic. This is a resurrection of the previous mail/imp, upgraded from mail/imp3. PR: ports/75434 Submitted by: /me
2004-12-26 10:26:14 +00:00
CATEGORIES= mail www
MAINTAINER= beech@alaskaparadise.com
COMMENT= Webmail system for IMAP/POP3 mailboxes
Upgrade to 4.0. The major changes compared to the IMP 3.x versions are: * Much improved message format support through Horde's rewritten MIME system. * Many, many additional and improved mime viewers for attachments. * Encrypting, signing, decrypting and verifying of signed and encrypted messages (PGP/GPG and S/MIME). * Message filters moved to a separate application (Ingo) to support more filter backends and a more robust/comprehensive/easy-to-use UI. * Full charset support in folders, mailbox, message and compose views. * Mail folders in the left menu. * Experimental support for virtual folders. * Preview of attachments in compose view. * Send attachments as links. * Option to not save attachments with sent mail. * Navigation through message and mailbox views with arrow keys. * View all messages of a thread. * HTML message composition with a cross-browser WYSIWIG editor. * Fetching mails from other email accounts to view with IMP. * Message previews in mailbox view. * Prevent message loss during compositon due to session timeouts. * Management of shared IMAP folders. * Priority settings for composed messages. * User management for supported IMAP servers. * Integrated quota support. * Support for mailing list headers. * Ability to forward multiple messages at once. * Downloading of all attachments from a message as a single ZIP file. * Stripping individual attachments from messages. * Alias and "tied to" addresses in user identities. * Authentication with Horde credentials. * Graphical emoticons and country flags in message view. * Various caching improvements to drastically minimize duplicate IMAP server->web server traffic. This is a resurrection of the previous mail/imp, upgraded from mail/imp3. PR: ports/75434 Submitted by: /me
2004-12-26 10:26:14 +00:00
#-----------------------------------------------------------------------
# You may define these options:
#
# - WITHOUT_LDAP : if you do not need OpenLDAP;
#
# - WITHOUT_SMIME : disable S/MIME;
#
# - WITHOUT_SUPPORTED_DB: if you run a database not in the ports tree;
#
# - WITHOUT_ASPELL : for spelling bees...
#
# - WITH_ISPELL : if you prefer ispell;
#
# - NOCRYPT : if crypto is restricted in your country;
#
# - WITHOUT_SSL : if you have not installed c-client WITH_SSL;
#
# - WITH_VALID_CERT : if you own a valid SSL certificate;
#
# - WITH_HTML : enable HTML composition mode;
#-----------------------------------------------------------------------
RUN_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL
USE_PHP= imap
. if !defined(WITHOUT_LDAP)
USE_PHP+= ldap
. endif
.if !defined(WITHOUT_SMIME)
USE_PHP+= openssl
.endif
.if !defined(NOCRYPT)
RUN_DEPENDS+= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
Upgrade to 4.0. The major changes compared to the IMP 3.x versions are: * Much improved message format support through Horde's rewritten MIME system. * Many, many additional and improved mime viewers for attachments. * Encrypting, signing, decrypting and verifying of signed and encrypted messages (PGP/GPG and S/MIME). * Message filters moved to a separate application (Ingo) to support more filter backends and a more robust/comprehensive/easy-to-use UI. * Full charset support in folders, mailbox, message and compose views. * Mail folders in the left menu. * Experimental support for virtual folders. * Preview of attachments in compose view. * Send attachments as links. * Option to not save attachments with sent mail. * Navigation through message and mailbox views with arrow keys. * View all messages of a thread. * HTML message composition with a cross-browser WYSIWIG editor. * Fetching mails from other email accounts to view with IMP. * Message previews in mailbox view. * Prevent message loss during compositon due to session timeouts. * Management of shared IMAP folders. * Priority settings for composed messages. * User management for supported IMAP servers. * Integrated quota support. * Support for mailing list headers. * Ability to forward multiple messages at once. * Downloading of all attachments from a message as a single ZIP file. * Stripping individual attachments from messages. * Alias and "tied to" addresses in user identities. * Authentication with Horde credentials. * Graphical emoticons and country flags in message view. * Various caching improvements to drastically minimize duplicate IMAP server->web server traffic. This is a resurrection of the previous mail/imp, upgraded from mail/imp3. PR: ports/75434 Submitted by: /me
2004-12-26 10:26:14 +00:00
.endif
.if !defined(WITHOUT_ASPELL)
RUN_DEPENDS+= ${LOCALBASE}/bin/aspell:${PORTSDIR}/textproc/aspell
.elif defined(WITH_ISPELL)
RUN_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
.endif
.if defined(WITH_HTML)
RUN_DEPENDS+= ${PEARDIR}/HTTP/Request.php:${PORTSDIR}/www/pear-HTTP_Request
.endif
CONFLICTS= imp-3.*
USE_HORDE= base
USE_GETTEXT= yes
PORTDOCS= README CHANGES CREDITS INSTALL \
RELEASE_NOTES TODO UPGRADING
Upgrade to 4.0. The major changes compared to the IMP 3.x versions are: * Much improved message format support through Horde's rewritten MIME system. * Many, many additional and improved mime viewers for attachments. * Encrypting, signing, decrypting and verifying of signed and encrypted messages (PGP/GPG and S/MIME). * Message filters moved to a separate application (Ingo) to support more filter backends and a more robust/comprehensive/easy-to-use UI. * Full charset support in folders, mailbox, message and compose views. * Mail folders in the left menu. * Experimental support for virtual folders. * Preview of attachments in compose view. * Send attachments as links. * Option to not save attachments with sent mail. * Navigation through message and mailbox views with arrow keys. * View all messages of a thread. * HTML message composition with a cross-browser WYSIWIG editor. * Fetching mails from other email accounts to view with IMP. * Message previews in mailbox view. * Prevent message loss during compositon due to session timeouts. * Management of shared IMAP folders. * Priority settings for composed messages. * User management for supported IMAP servers. * Integrated quota support. * Support for mailing list headers. * Ability to forward multiple messages at once. * Downloading of all attachments from a message as a single ZIP file. * Stripping individual attachments from messages. * Alias and "tied to" addresses in user identities. * Authentication with Horde credentials. * Graphical emoticons and country flags in message view. * Various caching improvements to drastically minimize duplicate IMAP server->web server traffic. This is a resurrection of the previous mail/imp, upgraded from mail/imp3. PR: ports/75434 Submitted by: /me
2004-12-26 10:26:14 +00:00
pre-configure:
.if !defined(WITHOUT_ASPELL)
@${REINPLACE_CMD} -e "s:%%ASPELL%%:${LOCALBASE}/bin/aspell:" \
${WRKSRC}/config/conf.xml
.elif defined(WITH_ISPELL)
@${REINPLACE_CMD} -e "s:%%ASPELL%%:${LOCALBASE}/bin/ispell:" \
${WRKSRC}/config/conf.xml
.else
@${REINPLACE_CMD} -e "s:%%ASPELL%%::" ${WRKSRC}/config/conf.xml
.endif
.if !defined(NOCRYPT)
@${REINPLACE_CMD} -e "s:%%GPG%%:${LOCALBASE}/bin/gpg:" \
${WRKSRC}/config/conf.xml
.else
@${REINPLACE_CMD} -e "s:%%GPG%%::" ${WRKSRC}/config/conf.xml
.endif
@${REINPLACE_CMD} -e "s:IMP_VERSION:IMP_VERSION . ' / ${SERVOS}':" \
${WRKSRC}/lib/MIME/Headers.php
@${REINPLACE_CMD} -e "s:example.com:${HOSTNAME}:g" \
${WRKSRC}/config/servers.php.dist
.if defined(WITHOUT_SSL)
@${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/notls:;s:%%IMAPPORT%%:143:" \
${WRKSRC}/config/servers.php.dist
.else
@${REINPLACE_CMD} -e "s:%%IMAPPORT%%:993:" ${WRKSRC}/config/servers.php.dist
. if defined(WITH_VALID_CERT)
@${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/ssl:" ${WRKSRC}/config/servers.php.dist
. else
@${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/ssl/novalidate-cert:" \
${WRKSRC}/config/servers.php.dist
. endif
.endif
Upgrade to 4.0. The major changes compared to the IMP 3.x versions are: * Much improved message format support through Horde's rewritten MIME system. * Many, many additional and improved mime viewers for attachments. * Encrypting, signing, decrypting and verifying of signed and encrypted messages (PGP/GPG and S/MIME). * Message filters moved to a separate application (Ingo) to support more filter backends and a more robust/comprehensive/easy-to-use UI. * Full charset support in folders, mailbox, message and compose views. * Mail folders in the left menu. * Experimental support for virtual folders. * Preview of attachments in compose view. * Send attachments as links. * Option to not save attachments with sent mail. * Navigation through message and mailbox views with arrow keys. * View all messages of a thread. * HTML message composition with a cross-browser WYSIWIG editor. * Fetching mails from other email accounts to view with IMP. * Message previews in mailbox view. * Prevent message loss during compositon due to session timeouts. * Management of shared IMAP folders. * Priority settings for composed messages. * User management for supported IMAP servers. * Integrated quota support. * Support for mailing list headers. * Ability to forward multiple messages at once. * Downloading of all attachments from a message as a single ZIP file. * Stripping individual attachments from messages. * Alias and "tied to" addresses in user identities. * Authentication with Horde credentials. * Graphical emoticons and country flags in message view. * Various caching improvements to drastically minimize duplicate IMAP server->web server traffic. This is a resurrection of the previous mail/imp, upgraded from mail/imp3. PR: ports/75434 Submitted by: /me
2004-12-26 10:26:14 +00:00
pre-install:
.if !defined(BATCH) && !defined(WITHOUT_SSL)
@if ! ${GREP} -q -e 'CCLIENT_SSLENABLED "yes"' ${PORTREV_H}; then \
${ECHO_MSG} "" ; \
${ECHO_MSG} "Please configure c-client with SSL support." ; \
${ECHO_MSG} "" ; \
${FALSE} ; \
fi
.endif
.include "${.CURDIR}/../../www/horde-base/bsd.horde.mk"
.include <bsd.port.mk>