freebsd-ports/mail/squirrelmail-spam-buttons-plugin/Makefile
Ion-Mihai Tetcu d665b2af43 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
2010-05-22 19:25:13 +00:00

34 lines
884 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.3.1
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
USE_PERL5_RUN= yes
SQUIRREL_PLUGIN_NAME= ${PORTNAME:S/-/_/}
.include <bsd.port.pre.mk>
.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>