git: d21fa17c080d - main - devel/rubygem-rufo: Add rubygem-rufo 0.18.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Feb 2025 11:57:48 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d21fa17c080dd24f67ee48965e9d6c43b9e45d2c
commit d21fa17c080dd24f67ee48965e9d6c43b9e45d2c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-19 11:53:00 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-19 11:53:00 +0000
devel/rubygem-rufo: Add rubygem-rufo 0.18.0
Rufo is as an opinionated ruby formatter, intended to be used via the command
line as a text-editor plugin, to autoformat files on save or on demand.
Unlike the best known Ruby formatter RuboCop, Rufo offers little in the way of
configuration. Like other language formatters such as gofmt, prettier, and
autopep8, we strive to find a "one true format" for Ruby code, and make sure
your code adheres to it, with zero config where possible.
RuboCop does much more than just format code though, so feel free to run them
both!
---
devel/Makefile | 1 +
devel/rubygem-rufo/Makefile | 19 +++++++++++++++++++
devel/rubygem-rufo/distinfo | 3 +++
devel/rubygem-rufo/pkg-descr | 10 ++++++++++
4 files changed, 33 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index a79b5c800a0d..29744d74a5ee 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7823,6 +7823,7 @@
SUBDIR += rubygem-rubyinline
SUBDIR += rubygem-rubyinlineaccel
SUBDIR += rubygem-rubytree
+ SUBDIR += rubygem-rufo
SUBDIR += rubygem-rufus-scheduler
SUBDIR += rubygem-rugged
SUBDIR += rubygem-runt
diff --git a/devel/rubygem-rufo/Makefile b/devel/rubygem-rufo/Makefile
new file mode 100644
index 000000000000..774835f0a37b
--- /dev/null
+++ b/devel/rubygem-rufo/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= rufo
+PORTVERSION= 0.18.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Fast and unobtrusive Ruby code formatter
+WWW= https://github.com/ruby-formatter/rufo
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= gem
+
+NO_ARCH= yes
+
+PLIST_FILES= bin/rufo
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-rufo/distinfo b/devel/rubygem-rufo/distinfo
new file mode 100644
index 000000000000..c85b22dfa0e6
--- /dev/null
+++ b/devel/rubygem-rufo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739930130
+SHA256 (rubygem/rufo-0.18.0.gem) = ada50a19e8961c93e5ef384fd5a6c15327512d0c5ba9a6bbb28204f8df31acf6
+SIZE (rubygem/rufo-0.18.0.gem) = 45056
diff --git a/devel/rubygem-rufo/pkg-descr b/devel/rubygem-rufo/pkg-descr
new file mode 100644
index 000000000000..53e34c89b49d
--- /dev/null
+++ b/devel/rubygem-rufo/pkg-descr
@@ -0,0 +1,10 @@
+Rufo is as an opinionated ruby formatter, intended to be used via the command
+line as a text-editor plugin, to autoformat files on save or on demand.
+
+Unlike the best known Ruby formatter RuboCop, Rufo offers little in the way of
+configuration. Like other language formatters such as gofmt, prettier, and
+autopep8, we strive to find a "one true format" for Ruby code, and make sure
+your code adheres to it, with zero config where possible.
+
+RuboCop does much more than just format code though, so feel free to run them
+both!