1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

New Port: mail/ismail PHP-based webmail client

Inside Systems Mail is a web mail client that makes heavy
	use of JS, CSS, and DOM to create a snappy, easily configurable
	and familiar mail interface.

PR:		ports/68205
Submitted by:	Kelley Reynolds <kelley@insidesystems.net>
This commit is contained in:
Edwin Groothuis 2004-12-21 23:34:57 +00:00
parent 27d4d9a537
commit 0918a4e294
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124746
7 changed files with 295 additions and 0 deletions

View File

@ -168,6 +168,7 @@
SUBDIR += imgsizer
SUBDIR += indexme
SUBDIR += interchange
SUBDIR += ismail
SUBDIR += jakarta-jmeter
SUBDIR += jakarta-tomcat3
SUBDIR += jakarta-tomcat4

87
www/ismail/Makefile Normal file
View File

@ -0,0 +1,87 @@
# New ports collection makefile for: ismail
# Date created: 18 June 2004
# Whom: Kelley Reynolds <kelley@insidesystems.net>
#
# $FreeBSD$
#
PORTNAME= ismail
PORTVERSION= 2.0.p4
CATEGORIES= www mail
MASTER_SITES= ftp://ftp.verbotenplanet.net/ISMail/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/pre/}
MAINTAINER= kelley@insidesystems.net
COMMENT= PHP-based webmail client
USE_BZIP2= yes
USE_REINPLACE= yes
ISMAILDIR?= www/data/ismail
INSTALLDIR= ${PREFIX}/${ISMAILDIR}
WRKSRC= ${WRKDIR}/ISMail
PLIST_SUB= ISMAILDIR=${ISMAILDIR}/ \
INSTALLDIR=${INSTALLDIR}/
NO_BUILD= yes
USE_PHP= yes
.include <bsd.port.pre.mk>
PORTDOC_FILES= docs.html
PORT_EXAMPLES= mysql4.schema pgsql.schema
LIB_DEPENDS+= c-client4.8:${PORTSDIR}/mail/cclient
SED_SCRIPT= -e 's,%%INSTALL_DATA%%,${INSTALL_DATA},g' \
-e 's,%%MKDIR%%,${MKDIR},g' \
-e 's,%%WRKSRC%%,${WRKSRC},g' \
-e 's,%%ISMAILDIR%%,${ISMAILDIR},g' \
-e 's,%%DOCSDIR%%,${DOCSDIR},g' \
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
-e 's,%%INSTALLDIR%%,${INSTALLDIR},g'
pre-install:
@${ECHO_MSG} "Inside Systems Mail will be installed to "
@${ECHO_MSG} "${INSTALLDIR}."
@${ECHO_MSG} "To change it, set the following:"
@${ECHO_MSG} ""
@${ECHO_MSG} "PREFIX = ${PREFIX}"
@${ECHO_MSG} "ISMAILDIR = ${ISMAILDIR}"
@${ECHO_MSG} ""
@${ECHO_MSG} "Inside Systems Mail requires that mod_php4 be build with"
@${ECHO_MSG} "IMAP support. To enable IMAP support, you must set"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_IMAP=yes"
@${ECHO_MSG} ""
@${ECHO_MSG} "One of the following mod_php4 extensions are required to"
@${ECHO_MSG} "use the provided dastores:"
@${ECHO_MSG} "
@${ECHO_MSG} " WITH_DOMXML=yes"
@${ECHO_MSG} " WITH_MYSQL=yes"
@${ECHO_MSG} " WITH_POSTGRESQL=yes"
@${ECHO_MSG} "
@${ECHO_MSG} "Hit Ctrl-C now to cancel the installation"
@sleep 7
@${SED} ${SED_SCRIPT} ${FILESDIR}/install.sh > ${WRKDIR}/install.sh
@${SED} ${SED_SCRIPT} pkg-message > ${WRKDIR}/pkg-message
do-install:
${SH} ${WRKDIR}/install.sh
${CHMOD} -R 644 ${INSTALLDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
@${MKDIR} ${EXAMPLESDIR}
.for example in ${PORT_EXAMPLES}
@${INSTALL_SCRIPT} ${WRKSRC}/examples/${example} ${EXAMPLESDIR}
.endfor
.endif
post-install:
@${CAT} ${WRKDIR}/pkg-message
.include <bsd.port.post.mk>

2
www/ismail/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (ismail-2.0pre4.tar.bz2) = 6896aa031c3f2bf21ee88be8d1e9cc39
SIZE (ismail-2.0pre4.tar.bz2) = 135465

View File

@ -0,0 +1,17 @@
#!/bin/sh
#
# install.sh v0.1
#
# Install script which reads files from the plist and copies them to the appropriate
# location and makes directories for them if necessary
%%MKDIR%% %%INSTALLDIR%%
# Install the required files
for file in `cat pkg-plist | grep -v @ | grep ISMAILDIR | sed 's,%%[A-Z]*%%,,g'`; do
dir=`echo "${file}" | sed 's,/[^/]*$,/,g'`
if [ -d %%WRKSRC%%/ISMail/${dir} ]; then
%%MKDIR%% %%INSTALLDIR%%/${dir}
fi
%%INSTALL_DATA%% %%WRKSRC%%/ISMail/${file} %%INSTALLDIR%%/${file}
done

8
www/ismail/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
Inside Systems Mail is a web mail client that makes heavy use of
JS, CSS, and DOM to create a snappy, easily configurable and
familiar mail interface.
WWW: http://www.insidesystems.net/projects/project.php?projectid=4
- Kelley Reynolds
kelley@insidesystems.net

22
www/ismail/pkg-message Normal file
View File

@ -0,0 +1,22 @@
Before Inside Systems Mail will work!!
======================================
An ismail.conf file must be created and placed in
%%INSTALLDIR%%/include
A reference ismail.conf has been provided at
%%INSTALLDIR%%/include/ismail.conf.sample
but requires modification to work. Please check the
provided HTML documentation in %%DOCSDIR%% or browse
http://www.insidesystems.net/projects/project.php?projectid=4
for configuration help.
Note: The default configuration data store requires domxml
to be compiled in to to mod_php4. For alternate datastores,
check %%EXAMPLESDIR%% for sample postgresql and mysql
schemas and set the ismail.conf file accordingly.

158
www/ismail/pkg-plist Normal file
View File

@ -0,0 +1,158 @@
%%ISMAILDIR%%addressbook.php
%%ISMAILDIR%%addressbookdecrypt.php
%%ISMAILDIR%%addressbookentry.php
%%ISMAILDIR%%addressbooklist.php
%%ISMAILDIR%%addressbookpopupbottom.php
%%ISMAILDIR%%addressbookpopuplist.php
%%ISMAILDIR%%addressbookpopuptop.php
%%ISMAILDIR%%addressbooktopbar.php
%%ISMAILDIR%%deletefolder.php
%%ISMAILDIR%%dict.php
%%ISMAILDIR%%editaddressbook.php
%%ISMAILDIR%%editsettings.php
%%ISMAILDIR%%error.php
%%ISMAILDIR%%folderlist.php
%%ISMAILDIR%%header.php
%%ISMAILDIR%%hidden.php
%%ISMAILDIR%%include/conffilefunctions.php
%%ISMAILDIR%%include/istheme.conf.sample
%%ISMAILDIR%%include/ismail.conf.sample
%%ISMAILDIR%%include/datastores/template.php
%%ISMAILDIR%%include/datastores/mysql4.php
%%ISMAILDIR%%include/datastores/pgsql.php
%%ISMAILDIR%%include/datastores/xml.php
%%ISMAILDIR%%include/empty.xml
%%ISMAILDIR%%include/globals.php
%%ISMAILDIR%%include/mailfunctions.php
%%ISMAILDIR%%index.php
%%ISMAILDIR%%ismail.php
%%ISMAILDIR%%locale/cs_CZ/LC_MESSAGES/messages.mo
%%ISMAILDIR%%locale/cs_CZ/LC_MESSAGES/messages.po
%%ISMAILDIR%%locale/it_IT/LC_MESSAGES/messages.mo
%%ISMAILDIR%%locale/it_IT/LC_MESSAGES/messages.po
%%ISMAILDIR%%locale/en_US/LC_MESSAGES/messages.mo
%%ISMAILDIR%%locale/en_US/LC_MESSAGES/messages.po
%%ISMAILDIR%%locale/da_DK/LC_MESSAGES/messages.po
%%ISMAILDIR%%locale/da_DK/LC_MESSAGES/messages.mo
%%ISMAILDIR%%login.php
%%ISMAILDIR%%logout.php
%%ISMAILDIR%%mail.php
%%ISMAILDIR%%mailheader.php
%%ISMAILDIR%%maillist.php
%%ISMAILDIR%%maillistheader.php
%%ISMAILDIR%%mailwrapper.php
%%ISMAILDIR%%movemail.php
%%ISMAILDIR%%newfolder.php
%%ISMAILDIR%%sendmail.php
%%ISMAILDIR%%settingseditidentity.php
%%ISMAILDIR%%settingsgeneral.php
%%ISMAILDIR%%settingsidentities.php
%%ISMAILDIR%%settingslist.php
%%ISMAILDIR%%spellcheck.php
%%ISMAILDIR%%statusbar.php
%%ISMAILDIR%%subscribe.php
%%ISMAILDIR%%themes/swarthy/headerbarleftcap.gif
%%ISMAILDIR%%themes/swarthy/checkspelling.gif
%%ISMAILDIR%%themes/swarthy/xtree/foldericon.png
%%ISMAILDIR%%themes/swarthy/xtree/Tminus.png
%%ISMAILDIR%%themes/swarthy/xtree/Lplus.png
%%ISMAILDIR%%themes/swarthy/xtree/file.png
%%ISMAILDIR%%themes/swarthy/xtree/T.png
%%ISMAILDIR%%themes/swarthy/xtree/openfoldericon.png
%%ISMAILDIR%%themes/swarthy/xtree/blank.png
%%ISMAILDIR%%themes/swarthy/xtree/Lminus.png
%%ISMAILDIR%%themes/swarthy/xtree/Tplus.png
%%ISMAILDIR%%themes/swarthy/xtree/I.png
%%ISMAILDIR%%themes/swarthy/xtree/new.png
%%ISMAILDIR%%themes/swarthy/xtree/L.png
%%ISMAILDIR%%themes/swarthy/css/topbarpop3.css
%%ISMAILDIR%%themes/swarthy/css/error.css
%%ISMAILDIR%%themes/swarthy/css/settingslist.css
%%ISMAILDIR%%themes/swarthy/css/folderlists.css
%%ISMAILDIR%%themes/swarthy/css/mailheader.css
%%ISMAILDIR%%themes/swarthy/css/addressbookdecrypt.css
%%ISMAILDIR%%themes/swarthy/css/settingsgeneral.css
%%ISMAILDIR%%themes/swarthy/css/sendmail.css
%%ISMAILDIR%%themes/swarthy/css/topbarimap.css
%%ISMAILDIR%%themes/swarthy/css/addressbook.css
%%ISMAILDIR%%themes/swarthy/css/frameheader.css
%%ISMAILDIR%%themes/swarthy/css/statusbar.css
%%ISMAILDIR%%themes/swarthy/css/addressbooktopbar.css
%%ISMAILDIR%%themes/swarthy/css/login.css
%%ISMAILDIR%%themes/swarthy/css/logout.css
%%ISMAILDIR%%themes/swarthy/css/view.css
%%ISMAILDIR%%themes/swarthy/css/maillist.css
%%ISMAILDIR%%themes/swarthy/css/settingseditidentity.css
%%ISMAILDIR%%themes/swarthy/css/addressbookentry.css
%%ISMAILDIR%%themes/swarthy/css/settingsidentities.css
%%ISMAILDIR%%themes/swarthy/css/mail.css
%%ISMAILDIR%%themes/swarthy/css/dict.css
%%ISMAILDIR%%themes/swarthy/css/globals.css
%%ISMAILDIR%%themes/swarthy/css/maillistheader.css
%%ISMAILDIR%%themes/swarthy/css/xtree.css
%%ISMAILDIR%%themes/swarthy/titlebarfill.gif
%%ISMAILDIR%%themes/swarthy/sendnow.gif
%%ISMAILDIR%%themes/swarthy/istheme.conf
%%ISMAILDIR%%themes/swarthy/statusbarfill.gif
%%ISMAILDIR%%themes/swarthy/statusbarleftcap.gif
%%ISMAILDIR%%themes/swarthy/headerbarfill.gif
%%ISMAILDIR%%themes/swarthy/deleteentry.gif
%%ISMAILDIR%%themes/swarthy/replyall.gif
%%ISMAILDIR%%themes/swarthy/newfolder.gif
%%ISMAILDIR%%themes/swarthy/middletab.gif
%%ISMAILDIR%%themes/swarthy/stipplebg.gif
%%ISMAILDIR%%themes/swarthy/curvedlefttab.gif
%%ISMAILDIR%%themes/swarthy/reply.gif
%%ISMAILDIR%%themes/swarthy/newmail.gif
%%ISMAILDIR%%themes/swarthy/generalsettings.gif
%%ISMAILDIR%%themes/swarthy/deletefolder.gif
%%ISMAILDIR%%themes/swarthy/addressbook.gif
%%ISMAILDIR%%themes/swarthy/settings.gif
%%ISMAILDIR%%themes/swarthy/identities.gif
%%ISMAILDIR%%themes/swarthy/smallismaillogo.jpg
%%ISMAILDIR%%themes/swarthy/righttab.gif
%%ISMAILDIR%%themes/swarthy/titlebarleftcap.gif
%%ISMAILDIR%%themes/swarthy/deletemail.gif
%%ISMAILDIR%%themes/swarthy/subscribefolder.gif
%%ISMAILDIR%%themes/swarthy/answered.gif
%%ISMAILDIR%%themes/swarthy/logout.gif
%%ISMAILDIR%%themes/swarthy/ismaillogo.jpg
%%ISMAILDIR%%themes/swarthy/newentry.gif
%%ISMAILDIR%%themes/swarthy/titlebarrightcap.gif
%%ISMAILDIR%%themes/swarthy/curvedrighttab.gif
%%ISMAILDIR%%themes/swarthy/lefttab.gif
%%ISMAILDIR%%themes/swarthy/statusbarrightcap.gif
%%ISMAILDIR%%themes/swarthy/addressicon.gif
%%ISMAILDIR%%themes/swarthy/curvedmiddletab.gif
%%ISMAILDIR%%themes/swarthy/headerbarrightcap.gif
%%ISMAILDIR%%themes/swarthy/forward.gif
%%ISMAILDIR%%themes/swarthy/attach.gif
%%ISMAILDIR%%themes/swarthy/movemail.gif
%%ISMAILDIR%%themes/swarthy/topbarrightcap.gif
%%ISMAILDIR%%topbar.php
%%ISMAILDIR%%viewmailbody.php
%%ISMAILDIR%%viewmailheader.php
%%ISMAILDIR%%xtree/xtree-css.php
%%ISMAILDIR%%xtree/xtree.php
%%DOCSDIR%%/docs.html
%%EXAMPLESDIR%%/pgsql.schema
%%EXAMPLESDIR%%/mysql4.schema
@dirrm %%ISMAILDIR%%xtree
@dirrm %%ISMAILDIR%%themes/swarthy/xtree
@dirrm %%ISMAILDIR%%themes/swarthy/css
@dirrm %%ISMAILDIR%%themes/swarthy
@dirrm %%ISMAILDIR%%themes
@dirrm %%ISMAILDIR%%locale/it_IT/LC_MESSAGES
@dirrm %%ISMAILDIR%%locale/it_IT
@dirrm %%ISMAILDIR%%locale/en_US/LC_MESSAGES
@dirrm %%ISMAILDIR%%locale/en_US
@dirrm %%ISMAILDIR%%locale/da_DK/LC_MESSAGES
@dirrm %%ISMAILDIR%%locale/da_DK
@dirrm %%ISMAILDIR%%locale/cs_CZ/LC_MESSAGES
@dirrm %%ISMAILDIR%%locale/cs_CZ
@dirrm %%ISMAILDIR%%locale
@dirrm %%ISMAILDIR%%include/datastores
@dirrm %%ISMAILDIR%%include
@dirrm %%EXAMPLESDIR%%
@dirrm %%DOCSDIR%%
@dirrm %%ISMAILDIR%%