git: fe1e9d738842 - main - mail/rubygem-valid_email02: Add rubygem-valid_email02 0.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 16 May 2024 06:29:38 UTC
The branch main has been updated by sunpoet:

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

commit fe1e9d73884275528414ba9ed9cf3138321d2c06
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-16 06:13:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-16 06:21:51 +0000

    mail/rubygem-valid_email02: Add rubygem-valid_email02 0.2.1
    
    It validates email for application use (registering a new account for example).
---
 mail/Makefile                        |  1 +
 mail/rubygem-valid_email02/Makefile  | 22 ++++++++++++++++++++++
 mail/rubygem-valid_email02/distinfo  |  3 +++
 mail/rubygem-valid_email02/pkg-descr |  1 +
 4 files changed, 27 insertions(+)

diff --git a/mail/Makefile b/mail/Makefile
index 2f3dfa51c2f5..999c55d51dd8 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -629,6 +629,7 @@
     SUBDIR += rubygem-roadie3
     SUBDIR += rubygem-ruby-qmail
     SUBDIR += rubygem-valid_email
+    SUBDIR += rubygem-valid_email02
     SUBDIR += rubygem-vmail
     SUBDIR += s-nail
     SUBDIR += sa-stats
diff --git a/mail/rubygem-valid_email02/Makefile b/mail/rubygem-valid_email02/Makefile
new file mode 100644
index 000000000000..c2917cc6a5e2
--- /dev/null
+++ b/mail/rubygem-valid_email02/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	valid_email
+PORTVERSION=	0.2.1
+CATEGORIES=	mail rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	02
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	ActiveModel Validation for email
+WWW=		https://github.com/hallelujah/valid_email
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	rubygem-activemodel71>=0:databases/rubygem-activemodel71 \
+		rubygem-mail>=2.6.1:mail/rubygem-mail \
+		rubygem-simpleidn>=0:dns/rubygem-simpleidn
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/mail/rubygem-valid_email02/distinfo b/mail/rubygem-valid_email02/distinfo
new file mode 100644
index 000000000000..62869996dcca
--- /dev/null
+++ b/mail/rubygem-valid_email02/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1714227822
+SHA256 (rubygem/valid_email-0.2.1.gem) = 79b06a7cc67a4aaeac731c940df775c4092623c455667e86d2a706acd3e9604f
+SIZE (rubygem/valid_email-0.2.1.gem) = 17408
diff --git a/mail/rubygem-valid_email02/pkg-descr b/mail/rubygem-valid_email02/pkg-descr
new file mode 100644
index 000000000000..c057cfd994da
--- /dev/null
+++ b/mail/rubygem-valid_email02/pkg-descr
@@ -0,0 +1 @@
+It validates email for application use (registering a new account for example).