diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-03 18:02:02 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2006-10-03 18:02:02 +0000 |
commit | 7fe099093d7f11b0c329d56f6842488570c9c2dc (patch) | |
tree | f95e5e39bc6504cf3af69c0e507eefed3bb526c4 /mail/squirrelmail-tmda-plugin | |
parent | f98a88f68b56d62936f63f613fe314ce2b041bfb (diff) | |
download | ports-7fe099093d7f11b0c329d56f6842488570c9c2dc.tar.gz ports-7fe099093d7f11b0c329d56f6842488570c9c2dc.zip |
This is a port of tmdatools plugin for Squirrelmail.
This plugin allows a TMDA enabled account to be managed from within the
SquirrelMail interface, including the ability to edit list files, add
control headers to outgoing email, manage pending messages and create
tagged addresses for use outside SquirrelMail.
WWW: http://www.morison.net/squirrelmail-plugins/tmdatools.html
PR: ports/98757
Submitted by: Raul Pollicino <email-freebsd at def-defying.com>
Notes
Notes:
svn path=/head/; revision=174390
Diffstat (limited to 'mail/squirrelmail-tmda-plugin')
-rw-r--r-- | mail/squirrelmail-tmda-plugin/Makefile | 59 | ||||
-rw-r--r-- | mail/squirrelmail-tmda-plugin/distinfo | 3 | ||||
-rw-r--r-- | mail/squirrelmail-tmda-plugin/pkg-descr | 8 | ||||
-rw-r--r-- | mail/squirrelmail-tmda-plugin/pkg-plist | 18 |
4 files changed, 88 insertions, 0 deletions
diff --git a/mail/squirrelmail-tmda-plugin/Makefile b/mail/squirrelmail-tmda-plugin/Makefile new file mode 100644 index 000000000000..07aede2fb3ac --- /dev/null +++ b/mail/squirrelmail-tmda-plugin/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: squirrelmail-tmda-plugin +# Date created: 2006-06-10 +# Whom: Raul Pollicino <email-freebsd@def-defying.com> +# +# $FreeBSD$ +# + +PORTNAME= squirrelmail-tmda-plugin +PORTVERSION= 1.0.2 +CATEGORIES= mail +MASTER_SITES= http://www.squirrelmail.org/plugins/ +DISTNAME= tmdatools 1.0.2 1.4.2 \(stable\) +DISTFILES= tmdatools.1.0.2-1.4.2.tar.gz + +MAINTAINER= email-ports@def-defying.com +COMMENT= Adds TMDA support to SquirrelMail + +RUN_DEPENDS= tmda-filter:${PORTSDIR}/mail/tmda \ + ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail + +USE_PERL5= yes +NO_BUILD= yes + +SQUIRREL_PLUGIN_NAME= tmdatools +WRKSRC= ${WRKDIR}/tmdatools + +.ifndef WITHOUT_WWWDIR +SQUIRRELDIR?= ${PREFIX}/www/squirrelmail +PLIST_SUB+= SQUIRRELDIR=www/squirrelmail +.else +SQUIRRELDIR?= ${PREFIX}/squirrelmail +PLIST_SUB+= SQUIRRELDIR=squirrelmail +.endif +TMDATOOLDIR?= ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME} +PLIST_SUB+= TMDATOOLDIR=plugins/${SQUIRREL_PLUGIN_NAME} + +pre-everything:: + @${ECHO} "The plugin expects SquirrelMail install in ${SQUIRRELDIR}" + @${ECHO} "To use the old location ${PREFIX}/squirrelmail define WITHOUT_WWWDIR=yes" + @${ECHO} "" + +post-patch: + @${REINPLACE_CMD} \ + -e 's|"/usr/local/tmda-1.0.2/"|${TMDATOOLDIR}|g' \ + ${WRKSRC}/tmdatools_config.php.sample + @${RM} ${WRKSRC}/tmdatools_config.php.sample.bak + +do-install: + @${MKDIR} ${TMDATOOLDIR} + @${CP} -Rp ${WRKSRC}/ ${TMDATOOLDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${TMDATOOLDIR} + @${RM} -f ${WRKSRC}/tmdatools_config.php.sample.bak + +post-install: + @${ECHO} "" + @${ECHO} "Refer to ${TMDATOOLDIR}/INSTALL and README for final installation/configuration instructions." + @${ECHO} "" + +.include <bsd.port.mk> diff --git a/mail/squirrelmail-tmda-plugin/distinfo b/mail/squirrelmail-tmda-plugin/distinfo new file mode 100644 index 000000000000..8ded7562b5cc --- /dev/null +++ b/mail/squirrelmail-tmda-plugin/distinfo @@ -0,0 +1,3 @@ +MD5 (tmdatools.1.0.2-1.4.2.tar.gz) = d1d5ef4a89d5490caf7c5b67e4c1f6ee +SHA256 (tmdatools.1.0.2-1.4.2.tar.gz) = 2722e783ca579fa963843419793fd06deb3029ec6ba31878cca1729f67d9980d +SIZE (tmdatools.1.0.2-1.4.2.tar.gz) = 17347 diff --git a/mail/squirrelmail-tmda-plugin/pkg-descr b/mail/squirrelmail-tmda-plugin/pkg-descr new file mode 100644 index 000000000000..814340426490 --- /dev/null +++ b/mail/squirrelmail-tmda-plugin/pkg-descr @@ -0,0 +1,8 @@ +This is a port of tmdatools plugin for Squirrelmail. + +This plugin allows a TMDA enabled account to be managed from within the +SquirrelMail interface, including the ability to edit list files, add +control headers to outgoing email, manage pending messages and create +tagged addresses for use outside SquirrelMail. + +WWW: http://www.morison.net/squirrelmail-plugins/tmdatools.html diff --git a/mail/squirrelmail-tmda-plugin/pkg-plist b/mail/squirrelmail-tmda-plugin/pkg-plist new file mode 100644 index 000000000000..a30c6597e7db --- /dev/null +++ b/mail/squirrelmail-tmda-plugin/pkg-plist @@ -0,0 +1,18 @@ +@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin tmdatools; fi +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/COPYING +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/INSTALL +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/README +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/address.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/editfile.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/index.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/paginator.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/pending.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/setup.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools_config.php.sample +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tmdatools_findhome.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/tools.php +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/version +%%SQUIRRELDIR%%/%%TMDATOOLDIR%%/viewer.php +@dirrm %%SQUIRRELDIR%%/%%TMDATOOLDIR%% +@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin tmdatools; fi |