git: 9b05c35325da - main - www/rubygem-rqrcode2: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 21:59:16 UTC
The branch main has been updated by bofh:

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

commit 9b05c35325da44cd170880c790ee71441b5794ac
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-19 18:45:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-19 21:59:09 +0000

    www/rubygem-rqrcode2: New port
    
    rQRCode is a library for encoding QRCodes in Ruby. It has a simple interface
    with all the standard qrcode options. It was adapted from the Javascript
    library by Kazuhiko Arase.
    
    Sponsored by:   Nepustil
---
 www/Makefile                   |  1 +
 www/rubygem-rqrcode2/Makefile  | 22 ++++++++++++++++++++++
 www/rubygem-rqrcode2/distinfo  |  3 +++
 www/rubygem-rqrcode2/pkg-descr |  3 +++
 4 files changed, 29 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index ed6c4e705fbd..cebc6846caa9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2122,6 +2122,7 @@
     SUBDIR += rubygem-robots
     SUBDIR += rubygem-roda
     SUBDIR += rubygem-rqrcode
+    SUBDIR += rubygem-rqrcode2
     SUBDIR += rubygem-rqrcode-rails3
     SUBDIR += rubygem-rqrcode_core
     SUBDIR += rubygem-rss
diff --git a/www/rubygem-rqrcode2/Makefile b/www/rubygem-rqrcode2/Makefile
new file mode 100644
index 000000000000..9f0e3a928fd8
--- /dev/null
+++ b/www/rubygem-rqrcode2/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	rqrcode
+PORTVERSION=	2.1.2
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Library for encoding QR Codes
+WWW=		https://whomwah.github.io/rqrcode/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-chunky_png>=1.0:graphics/rubygem-chunky_png \
+	rubygem-rqrcode_core>=1.0:www/rubygem-rqrcode_core
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rqrcode2/distinfo b/www/rubygem-rqrcode2/distinfo
new file mode 100644
index 000000000000..03309601693f
--- /dev/null
+++ b/www/rubygem-rqrcode2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1668882661
+SHA256 (rubygem/rqrcode-2.1.2.gem) = 77f4e773db9f245c7e647486899125429b291cc91080929bfef9f08a73c02769
+SIZE (rubygem/rqrcode-2.1.2.gem) = 105472
diff --git a/www/rubygem-rqrcode2/pkg-descr b/www/rubygem-rqrcode2/pkg-descr
new file mode 100644
index 000000000000..2265a5614c0e
--- /dev/null
+++ b/www/rubygem-rqrcode2/pkg-descr
@@ -0,0 +1,3 @@
+rQRCode is a library for encoding QRCodes in Ruby. It has a simple interface
+with all the standard qrcode options. It was adapted from the Javascript
+library by Kazuhiko Arase.