summaryrefslogtreecommitdiff
path: root/mail/squirrelmail
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-08-28 14:21:06 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-08-28 14:21:06 +0000
commitda8e4fbe0d30e449ae6135986f878a0a22ea851e (patch)
tree55de86fad198ba1a311e799756733c50d1dd192b /mail/squirrelmail
parentNew port: databases/p5-Net-Async-CassandraCQL (diff)
Fix staging errors that broke all plugins in ports, but worked in pkg.
Notes
Notes: svn path=/head/; revision=366406
Diffstat (limited to 'mail/squirrelmail')
-rw-r--r--mail/squirrelmail/bsd.squirrelmail.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/squirrelmail/bsd.squirrelmail.mk b/mail/squirrelmail/bsd.squirrelmail.mk
index afcc590b2cc7..6cb3222bb4f2 100644
--- a/mail/squirrelmail/bsd.squirrelmail.mk
+++ b/mail/squirrelmail/bsd.squirrelmail.mk
@@ -91,20 +91,20 @@ _SMSRCDIR?= ${SQUIRREL_PLUGIN_NAME}
.if !target(do-install)
do-install:
- cd ${WRKSRC}/${_SMSRCDIR} && ${FIND} -d . | \
+ (cd ${WRKSRC}/${_SMSRCDIR} && ${FIND} -d . | \
${CPIO} -dump ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} >/dev/null 2>&1 && \
${FIND} ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
-type d -exec chmod 755 {} \; && \
${FIND} ${STAGEDIR}${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} \
- -type f -exec chmod 644 {} \;
+ -type f -exec chmod 644 {} \;)
.endif
.if !target(post-install)
post-install:
.ifndef WITHOUT_ACTIVATE
-.if exists( ${STAGEDIR}${SQUIRRELDIR}/config/config.php )
+.if exists(${SQUIRRELDIR}/config/config.php)
@${ECHO_CMD} "Activating plug-in in SquirrelMail"
- ${STAGEDIR}${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
+ ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
.endif
.else
@${ECHO_CMD} "To activate the plug-in in SquirrelMail use"