diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-12-21 18:38:50 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-12-21 18:38:50 +0000 |
commit | 207d8e6e05fcb756b58de6a44fc8af2f3c172d69 (patch) | |
tree | af9d4ac31cb63deedb015ec65d5f92f060732fdc | |
parent | ee55041c300db37f689fabfe3b118c0eb2241133 (diff) | |
download | ports-207d8e6e05fcb756b58de6a44fc8af2f3c172d69.tar.gz ports-207d8e6e05fcb756b58de6a44fc8af2f3c172d69.zip |
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
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-fcntl/Makefile | 19 | ||||
-rw-r--r-- | devel/rubygem-fcntl/distinfo | 3 | ||||
-rw-r--r-- | devel/rubygem-fcntl/pkg-descr | 9 |
4 files changed, 32 insertions, 0 deletions
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 |