aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/Makefile1
-rw-r--r--mail/squirrelmail-askuserinfo-plugin/Makefile18
-rw-r--r--mail/squirrelmail-askuserinfo-plugin/distinfo3
-rw-r--r--mail/squirrelmail-askuserinfo-plugin/pkg-descr5
-rw-r--r--mail/squirrelmail-askuserinfo-plugin/pkg-plist7
5 files changed, 34 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 7d04529af969..b030d636eb44 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -652,6 +652,7 @@
SUBDIR += sqlgrey
SUBDIR += squirrelmail
SUBDIR += squirrelmail-abook_import_export-plugin
+ SUBDIR += squirrelmail-askuserinfo-plugin
SUBDIR += squirrelmail-avelsieve-plugin
SUBDIR += squirrelmail-calendar_file_backend-plugin
SUBDIR += squirrelmail-calendar_sql_backend-plugin
diff --git a/mail/squirrelmail-askuserinfo-plugin/Makefile b/mail/squirrelmail-askuserinfo-plugin/Makefile
new file mode 100644
index 000000000000..d0c4401b032f
--- /dev/null
+++ b/mail/squirrelmail-askuserinfo-plugin/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: squirrelmail-askuserinfo-plugin
+# Date created: 2010-05-25
+# Whom: Thomas Abthorpe <tabthorpe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= askuserinfo
+PORTVERSION= 1.1
+DISTNAME= ${PORTNAME}.${PORTVERSION}-1.4.0
+DIST_SUBDIR= squirrelmail
+
+MAINTAINER= tabthorpe@FreeBSD.org
+COMMENT= Ask user to enter Full name and Email address at initial logon
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/mail/squirrelmail/bsd.squirrelmail.mk"
+.include <bsd.port.post.mk>
diff --git a/mail/squirrelmail-askuserinfo-plugin/distinfo b/mail/squirrelmail-askuserinfo-plugin/distinfo
new file mode 100644
index 000000000000..a05ed4753cc9
--- /dev/null
+++ b/mail/squirrelmail-askuserinfo-plugin/distinfo
@@ -0,0 +1,3 @@
+MD5 (squirrelmail/askuserinfo.1.1-1.4.0.tar.gz) = ab92a5275c8ba166acf1ed8b7d1dfdbb
+SHA256 (squirrelmail/askuserinfo.1.1-1.4.0.tar.gz) = 519e54845332246755b001bfb94fe049f492dd65fd65d3ad015deb74d5233180
+SIZE (squirrelmail/askuserinfo.1.1-1.4.0.tar.gz) = 1510
diff --git a/mail/squirrelmail-askuserinfo-plugin/pkg-descr b/mail/squirrelmail-askuserinfo-plugin/pkg-descr
new file mode 100644
index 000000000000..bd7cfd641e41
--- /dev/null
+++ b/mail/squirrelmail-askuserinfo-plugin/pkg-descr
@@ -0,0 +1,5 @@
+User is asked to enter Full Name and Email Address prior to reading or
+composing after logging in. This is used for users who log in for the
+first time and need to set up their preferences prior to getting started.
+
+WWW: http://squirrelmail.org/plugin_view.php?id=142
diff --git a/mail/squirrelmail-askuserinfo-plugin/pkg-plist b/mail/squirrelmail-askuserinfo-plugin/pkg-plist
new file mode 100644
index 000000000000..3165b03aeaec
--- /dev/null
+++ b/mail/squirrelmail-askuserinfo-plugin/pkg-plist
@@ -0,0 +1,7 @@
+@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
+%%SQUIRRELDIR%%/plugins/askuserinfo/README
+%%SQUIRRELDIR%%/plugins/askuserinfo/index.php
+%%SQUIRRELDIR%%/plugins/askuserinfo/setup.php
+%%SQUIRRELDIR%%/plugins/askuserinfo/version
+@dirrm %%SQUIRRELDIR%%/plugins/askuserinfo
+@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi