2005-07-07 10:30:22 +02:00
|
|
|
# $NetBSD: Makefile,v 1.53 2005/07/07 08:30:22 martti Exp $
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2005-01-23 08:02:03 +01:00
|
|
|
DISTNAME= squirrelmail-1.4.4
|
2005-06-16 09:30:40 +02:00
|
|
|
PKGREVISION= 1
|
2001-01-24 23:44:13 +01:00
|
|
|
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/}
|
2001-02-02 20:39:18 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= martti@NetBSD.org
|
2001-01-24 23:44:13 +01:00
|
|
|
HOMEPAGE= http://www.squirrelmail.org/
|
2004-12-19 12:31:29 +01:00
|
|
|
COMMENT= PHP webmail package
|
2001-01-24 23:44:13 +01:00
|
|
|
|
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]*
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2004-11-01 00:47:32 +01:00
|
|
|
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
|
|
|
|
2004-04-26 22:42:00 +02:00
|
|
|
USE_LANGUAGES= # empty
|
2003-01-28 23:03:00 +01:00
|
|
|
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
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2001-04-30 07:03:24 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2001-11-25 19:59:45 +01:00
|
|
|
PKG_SYSCONFSUBDIR?= httpd
|
|
|
|
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
2001-04-30 07:03:24 +02:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/squirrelmail
|
|
|
|
SMDIR= ${PREFIX}/share/squirrelmail
|
2004-12-21 16:39:00 +01:00
|
|
|
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
|
|
|
|
|
2001-04-30 07:03:24 +02:00
|
|
|
MESSAGE_SUBST+= SMDIR=${SMDIR}
|
2001-11-19 17:23:08 +01:00
|
|
|
FILES_SUBST+= SMDIR=${SMDIR}
|
2001-04-30 07:03:24 +02:00
|
|
|
|
2001-11-19 17:23:08 +01:00
|
|
|
CONF_FILES= ${SMDIR}/config/config_default.php ${SMDIR}/config/config.php
|
|
|
|
CONF_FILES+= ${SMDIR}/data/default_pref ${DATADIR}/data/default_pref
|
2001-11-25 19:59:45 +01:00
|
|
|
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
|
|
|
|
2001-11-19 17:23:08 +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
|
2001-07-13 09:09:17 +02:00
|
|
|
|
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:
|
2001-01-24 23:44:13 +01:00
|
|
|
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; \
|
2005-01-26 16:38:40 +01:00
|
|
|
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
|
2001-01-24 23:44:13 +01:00
|
|
|
|
|
|
|
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 \
|
2001-02-12 16:15:43 +01:00
|
|
|
> ${WRKDIR}/squirrelmail.conf.dist
|
2001-01-24 23:44:13 +01:00
|
|
|
|
|
|
|
do-install:
|
2004-01-17 07:50:04 +01:00
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${SMDIR}
|
2001-04-30 07:35:45 +02:00
|
|
|
cd ${WRKDIR}; ${INSTALL_DATA} squirrelmail.conf.dist \
|
|
|
|
${EGDIR}/squirrelmail.conf
|
2001-01-24 23:44:13 +01:00
|
|
|
${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}
|
2005-01-23 08:02:03 +01:00
|
|
|
${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}/
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2004-04-26 22:42:00 +02:00
|
|
|
.include "../../lang/perl5/buildlink3.mk"
|
2001-01-24 23:44:13 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|