aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 18:45:51 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-11-19 21:59:09 +0000
commit9b05c35325da44cd170880c790ee71441b5794ac (patch)
tree32b9808379c0ea50078993c7681cf19c6d655a3a
parentc9dd36b5f97600364480742eb51e5f8d80e4143b (diff)
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
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-rqrcode2/Makefile22
-rw-r--r--www/rubygem-rqrcode2/distinfo3
-rw-r--r--www/rubygem-rqrcode2/pkg-descr3
4 files changed, 29 insertions, 0 deletions
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.