git: 0990befc47be - main - mail/roundcube-sauserprefs: Update to 1.20

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Sun, 18 Sep 2022 10:29:40 UTC
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0990befc47bee723f2f1336a532a77350cbcc7a1

commit 0990befc47bee723f2f1336a532a77350cbcc7a1
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2022-09-18 10:25:43 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2022-09-18 10:29:26 +0000

    mail/roundcube-sauserprefs: Update to 1.20
    
     * Mark PHP 8.1 compatible for Roundcube 1.6.0
    
    PR:             265653
---
 mail/roundcube-sauserprefs/Makefile  | 14 +++++++-------
 mail/roundcube-sauserprefs/distinfo  |  5 +++--
 mail/roundcube-sauserprefs/pkg-plist | 32 ++++++++++++++++----------------
 3 files changed, 26 insertions(+), 25 deletions(-)

diff --git a/mail/roundcube-sauserprefs/Makefile b/mail/roundcube-sauserprefs/Makefile
index fd893090812f..1fdfbbb59c35 100644
--- a/mail/roundcube-sauserprefs/Makefile
+++ b/mail/roundcube-sauserprefs/Makefile
@@ -1,12 +1,8 @@
 PORTNAME=	sauserprefs
-PORTVERSION=	1.10 # PLEASE MIRROR DISTFILE WITH VERSIONED DIR
-PORTREVISION=	1
+PORTVERSION=	1.20
 CATEGORIES=	mail
-MASTER_SITES=	http://www.tehinterweb.co.uk/roundcube/plugins/ \
-		LOCAL/bdrewery/${PORTNAME}/${PORTVERSION}/
 PKGNAMEPREFIX=	roundcube-
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
-DISTNAME=	${PORTNAME}
 
 MAINTAINER=	stb@lassitu.de
 COMMENT=	Roundcube plugin to manage SpamAssassin prefs
@@ -14,15 +10,19 @@ WWW=		http://www.tehinterweb.co.uk/roundcube/
 
 LICENSE=	GPLv3
 
-RUN_DEPENDS=	roundcube${PHP_PKGNAMESUFFIX}>=0.8:mail/roundcube@${PHP_FLAVOR}
+RUN_DEPENDS=	roundcube${PHP_PKGNAMESUFFIX}>=1.5:mail/roundcube@${PHP_FLAVOR}
 
 USES=		php:flavors
-IGNORE_WITH_PHP=	81 82
+IGNORE_WITH_PHP=	82
 
 WWWDIR=		${PREFIX}/www/roundcube/plugins/sauserprefs
 NO_ARCH=	yes
 NO_BUILD=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	JohnDoh
+GH_PROJECT=	${PKGNAMEPREFIX}${PORTNAME}
+
 do-install:
 	${MKDIR} ${STAGEDIR}/${WWWDIR}
 	cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}/${WWWDIR}
diff --git a/mail/roundcube-sauserprefs/distinfo b/mail/roundcube-sauserprefs/distinfo
index 653949677f77..ba14ab52bf37 100644
--- a/mail/roundcube-sauserprefs/distinfo
+++ b/mail/roundcube-sauserprefs/distinfo
@@ -1,2 +1,3 @@
-SHA256 (sauserprefs.tar.gz) = b3e1860782bc5e3d2ce1dffdf9259617eebf021a15a803df7574ec98df909ace
-SIZE (sauserprefs.tar.gz) = 62660
+TIMESTAMP = 1659709237
+SHA256 (JohnDoh-roundcube-sauserprefs-1.20_GH0.tar.gz) = eb379dba51be80b7b6e9a516ec46dad2b0811b741ceab2560a5a0c1a357291b9
+SIZE (JohnDoh-roundcube-sauserprefs-1.20_GH0.tar.gz) = 75222
diff --git a/mail/roundcube-sauserprefs/pkg-plist b/mail/roundcube-sauserprefs/pkg-plist
index 46a1c074506d..2bfbd7d993c3 100644
--- a/mail/roundcube-sauserprefs/pkg-plist
+++ b/mail/roundcube-sauserprefs/pkg-plist
@@ -1,10 +1,13 @@
+%%WWWDIR%%/.gitignore
 %%WWWDIR%%/CHANGELOG
 %%WWWDIR%%/README.md
-%%WWWDIR%%/config.inc.php.dist
-%%WWWDIR%%/include/rcube_sauserprefs_storage.php
+%%WWWDIR%%/composer.json
+@sample %%WWWDIR%%/config.inc.php.dist %%WWWDIR%%/config.inc.php
+%%WWWDIR%%/lib/Roundcube/rcube_sauserprefs_storage.php
+%%WWWDIR%%/lib/Roundcube/rcube_sauserprefs_storage_sql.php
+%%WWWDIR%%/localization/cs_CZ.inc
 %%WWWDIR%%/localization/de_CH.inc
 %%WWWDIR%%/localization/de_DE.inc
-%%WWWDIR%%/localization/cs_CZ.inc
 %%WWWDIR%%/localization/en_GB.inc
 %%WWWDIR%%/localization/en_US.inc
 %%WWWDIR%%/localization/es_ES.inc
@@ -18,24 +21,21 @@
 %%WWWDIR%%/localization/ru_RU.inc
 %%WWWDIR%%/localization/sk_SK.inc
 %%WWWDIR%%/localization/sv_SE.inc
-%%WWWDIR%%/package.xml
 %%WWWDIR%%/sauserprefs.js
 %%WWWDIR%%/sauserprefs.php
-%%WWWDIR%%/skins/classic/help.gif
-%%WWWDIR%%/skins/classic/icons.gif
-%%WWWDIR%%/skins/classic/icons.png
-%%WWWDIR%%/skins/classic/ie6hacks.css
-%%WWWDIR%%/skins/classic/iehacks.css
-%%WWWDIR%%/skins/classic/safari.css
+%%WWWDIR%%/skins/classic/images/icons.png
+%%WWWDIR%%/skins/classic/images/sort.gif
 %%WWWDIR%%/skins/classic/sauserprefs.css
-%%WWWDIR%%/skins/classic/tabstyles.css
 %%WWWDIR%%/skins/classic/templates/sauserprefs.html
 %%WWWDIR%%/skins/classic/templates/settingsedit.html
-%%WWWDIR%%/skins/larry/help.png
-%%WWWDIR%%/skins/larry/icons.png
-%%WWWDIR%%/skins/larry/iehacks.css
-%%WWWDIR%%/skins/larry/listicons.png
-%%WWWDIR%%/skins/larry/safari.css
+%%WWWDIR%%/skins/elastic/sauserprefs.less
+%%WWWDIR%%/skins/elastic/sauserprefs.min.css
+%%WWWDIR%%/skins/elastic/tabstyles.less
+%%WWWDIR%%/skins/elastic/tabstyles.min.css
+%%WWWDIR%%/skins/elastic/templates/sauserprefs.html
+%%WWWDIR%%/skins/elastic/templates/settingsedit.html
+%%WWWDIR%%/skins/larry/images/icons.png
+%%WWWDIR%%/skins/larry/images/listicons.png
 %%WWWDIR%%/skins/larry/sauserprefs.css
 %%WWWDIR%%/skins/larry/tabstyles.css
 %%WWWDIR%%/skins/larry/templates/sauserprefs.html