diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-09-25 03:27:44 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-09-25 03:27:44 +0000 |
commit | 681008961026edc8492b4c5cdc194221bb355d9b (patch) | |
tree | a41dbd01b676023861ddf523642f3be7e9041543 /mail/squirrelmail-vlogin-plugin/Makefile | |
parent | Chase pilot-link's shared library version bump. Bump the PORTREVISION. As for (diff) |
- Only to activate the plugin when squirrel mail is installed, i.e.,
config.php exists.
This fixes package building.
Reported by: pointyhat via kris
Submitted by: Neil Darlow <neil at darlow.co.uk>
Approved by: Matt Emmerton <matt at gsicomp.on.ca> (maintainer)
Notes
Notes:
svn path=/head/; revision=173772
Diffstat (limited to 'mail/squirrelmail-vlogin-plugin/Makefile')
-rw-r--r-- | mail/squirrelmail-vlogin-plugin/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/squirrelmail-vlogin-plugin/Makefile b/mail/squirrelmail-vlogin-plugin/Makefile index 9477e64e1fb7..5d3d713d0791 100644 --- a/mail/squirrelmail-vlogin-plugin/Makefile +++ b/mail/squirrelmail-vlogin-plugin/Makefile @@ -53,9 +53,12 @@ do-install: ${CP} -rp ${WRKSRC}/${SQUIRREL_PLUGIN_NAME} ${SQUIRRELDIR}/plugins ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} +post-install: .ifndef WITHOUT_ACTIVATE +.if exists( ${SQUIRRELDIR}/config/config.php ) @${ECHO} "Activating plug-in in SquirrelMail" ${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME} +.endif .else @${ECHO} "To activate the plug-in in SquirrelMail use" @${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}" |