aboutsummaryrefslogtreecommitdiffstats
path: root/mail/squirrelmail-spam-buttons-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/squirrelmail-spam-buttons-plugin/Makefile')
-rw-r--r--mail/squirrelmail-spam-buttons-plugin/Makefile11
1 files changed, 10 insertions, 1 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>