mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
This plugin allows the user to turn on the display of "(read/unread)" links to
the right of any folders in their folder list that contain at least one message. Clicking on the link will then mark all messages in this folder as read/unread. Note that you may turn the "read/unread" link on and off by going to the Folders page. You may even turn only the "read" or the "unread" link on or off. It also displays a "mark all read/unread" link below the folder list to mark all folders read/unread that are selected on the Folders page. WWW: http://www.squirrelmail.org/plugin_view.php?id=218
This commit is contained in:
parent
8d44c01834
commit
7734329b02
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207477
@ -598,6 +598,7 @@
|
||||
SUBDIR += squirrelmail-email_footer-plugin
|
||||
SUBDIR += squirrelmail-login_auth-plugin
|
||||
SUBDIR += squirrelmail-login_notes-plugin
|
||||
SUBDIR += squirrelmail-mark_read-plugin
|
||||
SUBDIR += squirrelmail-multilogin-plugin
|
||||
SUBDIR += squirrelmail-newuser_wiz-plugin
|
||||
SUBDIR += squirrelmail-notes-plugin
|
||||
|
82
mail/squirrelmail-mark_read-plugin/Makefile
Normal file
82
mail/squirrelmail-mark_read-plugin/Makefile
Normal file
@ -0,0 +1,82 @@
|
||||
# New ports collection makefile for: squirrelmail-mark_read-plugin
|
||||
# Date created: 2008-02-16
|
||||
# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mark_read
|
||||
PORTVERSION= 1.4.2
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= http://www.squirrelmail.org/plugins/
|
||||
PKGNAMEPREFIX= squirrelmail-
|
||||
PKGNAMESUFFIX= -plugin
|
||||
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}-1.2
|
||||
DIST_SUBDIR= squirrelmail
|
||||
|
||||
MAINTAINER= itetcu@FreeBSD.org
|
||||
COMMENT= Provides one-click link to mark read/unread all mails in a folder
|
||||
|
||||
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
|
||||
${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
||||
|
||||
.ifdef SQUIRRELDIR
|
||||
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
|
||||
SUB_LIST+= SQUIRRELDIR=${SQUIRRELDIR}
|
||||
.else
|
||||
.ifndef WITHOUT_WWWDIR
|
||||
SQUIRRELDIR= ${PREFIX}/www/squirrelmail
|
||||
PLIST_SUB+= SQUIRRELDIR=www/squirrelmail
|
||||
SUB_LIST+= SQUIRRELDIR=www/squirrelmail
|
||||
.else
|
||||
SQUIRRELDIR= ${PREFIX}/squirrelmail
|
||||
PLIST_SUB+= SQUIRRELDIR=squirrelmail
|
||||
SUB_LIST+= SQUIRRELDIR=squirrelmail
|
||||
.endif
|
||||
.endif
|
||||
PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
|
||||
|
||||
SUB_FILES+= pkg-message
|
||||
SUB_LIST+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME}
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_PERL5_BUILD= yes
|
||||
USE_PHP= yes
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
pre-everything::
|
||||
@${ECHO} ""
|
||||
.ifndef WITHOUT_ACTIVATE
|
||||
@${ECHO} "Activating plug-in in SquirrelMail after installation."
|
||||
@${ECHO} "If you don't want to automatically activate the plug-in set"
|
||||
@${ECHO} "WITHOUT_ACTIVATE=yes"
|
||||
.else
|
||||
@${ECHO} "NOT Activating plug-in in SquirrelMail after installation."
|
||||
@${ECHO} "If you want to automatically activate the plug-in unset"
|
||||
@${ECHO} "WITHOUT_ACTIVATE"
|
||||
.endif
|
||||
@${ECHO} ""
|
||||
|
||||
do-install:
|
||||
${CP} -R ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
|
||||
|
||||
post-install:
|
||||
.ifndef WITHOUT_ACTIVATE
|
||||
.if exists( ${SQUIRRELDIR}/config/config.php )
|
||||
@${ECHO} "Activating plug-in in SquirrelMail"
|
||||
${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
|
||||
.endif
|
||||
.else
|
||||
@${ECHO} "To activate the plug-in in SquirrelMail use"
|
||||
@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
|
||||
.endif
|
||||
@${ECHO} ""
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
mail/squirrelmail-mark_read-plugin/distinfo
Normal file
3
mail/squirrelmail-mark_read-plugin/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (squirrelmail/mark_read-1.4.2-1.2.tar.gz) = f5b80fb8f14ee0a63e4c55ba0ff6f44b
|
||||
SHA256 (squirrelmail/mark_read-1.4.2-1.2.tar.gz) = bb3208b97f14fd1ec388dc5fbd44af36e06fa06de703036bc5436760c7dd1fce
|
||||
SIZE (squirrelmail/mark_read-1.4.2-1.2.tar.gz) = 16111
|
7
mail/squirrelmail-mark_read-plugin/files/pkg-message.in
Normal file
7
mail/squirrelmail-mark_read-plugin/files/pkg-message.in
Normal file
@ -0,0 +1,7 @@
|
||||
================================================================
|
||||
For the port to work properly you must copy the file
|
||||
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.sample.php
|
||||
to
|
||||
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php
|
||||
and edit the configuration to meet your needs.
|
||||
================================================================
|
9
mail/squirrelmail-mark_read-plugin/pkg-descr
Normal file
9
mail/squirrelmail-mark_read-plugin/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
This plugin allows the user to turn on the display of "(read/unread)" links to
|
||||
the right of any folders in their folder list that contain at least one
|
||||
message. Clicking on the link will then mark all messages in this folder as
|
||||
read/unread. Note that you may turn the "read/unread" link on and off by going
|
||||
to the Folders page. You may even turn only the "read" or the "unread" link on
|
||||
or off. It also displays a "mark all read/unread" link below the folder list to
|
||||
mark all folders read/unread that are selected on the Folders page.
|
||||
|
||||
WWW: http://www.squirrelmail.org/plugin_view.php?id=218
|
15
mail/squirrelmail-mark_read-plugin/pkg-plist
Normal file
15
mail/squirrelmail-mark_read-plugin/pkg-plist
Normal file
@ -0,0 +1,15 @@
|
||||
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/COPYING
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/INSTALL
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/README
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.sample.php
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/functions.php
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/getpot
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/index.php
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/make_release.sh
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/mark_read.php
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/mark_read.pot
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/setup.php
|
||||
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/version
|
||||
@dirrm %%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%
|
||||
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
|
Loading…
Reference in New Issue
Block a user