From dac64a7cd8f6919fffc789073c3683f1030cc617 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Sat, 19 Nov 2022 12:25:39 -0600 Subject: [PATCH] www/rubygem-rqrcode_core: New port rqrcode_core is a library for encoding QR Codes in pure Ruby. It has a simple interface with all the standard qrcode options. It was originally adapted in 2008 from a Javascript library by Kazuhiko Arase. Features: * rqrcode_core is a Ruby only library. It requires no 3rd party libraries. Just Ruby! * It is an encoding library. You can't decode QR Codes with it. * The interface is simple and assumes you just want to encode a string into a QR Code, but also allows for encoding multiple segments. * QR Code is trademarked by Denso Wave inc. rqrcode_core is the basis of the popular rqrcode gem. This gem allows you to generate different renderings of your QR Code, including png, svg and ansi. Sponsored by: Nepustil --- www/Makefile | 1 + www/rubygem-rqrcode_core/Makefile | 18 ++++++++++++++++++ www/rubygem-rqrcode_core/distinfo | 3 +++ www/rubygem-rqrcode_core/pkg-descr | 15 +++++++++++++++ 4 files changed, 37 insertions(+) create mode 100644 www/rubygem-rqrcode_core/Makefile create mode 100644 www/rubygem-rqrcode_core/distinfo create mode 100644 www/rubygem-rqrcode_core/pkg-descr diff --git a/www/Makefile b/www/Makefile index 05794ca6aa56..ed6c4e705fbd 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2123,6 +2123,7 @@ SUBDIR += rubygem-roda SUBDIR += rubygem-rqrcode SUBDIR += rubygem-rqrcode-rails3 + SUBDIR += rubygem-rqrcode_core SUBDIR += rubygem-rss SUBDIR += rubygem-rtlit SUBDIR += rubygem-ruby-oembed diff --git a/www/rubygem-rqrcode_core/Makefile b/www/rubygem-rqrcode_core/Makefile new file mode 100644 index 000000000000..6055c611b359 --- /dev/null +++ b/www/rubygem-rqrcode_core/Makefile @@ -0,0 +1,18 @@ +PORTNAME= rqrcode_core +PORTVERSION= 1.2.0 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Ruby library for encoding QR Codes +WWW= https://github.com/whomwah/rqrcode_core + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/www/rubygem-rqrcode_core/distinfo b/www/rubygem-rqrcode_core/distinfo new file mode 100644 index 000000000000..02d99f8e8b02 --- /dev/null +++ b/www/rubygem-rqrcode_core/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668881506 +SHA256 (rubygem/rqrcode_core-1.2.0.gem) = cf4989dc82d24e2877984738c4ee569308625fed2a810960f1b02d68d0308d1a +SIZE (rubygem/rqrcode_core-1.2.0.gem) = 18944 diff --git a/www/rubygem-rqrcode_core/pkg-descr b/www/rubygem-rqrcode_core/pkg-descr new file mode 100644 index 000000000000..6f9fb5bbada5 --- /dev/null +++ b/www/rubygem-rqrcode_core/pkg-descr @@ -0,0 +1,15 @@ +rqrcode_core is a library for encoding QR Codes in pure Ruby. It has a +simple interface with all the standard qrcode options. It was originally +adapted in 2008 from a Javascript library by Kazuhiko Arase. + +Features: +* rqrcode_core is a Ruby only library. It requires no 3rd party + libraries. Just Ruby! +* It is an encoding library. You can't decode QR Codes with it. +* The interface is simple and assumes you just want to encode a string + into a QR Code, but also allows for encoding multiple segments. +* QR Code is trademarked by Denso Wave inc. + +rqrcode_core is the basis of the popular rqrcode gem. This gem allows +you to generate different renderings of your QR Code, including png, svg +and ansi.