git: 207d8e6e05fc - main - devel/rubygem-fcntl: Add rubygem-fcntl 1.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 19:41:09 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=207d8e6e05fcb756b58de6a44fc8af2f3c172d69
commit 207d8e6e05fcb756b58de6a44fc8af2f3c172d69
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-12-21 18:38:50 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-12-21 18:38:50 +0000
devel/rubygem-fcntl: Add rubygem-fcntl 1.0.1
Fcntl loads the constants defined in the system's <fcntl.h> C header file, and
used with both the fcntl(2) and open(2) POSIX system calls.
- To perform a fcntl(2) operation, use IO::fcntl.
- To perform an open(2) operation, use IO::sysopen.
The set of operations and constants available depends upon specific operating
system. Some values listed below may not be supported on your system.
WWW: https://github.com/ruby/fcntl
---
devel/Makefile | 1 +
devel/rubygem-fcntl/Makefile | 19 +++++++++++++++++++
devel/rubygem-fcntl/distinfo | 3 +++
devel/rubygem-fcntl/pkg-descr | 9 +++++++++
4 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index b3fdd535bdb1..4b793243a640 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6303,6 +6303,7 @@
SUBDIR += rubygem-fastercsv
SUBDIR += rubygem-fastri
SUBDIR += rubygem-fattr
+ SUBDIR += rubygem-fcntl
SUBDIR += rubygem-ffi
SUBDIR += rubygem-ffi-compiler
SUBDIR += rubygem-ffi-libarchive
diff --git a/devel/rubygem-fcntl/Makefile b/devel/rubygem-fcntl/Makefile
new file mode 100644
index 000000000000..45c60d8ef62e
--- /dev/null
+++ b/devel/rubygem-fcntl/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= fcntl
+PORTVERSION= 1.0.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Load constants defined in the OS fcntl.h C header file
+
+LICENSE= BSD2CLAUSE RUBY
+LICENSE_COMB= dual
+
+USES= gem
+USE_RUBY= yes
+
+#NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-fcntl/distinfo b/devel/rubygem-fcntl/distinfo
new file mode 100644
index 000000000000..d1a573621339
--- /dev/null
+++ b/devel/rubygem-fcntl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1638556446
+SHA256 (rubygem/fcntl-1.0.1.gem) = 8f786b7204e68eafd7ed1154b85f62850783427ad34f5f0a6b0f0b71b5605562
+SIZE (rubygem/fcntl-1.0.1.gem) = 5632
diff --git a/devel/rubygem-fcntl/pkg-descr b/devel/rubygem-fcntl/pkg-descr
new file mode 100644
index 000000000000..3beb5506c665
--- /dev/null
+++ b/devel/rubygem-fcntl/pkg-descr
@@ -0,0 +1,9 @@
+Fcntl loads the constants defined in the system's <fcntl.h> C header file, and
+used with both the fcntl(2) and open(2) POSIX system calls.
+- To perform a fcntl(2) operation, use IO::fcntl.
+- To perform an open(2) operation, use IO::sysopen.
+
+The set of operations and constants available depends upon specific operating
+system. Some values listed below may not be supported on your system.
+
+WWW: https://github.com/ruby/fcntl