svn commit: r366406 - head/mail/squirrelmail
Adam Weinberger
adamw at FreeBSD.org
Thu Aug 28 14:21:07 UTC 2014
Author: adamw
Date: Thu Aug 28 14:21:06 2014
New Revision: 366406
URL: http://svnweb.freebsd.org/changeset/ports/366406
QAT: https://qat.redports.org/buildarchive/r366406/
Log:
Fix staging errors that broke all plugins in ports, but worked in pkg.
Modified:
head/mail/squirrelmail/bsd.squirrelmail.mk
Modified: head/mail/squirrelmail/bsd.squirrelmail.mk
==============================================================================
--- head/mail/squirrelmail/bsd.squirrelmail.mk Thu Aug 28 14:07:07 2014 (r366405)
+++ head/mail/squirrelmail/bsd.squirrelmail.mk Thu Aug 28 14:21:06 2014 (r366406)
@@ -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"
More information about the svn-ports-head
mailing list