1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

The automatic addressbook plugin for Roundcube collects each address you

send an email to and records it in an address book, making it available
for later use or auto-completion.

WWW:		http://code.crapouillou.net/projects/roundcube-plugins
PR:		ports/170993
Submitted by:	Anes Mukhametov <anes@anes.su>
Approved by:	culot (mentor)
This commit is contained in:
Jase Thew 2012-09-01 12:17:56 +00:00
parent 6bc87f411a
commit c2ff523da6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303470
6 changed files with 109 additions and 0 deletions

View File

@ -596,6 +596,7 @@
SUBDIR += rmilter
SUBDIR += roundcube
SUBDIR += roundcube-air
SUBDIR += roundcube-automatic_addressbook
SUBDIR += roundcube-contextmenu
SUBDIR += roundcube-groupvice
SUBDIR += roundcube-mobilecube

View File

@ -0,0 +1,39 @@
# $FreeBSD$
PORTNAME= automatic_addressbook
PORTVERSION= 0.3.1
CATEGORIES= mail
MASTER_SITES= http://code.crapouillou.net/attachments/download/16/
PKGNAMEPREFIX= roundcube-
MAINTAINER= anes@anes.su
COMMENT= Roundcube webmail automatic addressbook plugin
LICENSE= GPLv3
RUN_DEPENDS= roundcube>=0.8:${PORTSDIR}/mail/roundcube
USE_BZIP2= yes
NO_BUILD= yes
RCDIR= ${PREFIX}/www/roundcube
WWWDIR= ${RCDIR}/plugins/automatic_addressbook
SUB_FILES= pkg-message
SUB_LIST= RCDIR=${RCDIR} PLUGINDIR=${WWWDIR}
# This target is only meant to be used by the port maintainer.
x-generate-plist: build
cd ${WRKSRC}; \
${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \
${SED} -e "s,^\.,%%WWWDIR%%," >${.CURDIR}/pkg-plist.tmp ; \
${FIND} . -type d | ${SORT} -r | ${SED} \
-e "s,^\.$$,@dirrmtry %%WWWDIR%%," \
-e "s,^\.,@dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp
do-install:
@${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (automatic_addressbook-0.3.1.tar.bz2) = 0a4f43de2a9938ddbabc31ef0f47eaf70073aaf3e3f415d76f2c7f67cb5604a2
SIZE (automatic_addressbook-0.3.1.tar.bz2) = 20630

View File

@ -0,0 +1,28 @@
---------------------------------------------------------------------
FIRST INSTALLATION
If this is a first installation of automatic addressbook plugin, you
have to execute the relevant initialisation SQL script for your
chosen database backend :
%%PLUGINDIR%%/SQL/<dbtype>.initial.sql
You will also need to copy :
%%PLUGINDIR%%/config/config.inc.php.dist to
%%PLUGINDIR%%/config/config.inc.php
and edit as you need.
Finally, you will need to add the plugin to your list of loadable
plugins in %%RCDIR%%/config/main.inc.php :
E.g. : $rcmail_config['plugins'] = array('automatic_addressbook');
UPGRADING
If you already had a previous version of automatic addressbook plugin
installed, you should update your database schema by executing the
relevant upgrade SQL script for your chosen database backend :
%%WWWDIR%%/SQL/<dbtype>.upgrade.sql
---------------------------------------------------------------------

View File

@ -0,0 +1,5 @@
The automatic addressbook plugin for Roundcube collects each address you
send an email to and records it in an address book, making it available
for later use or auto-completion.
WWW: http://code.crapouillou.net/projects/roundcube-plugins

View File

@ -0,0 +1,34 @@
%%WWWDIR%%/package.xml
%%WWWDIR%%/Changelog
%%WWWDIR%%/INSTALL
%%WWWDIR%%/LICENSE
%%WWWDIR%%/README
%%WWWDIR%%/SQL/mssql.initial.sql
%%WWWDIR%%/SQL/mssql.update.sql
%%WWWDIR%%/SQL/mysql.initial.sql
%%WWWDIR%%/SQL/mysql.update.sql
%%WWWDIR%%/SQL/postgres.initial.sql
%%WWWDIR%%/SQL/postgres.update.sql
%%WWWDIR%%/SQL/sqlite.initial.sql
%%WWWDIR%%/SQL/sqlite.update.sql
%%WWWDIR%%/automatic_addressbook.php
%%WWWDIR%%/automatic_addressbook_backend.php
%%WWWDIR%%/config/config.inc.php.dist
%%WWWDIR%%/localization/bg_BG.inc
%%WWWDIR%%/localization/de_DE.inc
%%WWWDIR%%/localization/el_GR.inc
%%WWWDIR%%/localization/en_EN.inc
%%WWWDIR%%/localization/en_US.inc
%%WWWDIR%%/localization/es_ES.inc
%%WWWDIR%%/localization/fr_FR.inc
%%WWWDIR%%/localization/gl_ES.inc
%%WWWDIR%%/localization/hu_HU.inc
%%WWWDIR%%/localization/it_IT.inc
%%WWWDIR%%/localization/nl_NL.inc
%%WWWDIR%%/localization/ru_RU.inc
%%WWWDIR%%/localization/vi_VN.inc
%%WWWDIR%%/localization/zh_CN.inc
@dirrm %%WWWDIR%%/localization
@dirrm %%WWWDIR%%/SQL
@dirrmtry %%WWWDIR%%/config
@dirrmtry %%WWWDIR%%