aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-spam-buttons-plugin/Makefile
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/Makefile
parent42d58f66fbbcabb72f9871fbf2be5eb61a516889 (diff)
downloadports-d665b2af438b74dab8ffec1ff9562d4d2ef7b45f.tar.gz
ports-d665b2af438b74dab8ffec1ff9562d4d2ef7b45f.zip
Notes
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>