From d91e31cc1162e4b3f8ede1d9821bb356dd3b8828 Mon Sep 17 00:00:00 2001 From: jase Date: Sat, 1 Sep 2012 12:17:56 +0000 Subject: 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 Approved by: culot (mentor) --- mail/Makefile | 1 + mail/roundcube-automatic_addressbook/Makefile | 39 ++++++++++++++++++++++ mail/roundcube-automatic_addressbook/distinfo | 2 ++ .../files/pkg-message.in | 28 ++++++++++++++++ mail/roundcube-automatic_addressbook/pkg-descr | 5 +++ mail/roundcube-automatic_addressbook/pkg-plist | 34 +++++++++++++++++++ 6 files changed, 109 insertions(+) create mode 100644 mail/roundcube-automatic_addressbook/Makefile create mode 100644 mail/roundcube-automatic_addressbook/distinfo create mode 100644 mail/roundcube-automatic_addressbook/files/pkg-message.in create mode 100644 mail/roundcube-automatic_addressbook/pkg-descr create mode 100644 mail/roundcube-automatic_addressbook/pkg-plist (limited to 'mail') diff --git a/mail/Makefile b/mail/Makefile index 945da3f5d27d..0f16f62fc88d 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -596,6 +596,7 @@ SUBDIR += rmilter SUBDIR += roundcube SUBDIR += roundcube-air + SUBDIR += roundcube-automatic_addressbook SUBDIR += roundcube-contextmenu SUBDIR += roundcube-groupvice SUBDIR += roundcube-mobilecube diff --git a/mail/roundcube-automatic_addressbook/Makefile b/mail/roundcube-automatic_addressbook/Makefile new file mode 100644 index 000000000000..96015a6bdf12 --- /dev/null +++ b/mail/roundcube-automatic_addressbook/Makefile @@ -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 diff --git a/mail/roundcube-automatic_addressbook/distinfo b/mail/roundcube-automatic_addressbook/distinfo new file mode 100644 index 000000000000..adc3059ac660 --- /dev/null +++ b/mail/roundcube-automatic_addressbook/distinfo @@ -0,0 +1,2 @@ +SHA256 (automatic_addressbook-0.3.1.tar.bz2) = 0a4f43de2a9938ddbabc31ef0f47eaf70073aaf3e3f415d76f2c7f67cb5604a2 +SIZE (automatic_addressbook-0.3.1.tar.bz2) = 20630 diff --git a/mail/roundcube-automatic_addressbook/files/pkg-message.in b/mail/roundcube-automatic_addressbook/files/pkg-message.in new file mode 100644 index 000000000000..fc44f79efe19 --- /dev/null +++ b/mail/roundcube-automatic_addressbook/files/pkg-message.in @@ -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/.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/.upgrade.sql + +--------------------------------------------------------------------- diff --git a/mail/roundcube-automatic_addressbook/pkg-descr b/mail/roundcube-automatic_addressbook/pkg-descr new file mode 100644 index 000000000000..dd4f83734954 --- /dev/null +++ b/mail/roundcube-automatic_addressbook/pkg-descr @@ -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 diff --git a/mail/roundcube-automatic_addressbook/pkg-plist b/mail/roundcube-automatic_addressbook/pkg-plist new file mode 100644 index 000000000000..46af59dc4f60 --- /dev/null +++ b/mail/roundcube-automatic_addressbook/pkg-plist @@ -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%% -- cgit