aboutsummaryrefslogtreecommitdiff
path: root/mail/squirrelmail-timeout_user-plugin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/squirrelmail-timeout_user-plugin/Makefile')
-rw-r--r--mail/squirrelmail-timeout_user-plugin/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/squirrelmail-timeout_user-plugin/Makefile b/mail/squirrelmail-timeout_user-plugin/Makefile
index 502336defe73..383de456671e 100644
--- a/mail/squirrelmail-timeout_user-plugin/Makefile
+++ b/mail/squirrelmail-timeout_user-plugin/Makefile
@@ -4,15 +4,20 @@ PORTNAME= timeout_user
PORTVERSION= 1.1.1
PORTREVISION= 2
DISTNAME= ${PORTNAME}-${PORTVERSION}-0.5
-DIST_SUBDIR= squirrelmail
MAINTAINER= ports@FreeBSD.org
COMMENT= Automatically logs a user out if they're idle for a set amount of time
LICENSE= GPLv2
-RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
+USE_SM_COMPAT= yes
+USE_GENERIC_PKGMESSAGE= yes
NO_STAGE= yes
+
+post-patch:
+ @${MV} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/config.php.sample
+
+.include <bsd.port.pre.mk>
.include "${.CURDIR}/../squirrelmail/bsd.squirrelmail.mk"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>