2014-05-30 01:35:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.125 2014/05/29 23:36:52 wiz Exp $
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2012-12-28 05:03:34 +01:00
|
|
|
DISTNAME= squirrelmail-webmail-1.4.23pre14345
|
2011-07-13 14:22:43 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/-webmail//}
|
2014-05-30 01:35:13 +02:00
|
|
|
PKGREVISION= 3
|
2001-01-24 23:44:13 +01:00
|
|
|
CATEGORIES= mail www
|
2012-12-28 05:03:34 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2001-02-02 20:39:18 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2011-07-13 03:30:34 +02:00
|
|
|
MAINTAINER= taca@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
|
2009-05-12 14:27:19 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
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]*
|
2005-07-07 10:32:51 +02:00
|
|
|
CONFLICTS+= ja-squirrelspell-[0-9]*
|
2006-01-21 00:56:59 +01:00
|
|
|
CONFLICTS+= ja-squirrelmail-[0-9]*
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2006-06-02 20:27:54 +02:00
|
|
|
DEPENDS+= ${PHP_PKG_PREFIX}-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
|
|
|
NO_BUILD= yes
|
2010-03-04 17:00:37 +01:00
|
|
|
USE_TOOLS+= pax perl:run
|
2006-03-21 08:22:05 +01:00
|
|
|
REPLACE_PERL+= config/conf.pl
|
2007-07-04 22:54:31 +02:00
|
|
|
|
|
|
|
PKG_GROUPS_VARS+= APACHE_GROUP
|
|
|
|
PKG_USERS_VARS+= APACHE_USER
|
|
|
|
BUILD_DEFS+= VARBASE
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2009-05-14 08:54:38 +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
|
2007-12-05 08:11:28 +01:00
|
|
|
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
2001-04-30 07:03:24 +02:00
|
|
|
|
2010-03-04 17:00:37 +01:00
|
|
|
EGDIR= share/examples/squirrelmail
|
|
|
|
SMDIR= 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
|
|
|
|
|
2010-03-04 17:00:37 +01:00
|
|
|
MESSAGE_SUBST+= SMDIR=${PREFIX}/${SMDIR}
|
|
|
|
FILES_SUBST+= SMDIR=${PREFIX}/${SMDIR}
|
2001-04-30 07:03:24 +02:00
|
|
|
|
2007-12-05 08:11:28 +01:00
|
|
|
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
|
2010-03-05 04:05:40 +01:00
|
|
|
CONF_FILES+= ${EGDIR}/data/.htaccess ${DATADIR}/data/.htaccess
|
|
|
|
CONF_FILES+= ${EGDIR}/data/index.php ${DATADIR}/data/index.php
|
|
|
|
CONF_FILES+= ${EGDIR}/data/.htaccess ${USER_PREFS_DIR}/.htaccess
|
|
|
|
CONF_FILES+= ${EGDIR}/data/index.php ${USER_PREFS_DIR}/index.php
|
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
|
|
|
|
2007-12-05 08:11:28 +01:00
|
|
|
REQD_DIRS+= ${SMDIR} ${SMDIR}/config
|
2005-12-10 20:23:01 +01:00
|
|
|
|
2010-03-04 17:00:37 +01:00
|
|
|
OWN_DIRS+= ${DATADIR}
|
|
|
|
OWN_DIRS_PERMS+= ${ATTACHMENTS_DIR} ${REAL_ROOT_USER} ${APACHE_GROUP} 730
|
2002-10-20 09:58:36 +02:00
|
|
|
OWN_DIRS_PERMS+= ${USER_PREFS_DIR} ${APACHE_USER} ${APACHE_GROUP} 755
|
2001-07-13 09:09:17 +02:00
|
|
|
|
2006-01-21 00:56:59 +01:00
|
|
|
SUBST_CLASSES+= paths
|
2007-12-05 08:11:28 +01:00
|
|
|
SUBST_FILES.paths= ${WRKDIR}/squirrelmail.conf.dist
|
2006-03-21 08:22:05 +01:00
|
|
|
SUBST_FILES.paths+= config/config_default.php
|
2006-01-21 00:56:59 +01:00
|
|
|
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@ATTACHMENTS_DIR@,${ATTACHMENTS_DIR},g'
|
|
|
|
SUBST_SED.paths+= -e 's,@USER_PREFS_DIR@,${USER_PREFS_DIR},g'
|
2010-03-04 17:00:37 +01:00
|
|
|
SUBST_SED.paths+= -e 's,@SMDIR@,${PREFIX}/${SMDIR},g'
|
|
|
|
SUBST_STAGE.paths= pre-configure
|
2006-01-21 00:56:59 +01:00
|
|
|
|
2010-03-05 04:05:40 +01:00
|
|
|
DATA_FILES= .htaccess index.php
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 ${EGDIR}/data ${SMDIR}
|
2007-03-24 20:21:18 +01:00
|
|
|
|
2006-01-21 00:56:59 +01:00
|
|
|
post-extract:
|
2010-03-04 17:00:37 +01:00
|
|
|
${CP} ${FILESDIR}/squirrelmail.conf.dist \
|
2007-12-05 08:11:28 +01:00
|
|
|
${WRKDIR}/squirrelmail.conf.dist
|
2010-03-04 17:00:37 +01:00
|
|
|
${CP} -p ${WRKSRC}/contrib/conf.pl.8 ${WRKDIR}/squirrelmail-conf.pl.8
|
2006-01-21 00:56:59 +01:00
|
|
|
|
2010-03-04 17:00:37 +01:00
|
|
|
pre-install:
|
|
|
|
${FIND} ${WRKSRC} \( -name '*.orig*' -o -name '.cvsignore' \) \
|
2007-05-10 12:08:24 +02:00
|
|
|
-exec rm -f {} \;
|
2010-03-04 17:00:37 +01:00
|
|
|
${FIND} ${WRKSRC} -type d -exec chmod ${PKGDIRMODE} {} \;
|
|
|
|
${FIND} ${WRKSRC} -type f -exec chmod ${SHAREMODE} {} \;
|
|
|
|
${CHMOD} 0555 ${WRKSRC}/config/conf.pl
|
|
|
|
${RM} -f ${WRKSRC}/contrib/conf.pl.8
|
2001-01-24 23:44:13 +01:00
|
|
|
|
|
|
|
do-install:
|
2010-03-04 17:00:37 +01:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/squirrelmail.conf.dist \
|
|
|
|
${DESTDIR}${PREFIX}/${EGDIR}/squirrelmail.conf
|
2010-03-05 04:05:40 +01:00
|
|
|
.for f in ${DATA_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/${f} ${DESTDIR}${PREFIX}/${EGDIR}/data
|
|
|
|
.endfor
|
2010-03-04 17:00:37 +01:00
|
|
|
cd ${WRKSRC}; pax -rw -pp . ${DESTDIR}${PREFIX}/${SMDIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/squirrelmail-conf.pl.8 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
|
2001-01-24 23:44:13 +01:00
|
|
|
|
2006-06-02 20:27:54 +02:00
|
|
|
.include "../../lang/php/phpversion.mk"
|
2001-01-24 23:44:13 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|