git: ca859768c154 - main - devel/rubygem-deb_version: Add rubygem-deb_version 1.0.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 05:30:35 UTC
The branch main has been updated by sunpoet:

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

commit ca859768c154393be991f50c0eafb91b70fe1152
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 05:30:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 05:30:06 +0000

    devel/rubygem-deb_version: Add rubygem-deb_version 1.0.2
    
    Debian Version (Ruby) providees a port of "Debian Version" comparison function
    to Ruby.
---
 devel/Makefile                      |  1 +
 devel/rubygem-deb_version/Makefile  | 17 +++++++++++++++++
 devel/rubygem-deb_version/distinfo  |  3 +++
 devel/rubygem-deb_version/pkg-descr |  2 ++
 4 files changed, 23 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index db8ce355e855..d3fe36965320 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6726,6 +6726,7 @@
     SUBDIR += rubygem-ddmetrics
     SUBDIR += rubygem-ddplugin
     SUBDIR += rubygem-ddtrace
+    SUBDIR += rubygem-deb_version
     SUBDIR += rubygem-debase-ruby_core_source
     SUBDIR += rubygem-debug
     SUBDIR += rubygem-debug_inspector
diff --git a/devel/rubygem-deb_version/Makefile b/devel/rubygem-deb_version/Makefile
new file mode 100644
index 000000000000..56589d2ef772
--- /dev/null
+++ b/devel/rubygem-deb_version/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	deb_version
+PORTVERSION=	1.0.2
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Port of Debian Version comparison to Ruby
+WWW=		https://github.com/captn3m0/ruby-deb-version
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-deb_version/distinfo b/devel/rubygem-deb_version/distinfo
new file mode 100644
index 000000000000..e1484c936eb6
--- /dev/null
+++ b/devel/rubygem-deb_version/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698340913
+SHA256 (rubygem/deb_version-1.0.2.gem) = c21f911d7f2fd1d61219caae254fc078e6598e477fdff8a05a18bec6c72ee713
+SIZE (rubygem/deb_version-1.0.2.gem) = 7680
diff --git a/devel/rubygem-deb_version/pkg-descr b/devel/rubygem-deb_version/pkg-descr
new file mode 100644
index 000000000000..04dfbda18dc7
--- /dev/null
+++ b/devel/rubygem-deb_version/pkg-descr
@@ -0,0 +1,2 @@
+Debian Version (Ruby) providees a port of "Debian Version" comparison function
+to Ruby.