git: 9f50343ee770 - main - mail/rubygem-mail: Update to 2.8.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:19:57 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f50343ee770423f8986167959088dc0c99c4ce0

commit 9f50343ee770423f8986167959088dc0c99c4ce0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:45:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 13:02:30 +0000

    mail/rubygem-mail: Update to 2.8.0
    
    Changes:        https://github.com/mikel/mail/blob/2-8-stable/CHANGELOG.rdoc
---
 mail/rubygem-mail/Makefile | 19 ++++++-------------
 mail/rubygem-mail/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/mail/rubygem-mail/Makefile b/mail/rubygem-mail/Makefile
index 8ce60d1ff045..62c0f7ecca49 100644
--- a/mail/rubygem-mail/Makefile
+++ b/mail/rubygem-mail/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	mail
-PORTVERSION=	2.7.1
-PORTREVISION=	2
+PORTVERSION=	2.8.0
 PORTEPOCH=	2
 CATEGORIES=	mail rubygems
 MASTER_SITES=	RG
@@ -12,7 +11,10 @@ WWW=		https://github.com/mikel/mail
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
 
-RUN_DEPENDS=	rubygem-mini_mime>=0.1.1:mail/rubygem-mini_mime
+RUN_DEPENDS=	rubygem-mini_mime>=0.1.1:mail/rubygem-mini_mime \
+		rubygem-net-imap>=0:mail/rubygem-net-imap \
+		rubygem-net-pop>=0:mail/rubygem-net-pop \
+		rubygem-net-smtp>=0:mail/rubygem-net-smtp
 
 USES=		cpe gem
 
@@ -20,13 +22,4 @@ NO_ARCH=	yes
 
 CPE_VENDOR=	mail_project
 
-.include <bsd.port.pre.mk>
-
-# See https://github.com/mikel/mail/pull/1439
-.if ${RUBY_VER} >= 3.1
-RUN_DEPENDS+=	rubygem-net-imap>=0:mail/rubygem-net-imap \
-		rubygem-net-pop>=0:mail/rubygem-net-pop \
-		rubygem-net-smtp>=0:mail/rubygem-net-smtp
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/rubygem-mail/distinfo b/mail/rubygem-mail/distinfo
index e1af302d579e..0eb99dc871dd 100644
--- a/mail/rubygem-mail/distinfo
+++ b/mail/rubygem-mail/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1539714926
-SHA256 (rubygem/mail-2.7.1.gem) = ec2a3d489f7510b90d8eaa3f6abaad7038cf1d663cdf8ee66d0214a0bdf99c03
-SIZE (rubygem/mail-2.7.1.gem) = 389120
+TIMESTAMP = 1674590898
+SHA256 (rubygem/mail-2.8.0.gem) = c809f4392985d6ccd803ef632728eaeb65b1a6530b3368e84c14f57f3f9f2669
+SIZE (rubygem/mail-2.8.0.gem) = 396288