devel/rubygem-rubyinline 3.14.2 MidnightBSD
Inline::C allows you to embed C/Ruby directly in ruby scripts
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, rubygems
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 |
|---|---|---|
| MidnightBSD | devel/rubygem-rubyinline | 3.14.2 |
| FreeBSD | devel/rubygem-rubyinline | 3.14.4 |
| DragonFly | devel/rubygem-rubyinline | 3.14.2 |
Install
Binary package:
mport install rubyinline
From mports:
cd /usr/mports/devel/rubygem-rubyinline && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubyinline>0:devel/rubygem-rubyinline
Dependencies
As this port's Makefile names them.
Build 1
rubygem-zentest>=4.3: devel/rubygem-zentest
Runtime 1
rubygem-zentest>=4.3: devel/rubygem-zentest
Build dependencies 1
Run dependencies 1
Required by 2
Configuration
No options to configure.
- USES
- gem shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/RubyInline-3.14.2.gem | 31232 | 211cbec89f1961a4bc8d49f75540546c19942984b218d7d0c66575a82c54da10 |
Master sites 1
- RG