305459a6ae
Requires: SquirrelMail 1.4.0+, Compatibility 2.0.7+ Description: - Added ability to add any number of extra custom buttons/links, such as whitelist or blacklist, etc. See configuration file for details - Added new report method: custom PHP callback - sample implementation is included, but is ultimately your reponsibility - Fixed possible PHP notices caused by unmigrated prefs (v2.0->v2.1+) - Fine-tuned some internal logic for when buttons are shown or not - Slightly better, more efficient header inspection - Fix bug in report-by-email-attachment functionality for 1.4.14+ and 1.5.2+ - Added ability to decide if spam reports sent as email attachments should be stored in user's sent folder or not - Added ability to store configuration file in main SquirrelMail config directory (must be named "config_spam_buttons.php") (if you want this you must do it by hand, the port doens't install it there). Use bsd.squirrelmail.mk. Prompted by: portscout (via miwi@)
24 lines
586 B
Makefile
24 lines
586 B
Makefile
# New ports collection makefile for: squirrelmail-spam-buttons-plugin
|
|
# Date created: 2008-02-16
|
|
# Whom: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= spam-buttons
|
|
PORTVERSION= 2.2
|
|
DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.4.0
|
|
DIST_SUBDIR= squirrelmail
|
|
|
|
MAINTAINER= itetcu@FreeBSD.org
|
|
COMMENT= Provides buttons with customizable action (for reporting spam, etc.)
|
|
|
|
USE_SM_COMPAT= yes
|
|
|
|
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
|
|
|
|
.include <bsd.port.post.mk>
|