BSD Ports

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

SystemPortVersion
FreeBSDdevel/rubygem-rubyinline3.14.4
DragonFlydevel/rubygem-rubyinline3.14.2
MidnightBSDdevel/rubygem-rubyinline3.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.14.43.14.43.12.63.14.23.14.4
FreeBSD:14:quarterly3.14.43.14.4n/a3.14.23.14.4
FreeBSD:15:latest3.14.43.14.4n/a3.14.23.14.2
FreeBSD:15:quarterly3.14.43.14.4n/an/an/a
FreeBSD:16:latest3.14.43.14.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

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
FileSizeSHA256
rubygem/RubyInline-3.14.4.gem3225675aec9bb7626a56a6c443922d1d299e1f062795f1d7b7195b0b863ca3776d9ab
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.