pkgsrc/mail/squirrelmail/Makefile

77 lines
2.4 KiB
Makefile
Raw Normal View History

2005-07-07 10:30:22 +02:00
# $NetBSD: Makefile,v 1.53 2005/07/07 08:30:22 martti Exp $
DISTNAME= squirrelmail-1.4.4
PKGREVISION= 1
CATEGORIES= mail www
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squirrelmail/}
EXTRACT_SUFX= .tar.bz2
2003-07-17 23:41:05 +02:00
MAINTAINER= martti@NetBSD.org
HOMEPAGE= http://www.squirrelmail.org/
COMMENT= PHP webmail package
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
CONFLICTS= sq-attachment-handlers-[0-9]*
CONFLICTS+= sq-squirrelspell-[0-9]*
DEPENDS+= php-gettext>=4.3.3:../../devel/php-gettext
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
USE_LANGUAGES= # empty
USE_PKGINSTALL= yes
NO_BUILD= yes
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
REPLACE_PERL= config/conf.pl config/ri_once.pl
.include "../../mk/bsd.prefs.mk"
PKG_SYSCONFSUBDIR?= httpd
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/squirrelmail
SMDIR= ${PREFIX}/share/squirrelmail
DATADIR= ${VARBASE}/spool/squirrelmail
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
ATTACHMENTS_DIR= ${DATADIR}/attachments
USER_PREFS_DIR= ${DATADIR}/data
MESSAGE_SUBST+= SMDIR=${SMDIR}
FILES_SUBST+= SMDIR=${SMDIR}
CONF_FILES= ${SMDIR}/config/config_default.php ${SMDIR}/config/config.php
CONF_FILES+= ${SMDIR}/data/default_pref ${DATADIR}/data/default_pref
CONF_FILES+= ${EGDIR}/squirrelmail.conf ${PKG_SYSCONFDIR}/squirrelmail.conf
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
OWN_DIRS= ${DATADIR}
OWN_DIRS+= ${SMDIR} ${SMDIR}/config
2002-10-20 09:58:36 +02:00
OWN_DIRS_PERMS= ${ATTACHMENTS_DIR} ${ROOT_USER} ${APACHE_GROUP} 730
OWN_DIRS_PERMS+= ${USER_PREFS_DIR} ${APACHE_USER} ${APACHE_GROUP} 755
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
post-patch:
cd ${WRKSRC}; \
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
for file in config/config_default.php; do \
${SED} -e "s|@ATTACHMENTS_DIR@|${ATTACHMENTS_DIR}|g" \
-e "s|@USER_PREFS_DIR@|${USER_PREFS_DIR}|g" \
$${file} > $${file}.fixed; \
${MV} -f $${file}.fixed $${file}; \
done; \
cd ${WRKSRC}; \
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
${FIND} . \( -name "*.orig" -o -name ".cvsignore" \) -print \
| ${XARGS} ${RM} -f
pre-install:
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
@${SED} ${FILES_SUBST_SED} ${FILESDIR}/squirrelmail.conf.dist \
> ${WRKDIR}/squirrelmail.conf.dist
do-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA_DIR} ${SMDIR}
cd ${WRKDIR}; ${INSTALL_DATA} squirrelmail.conf.dist \
${EGDIR}/squirrelmail.conf
${CP} -R ${WRKSRC}/* ${SMDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR}
2004-12-22 09:08:08 +01:00
${FIND} ${SMDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
2005-07-07 10:30:22 +02:00
${FIND} ${SMDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
${CHMOD} a+x ${SMDIR}/config/conf.pl
2004-12-22 09:08:08 +01:00
${INSTALL_DATA} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
${INSTALL_DATA} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"