aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-spam-buttons-plugin
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-05-22 19:25:13 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-05-22 19:25:13 +0000
commitd665b2af438b74dab8ffec1ff9562d4d2ef7b45f (patch)
tree4ddd06aa45a9fb17d19cf9a7ee0fcc65c03a7ff5 /mail/squirrelmail-spam-buttons-plugin
parent42d58f66fbbcabb72f9871fbf2be5eb61a516889 (diff)
downloadports-d665b2af438b74dab8ffec1ff9562d4d2ef7b45f.tar.gz
ports-d665b2af438b74dab8ffec1ff9562d4d2ef7b45f.zip
Upate to 2.3.1. Changes:
- Updated for compatibility with SquirrelMail 1.4.18 - Added check for patch in configtest for SquirrelMail versions that require it - Added some documentation about error that occurs when Compatibility plugin is missing - Correctly handle plural forms of success message for custom reporting mechanism with ngettext - Minor fix to accomodate Dovecot issue with UIDs that can be bigger than normal integer values Obey NOPORTDOCS; but not DOCSDIR, it doesn't make much sense in this case. Poked by: portscout
Notes
Notes: svn path=/head/; revision=254862
Diffstat (limited to 'mail/squirrelmail-spam-buttons-plugin')
-rw-r--r--mail/squirrelmail-spam-buttons-plugin/Makefile11
-rw-r--r--mail/squirrelmail-spam-buttons-plugin/distinfo6
-rw-r--r--mail/squirrelmail-spam-buttons-plugin/pkg-plist12
3 files changed, 22 insertions, 7 deletions
diff --git a/mail/squirrelmail-spam-buttons-plugin/Makefile b/mail/squirrelmail-spam-buttons-plugin/Makefile
index ba9212dd35aa..f0c5caa20d38 100644
--- a/mail/squirrelmail-spam-buttons-plugin/Makefile
+++ b/mail/squirrelmail-spam-buttons-plugin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= spam-buttons
-PORTVERSION= 2.2
+PORTVERSION= 2.3.1
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
DIST_SUBDIR= squirrelmail
@@ -22,4 +22,13 @@ SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
+post-extract:
+ @${MV} ${WRKSRC}/${_SMSRCDIR}/config_example.php ${WRKSRC}/${_SMSRCDIR}/config.sample.php
+ @${RM} ${WRKSRC}/${_SMSRCDIR}/README
+.ifdef NOPORTDOCS
+ @${RM} -R ${WRKSRC}/${_SMSRCDIR}/docs
+.else
+ @${MV} ${WRKSRC}/${_SMSRCDIR}/docs ${WRKSRC}/${_SMSRCDIR}/doc
+.endif
+
.include <bsd.port.post.mk>
diff --git a/mail/squirrelmail-spam-buttons-plugin/distinfo b/mail/squirrelmail-spam-buttons-plugin/distinfo
index ca3133a84ee4..1ee0753252d1 100644
--- a/mail/squirrelmail-spam-buttons-plugin/distinfo
+++ b/mail/squirrelmail-spam-buttons-plugin/distinfo
@@ -1,3 +1,3 @@
-MD5 (squirrelmail/spam_buttons-2.2-1.4.0.tar.gz) = ae1f28b873961b48c276a0a653e163ec
-SHA256 (squirrelmail/spam_buttons-2.2-1.4.0.tar.gz) = ce09d57d92ab327df2492c1e3ffb28a70aa1c2bd3c95283544ab602b32ef359e
-SIZE (squirrelmail/spam_buttons-2.2-1.4.0.tar.gz) = 80205
+MD5 (squirrelmail/spam_buttons-2.3.1-1.4.0.tar.gz) = 8b4b712f781b4aac9dec23e64173fab4
+SHA256 (squirrelmail/spam_buttons-2.3.1-1.4.0.tar.gz) = f666ac0ce480aacdf7b5bf647733258f55626ab146af1c26a3effca07ab362f5
+SIZE (squirrelmail/spam_buttons-2.3.1-1.4.0.tar.gz) = 83143
diff --git a/mail/squirrelmail-spam-buttons-plugin/pkg-plist b/mail/squirrelmail-spam-buttons-plugin/pkg-plist
index 627027b1fedf..ac675f54d6c6 100644
--- a/mail/squirrelmail-spam-buttons-plugin/pkg-plist
+++ b/mail/squirrelmail-spam-buttons-plugin/pkg-plist
@@ -1,7 +1,4 @@
@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%%/bounce_identity.php
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/bounce_send.php
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/buttons.php
@@ -11,14 +8,22 @@
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/compose_functions-1.5.2.php
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.sample.php
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/configtest.php
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/contrib/index.php
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/contrib/.htaccess
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/contrib/confirm_action.diff
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/contrib/sa-postfix-en.html
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/contrib/sa-wrapper.html
+%%PORTDOCS%%%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/doc/.htaccess
+%%PORTDOCS%%%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/doc/index.php
+%%PORTDOCS%%%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/doc/INSTALL
+%%PORTDOCS%%%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/doc/COPYING
+%%PORTDOCS%%%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/doc/README
%%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%%/options.php
+%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/patches/.htaccess
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/patches/index.php
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/patches/spam_buttons-squirrelmail-1.4.10.diff
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/patches/spam_buttons-squirrelmail-1.4.3.diff
@@ -35,6 +40,7 @@
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/templates/index.php
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/version
@dirrm %%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/contrib
+%%PORTDOCS%%@dirrm %%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/doc
@dirrm %%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/patches
@dirrm %%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/templates/default
@dirrm %%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/templates