From 2989d91b3d272593989e9a67d0cf975ee3f19067 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 5 Jun 2014 09:19:16 +0000 Subject: [PATCH] HTML5_Notifier is a Roundcube plugin. It displays Desktop Notifications like the ones you might know from Google Mail. Just keep Roundcube opened in a (minimized) tab and enjoy getting notifications every time a new mail arrives. WWW: http://stremlau.net/html5_notifier/ PR: ports/190053 Submitted by: Koichiro IWAO --- mail/Makefile | 1 + mail/roundcube-html5_notifier/Makefile | 39 +++++++++++++++++++++++++ mail/roundcube-html5_notifier/distinfo | 2 ++ mail/roundcube-html5_notifier/pkg-descr | 6 ++++ mail/roundcube-html5_notifier/pkg-plist | 19 ++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 mail/roundcube-html5_notifier/Makefile create mode 100644 mail/roundcube-html5_notifier/distinfo create mode 100644 mail/roundcube-html5_notifier/pkg-descr create mode 100644 mail/roundcube-html5_notifier/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index 344588e57fa0..deac2dba822d 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -592,6 +592,7 @@ SUBDIR += roundcube-automatic_addressbook SUBDIR += roundcube-contextmenu SUBDIR += roundcube-groupvice + SUBDIR += roundcube-html5_notifier SUBDIR += roundcube-login_info SUBDIR += roundcube-mobilecube SUBDIR += roundcube-mvision2 diff --git a/mail/roundcube-html5_notifier/Makefile b/mail/roundcube-html5_notifier/Makefile new file mode 100644 index 000000000000..5d75ea7c0dac --- /dev/null +++ b/mail/roundcube-html5_notifier/Makefile @@ -0,0 +1,39 @@ +# Created by: Koichiro IWAO +# $FreeBSD$ + +PORTNAME= html5_notifier +PORTVERSION= 0.5.2 +CATEGORIES= mail +PKGNAMEPREFIX= roundcube- + +MAINTAINER= meta+ports@vmeta.jp +COMMENT= HTML5 desktop notifier plugin for roundcube + +LICENSE= GPLv3 + +RUN_DEPENDS= roundcube>=1.0:${PORTSDIR}/mail/roundcube +BUILD_DEPENDS= roundcube>=1.0:${PORTSDIR}/mail/roundcube + +USE_GITHUB= yes +GH_ACCOUNT= kitist +GH_PROJECT= html5_notifier +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 968f570 + +NO_BUILD= yes + +WWWDIR= ${PREFIX}/www/roundcube/plugins/${PORTNAME} + +x-generate-plist: build + cd ${WRKSRC}; \ + ${FIND} . ! -type d ! -name '*.orig' | ${SORT} | \ + ${SED} -e "s,^\.,%%WWWDIR%%," >${WRKDIR}/pkg-plist.tmp ; \ + ${FIND} . -type d | ${SORT} -r | ${SED} \ + -e "s,^\.$$,@dirrmtry %%WWWDIR%%," \ + -e "s,^\.,@dirrm %%WWWDIR%%," >>${WRKDIR}/pkg-plist.tmp + +do-install: + ${MKDIR} ${STAGEDIR}${WWWDIR} + cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} + +.include diff --git a/mail/roundcube-html5_notifier/distinfo b/mail/roundcube-html5_notifier/distinfo new file mode 100644 index 000000000000..ce5a4fb62499 --- /dev/null +++ b/mail/roundcube-html5_notifier/distinfo @@ -0,0 +1,2 @@ +SHA256 (html5_notifier-0.5.2.tar.gz) = 99df20dd8dbecb4bded8da7574f9c9e9605df68a8b2f5cf5fda2927959d5e5af +SIZE (html5_notifier-0.5.2.tar.gz) = 8002 diff --git a/mail/roundcube-html5_notifier/pkg-descr b/mail/roundcube-html5_notifier/pkg-descr new file mode 100644 index 000000000000..c756eceaff1d --- /dev/null +++ b/mail/roundcube-html5_notifier/pkg-descr @@ -0,0 +1,6 @@ +HTML5_Notifier is a Roundcube plugin. It displays Desktop Notifications +like the ones you might know from Google Mail. Just keep Roundcube +opened in a (minimized) tab and enjoy getting notifications every +time a new mail arrives. + +WWW: http://stremlau.net/html5_notifier/ diff --git a/mail/roundcube-html5_notifier/pkg-plist b/mail/roundcube-html5_notifier/pkg-plist new file mode 100644 index 000000000000..458b4811c41e --- /dev/null +++ b/mail/roundcube-html5_notifier/pkg-plist @@ -0,0 +1,19 @@ +%%WWWDIR%%/.gitignore +%%WWWDIR%%/README.md +%%WWWDIR%%/changelog.txt +%%WWWDIR%%/composer.json +%%WWWDIR%%/config/config.inc.php.dist +%%WWWDIR%%/html5_notifier.js +%%WWWDIR%%/html5_notifier.php +%%WWWDIR%%/images/new_mail.png +%%WWWDIR%%/localization/de_DE.inc +%%WWWDIR%%/localization/en_US.inc +%%WWWDIR%%/localization/es_ES.inc +%%WWWDIR%%/localization/fr_FR.inc +%%WWWDIR%%/localization/ja_JP.inc +%%WWWDIR%%/localization/nl_NL.inc +%%WWWDIR%%/localization/sk_SK.inc +@dirrm %%WWWDIR%%/localization +@dirrm %%WWWDIR%%/images +@dirrm %%WWWDIR%%/config +@dirrmtry %%WWWDIR%%