diff options
author | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2009-01-18 03:16:44 +0000 |
---|---|---|
committer | Thomas Abthorpe <tabthorpe@FreeBSD.org> | 2009-01-18 03:16:44 +0000 |
commit | 227e5b04d6220f34f57d3d1bc8c34d2898b2fb84 (patch) | |
tree | e477d8ec6af569fb326dd2a33bb4688f71119ee6 /mail/squirrelmail-password_forget-plugin/Makefile | |
parent | c76946293765c0a6b634de5ec038c919c3e22c11 (diff) | |
download | ports-227e5b04d6220f34f57d3d1bc8c34d2898b2fb84.tar.gz ports-227e5b04d6220f34f57d3d1bc8c34d2898b2fb84.zip |
- Update to 2.2
- Implement bsd.squirrelmail.mk common include
PR: ports/130543
Submitted by: Neil Darlow <neil darlow.co.uk> (maintainer)
Notes
Notes:
svn path=/head/; revision=226352
Diffstat (limited to 'mail/squirrelmail-password_forget-plugin/Makefile')
-rw-r--r-- | mail/squirrelmail-password_forget-plugin/Makefile | 58 |
1 files changed, 4 insertions, 54 deletions
diff --git a/mail/squirrelmail-password_forget-plugin/Makefile b/mail/squirrelmail-password_forget-plugin/Makefile index fbf64f0a36e1..21c3803f3fc7 100644 --- a/mail/squirrelmail-password_forget-plugin/Makefile +++ b/mail/squirrelmail-password_forget-plugin/Makefile @@ -5,69 +5,19 @@ # $FreeBSD$ PORTNAME= password_forget -PORTVERSION= 2.1 -PORTREVISION= 3 +PORTVERSION= 2.2 CATEGORIES= mail www MASTER_SITES= http://www.squirrelmail.org/plugins/ PKGNAMEPREFIX= squirrelmail- PKGNAMESUFFIX= -plugin -DISTNAME= ${SQUIRREL_PLUGIN_NAME}.${PORTVERSION}-1.0.1 +DISTNAME= ${SQUIRREL_PLUGIN_NAME}-${PORTVERSION}-1.0.1 DIST_SUBDIR= squirrelmail MAINTAINER= neil@darlow.co.uk COMMENT= Prevent reuse of login details by browsers at public terminals -RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \ - ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin - -SQUIRREL_PLUGIN_NAME= ${PORTNAME} - -.ifdef SQUIRRELDIR -PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR} -.else -. ifndef WITHOUT_WWWDIR -SQUIRRELDIR= ${PREFIX}/www/squirrelmail -PLIST_SUB+= SQUIRRELDIR=www/squirrelmail -. else -SQUIRRELDIR= ${PREFIX}/squirrelmail -PLIST_SUB+= SQUIRRELDIR=squirrelmail -. endif -.endif -PLIST_SUB+= SQUIRREL_PLUGIN_NAME=${SQUIRREL_PLUGIN_NAME} - -NO_BUILD= yes -NO_WRKSUBDIR= yes -USE_PERL5_BUILD= yes -WANT_PHP_WEB= yes +RUN_DEPENDS= ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin .include <bsd.port.pre.mk> - -pre-everything:: - @${ECHO} "" -.ifndef WITHOUT_ACTIVATE - @${ECHO} "Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you don't want to automatically activate the plug-in set" - @${ECHO} "WITHOUT_ACTIVATE=yes" -.else - @${ECHO} "NOT Activating plug-in in SquirrelMail after installation." - @${ECHO} "If you want to automatically activate the plug-in unset" - @${ECHO} "WITHOUT_ACTIVATE" -.endif - @${ECHO} "" - -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}" -.endif - +.include "../squirrelmail/bsd.squirrelmail.mk" .include <bsd.port.post.mk> |