devel/rubygem-rubyinline 3.14.4 FreeBSD
Inline::C allows you to embed C/Ruby directly in ruby scripts
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 25.4 KiB, 79.5 KiB installed
Description
Ruby Inline is an analog to Perl's Inline::C. Out of the box, it allows you to embed C/++ external module code in your ruby script directly. By writing simple builder classes, you can teach how to cope with new languages (fortran, perl, whatever). The code is compiled and run on the fly when needed.
Using the package_inline tool Inline now allows you to package up your inlined object code for distribution to systems without a compiler (read: Windows)!
FEATURES/PROBLEMS: * Quick and easy inlining of your C or C++ code embedded in your ruby script. * Extendable to work with other languages. * Automatic conversion between ruby and C basic types o char, unsigned, unsigned int, char *, int, long, unsigned long * inline_c_raw exists for when the automatic conversion isn't sufficient. * Only recompiles if the inlined code has changed. * Pretends to be secure. * Only requires standard ruby libraries, nothing extra to download. * Can generate a basic Rakefile and package up built extensions for distribution.
See also: https://github.com/seattlerb/rubyinline
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-rubyinline | 3.14.4 |
| DragonFly | devel/rubygem-rubyinline | 3.14.2 |
| MidnightBSD | devel/rubygem-rubyinline | 3.14.2 |
Install
Binary package:
pkg install rubygem-rubyinline
From the ports tree:
cd /usr/ports/devel/rubygem-rubyinline/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-rubyinline>0:devel/rubygem-rubyinline
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.14.4 | 3.14.4 | 3.12.6 | 3.14.2 | 3.14.4 |
| FreeBSD:14:quarterly | 3.14.4 | 3.14.4 | n/a | 3.14.2 | 3.14.4 |
| FreeBSD:15:latest | 3.14.4 | 3.14.4 | n/a | 3.14.2 | 3.14.2 |
| FreeBSD:15:quarterly | 3.14.4 | 3.14.4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.14.4 | 3.14.4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
rubygem-zentest>=4.3: devel/rubygem-zentest
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 7
Configuration
No options to configure.
- USES
- gem shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/RubyInline-3.14.4.gem | 32256 | 75aec9bb7626a56a6c443922d1d299e1f062795f1d7b7195b0b863ca3776d9ab |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.