From 476ba6691cc1ee297f3c712ad2a1515bf2eba0e2 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 6 Nov 2011 14:43:05 +0000 Subject: [PATCH] Context menu plugin for RoundCube webmail. WWW: http://www.tehinterweb.co.uk/roundcube/ PR: ports/162047 Submitted by: Alexander Moisseev --- mail/Makefile | 1 + mail/roundcube-contextmenu/Makefile | 39 ++++++++++++++++++++++++++++ mail/roundcube-contextmenu/distinfo | 2 ++ mail/roundcube-contextmenu/pkg-descr | 3 +++ mail/roundcube-contextmenu/pkg-plist | 39 ++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 mail/roundcube-contextmenu/Makefile create mode 100644 mail/roundcube-contextmenu/distinfo create mode 100644 mail/roundcube-contextmenu/pkg-descr create mode 100644 mail/roundcube-contextmenu/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index 85fd850dde5e..b56f179853fd 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -593,6 +593,7 @@ SUBDIR += rmilter SUBDIR += roundcube SUBDIR += roundcube-air + SUBDIR += roundcube-contextmenu SUBDIR += roundcube-groupvice SUBDIR += roundcube-mobilecube SUBDIR += roundcube-mvision2 diff --git a/mail/roundcube-contextmenu/Makefile b/mail/roundcube-contextmenu/Makefile new file mode 100644 index 000000000000..1c5b9b802aca --- /dev/null +++ b/mail/roundcube-contextmenu/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: roundcube-contextmenu +# Date created: 27 Oct 2011 +# Whom: Alexander Moisseev +# +# $FreeBSD$ +# + +PORTNAME= contextmenu +PORTVERSION= 1.8 +CATEGORIES= mail +MASTER_SITES= http://www.tehinterweb.co.uk/roundcube/plugins/ +PKGNAMEPREFIX= roundcube- +DISTNAME= ${PORTNAME} + +MAINTAINER= moiseev@mezonplus.ru +COMMENT= RoundCube webmail contextmenu plugin + +LICENSE= GPLv2 + +RUN_DEPENDS= roundcube>=0.6:${PORTSDIR}/mail/roundcube + +NO_BUILD= yes + +WWWDIR?= ${PREFIX}/www/roundcube/plugins/contextmenu + +# 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} + +.include diff --git a/mail/roundcube-contextmenu/distinfo b/mail/roundcube-contextmenu/distinfo new file mode 100644 index 000000000000..718fad82197d --- /dev/null +++ b/mail/roundcube-contextmenu/distinfo @@ -0,0 +1,2 @@ +SHA256 (contextmenu.tar.gz) = b7fad498dcb0d41faa81ab0eccf8b44a3f44e7b15e72b269be3459e01aa672f5 +SIZE (contextmenu.tar.gz) = 33842 diff --git a/mail/roundcube-contextmenu/pkg-descr b/mail/roundcube-contextmenu/pkg-descr new file mode 100644 index 000000000000..119662f27d82 --- /dev/null +++ b/mail/roundcube-contextmenu/pkg-descr @@ -0,0 +1,3 @@ +Context menu plugin for RoundCube webmail. + +WWW: http://www.tehinterweb.co.uk/roundcube/ diff --git a/mail/roundcube-contextmenu/pkg-plist b/mail/roundcube-contextmenu/pkg-plist new file mode 100644 index 000000000000..62c932de2903 --- /dev/null +++ b/mail/roundcube-contextmenu/pkg-plist @@ -0,0 +1,39 @@ +%%WWWDIR%%/CHANGELOG +%%WWWDIR%%/README +%%WWWDIR%%/contextmenu.js +%%WWWDIR%%/contextmenu.php +%%WWWDIR%%/jquery.contextMenu.js +%%WWWDIR%%/jquery.mousewheel.js +%%WWWDIR%%/localization/ca_ES.inc +%%WWWDIR%%/localization/cs_CZ.inc +%%WWWDIR%%/localization/da_DK.inc +%%WWWDIR%%/localization/de_CH.inc +%%WWWDIR%%/localization/de_DE.inc +%%WWWDIR%%/localization/en_GB.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/pl_PL.inc +%%WWWDIR%%/localization/pt_BR.inc +%%WWWDIR%%/localization/ro_RO.inc +%%WWWDIR%%/localization/ru_RU.inc +%%WWWDIR%%/localization/sv_SE.inc +%%WWWDIR%%/localization/tr_TR.inc +%%WWWDIR%%/localization/uk_UA.inc +%%WWWDIR%%/localization/zh_TW.inc +%%WWWDIR%%/skins/default/contexticons.gif +%%WWWDIR%%/skins/default/contexticons.png +%%WWWDIR%%/skins/default/contextmenu.css +%%WWWDIR%%/skins/default/folders.gif +%%WWWDIR%%/skins/default/folders.png +%%WWWDIR%%/skins/default/ie6hacks.css +%%WWWDIR%%/skins/default/messageactions.gif +%%WWWDIR%%/skins/default/messageactions.png +@dirrm %%WWWDIR%%/skins/default +@dirrm %%WWWDIR%%/skins +@dirrm %%WWWDIR%%/localization +@dirrmtry %%WWWDIR%%