Add Perl's Inline::C counterpart for Ruby, named oddly enough: Inline::C

This commit is contained in:
Sean Chittenden
2003-01-31 05:57:06 +00:00
parent f78bea0816
commit 94c388aebb
11 changed files with 113 additions and 0 deletions

View File

@@ -758,6 +758,7 @@
SUBDIR += ruby-gettext
SUBDIR += ruby-glib2
SUBDIR += ruby-gnustep
SUBDIR += ruby-inline
SUBDIR += ruby-intl
SUBDIR += ruby-libglade
SUBDIR += ruby-libglade2

View File

@@ -0,0 +1,36 @@
# New ports collection makefile for: ruby-inline
# Date created: 2003-01-30
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= inline
PORTVERSION= 2.2.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ruby${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= RubyInline-${PORTVERSION}
DIST_SUBDIR= devel ruby
MAINTAINER= seanc@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
DOCS= README.txt
EXAMPLES= example.rb tutorial/example1.rb tutorial/example2.rb
post-install:
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}
.endfor
.include <bsd.port.mk>

View File

@@ -0,0 +1 @@
MD5 (ruby/RubyInline-2.2.0.tar.gz) = f2c8184b7c0511723bfb94c8fe42ceb2

View File

@@ -0,0 +1 @@
Inline::C allows you to embed C/Ruby directly in ruby scripts

View File

@@ -0,0 +1,11 @@
Inline::C allows for quick and use of inlined C code in Ruby scripts.
This library automatically:
* provides rudimentary automatic conversion between Ruby and C basic
types: (unsigned)? (char|int|long|char *)
* provides compilation of inline code
* only recompiles if the C code has changed
* can easily provide speedups in excess of 25x for tight loops when
objects are being recycled too quickly.
WWW: http://sourceforge.net/projects/rubyinline

View File

@@ -0,0 +1,7 @@
%%RUBY_SITELIBDIR%%/inline.rb
%%RUBY_MODDOCDIR%%/README.txt
@dirrm %%RUBY_MODDOCDIR%%
%%RUBY_MODEXAMPLESDIR%%/example.rb
%%RUBY_MODEXAMPLESDIR%%/example1.rb
%%RUBY_MODEXAMPLESDIR%%/example2.rb
@dirrm %%RUBY_MODEXAMPLESDIR%%

View File

@@ -0,0 +1,36 @@
# New ports collection makefile for: ruby-inline
# Date created: 2003-01-30
# Whom: Sean Chittenden <seanc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= inline
PORTVERSION= 2.2.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ruby${PORTNAME}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= RubyInline-${PORTVERSION}
DIST_SUBDIR= devel ruby
MAINTAINER= seanc@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
DOCS= README.txt
EXAMPLES= example.rb tutorial/example1.rb tutorial/example2.rb
post-install:
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}
.endfor
.include <bsd.port.mk>

View File

@@ -0,0 +1 @@
MD5 (ruby/RubyInline-2.2.0.tar.gz) = f2c8184b7c0511723bfb94c8fe42ceb2

View File

@@ -0,0 +1 @@
Inline::C allows you to embed C/Ruby directly in ruby scripts

View File

@@ -0,0 +1,11 @@
Inline::C allows for quick and use of inlined C code in Ruby scripts.
This library automatically:
* provides rudimentary automatic conversion between Ruby and C basic
types: (unsigned)? (char|int|long|char *)
* provides compilation of inline code
* only recompiles if the C code has changed
* can easily provide speedups in excess of 25x for tight loops when
objects are being recycled too quickly.
WWW: http://sourceforge.net/projects/rubyinline

View File

@@ -0,0 +1,7 @@
%%RUBY_SITELIBDIR%%/inline.rb
%%RUBY_MODDOCDIR%%/README.txt
@dirrm %%RUBY_MODDOCDIR%%
%%RUBY_MODEXAMPLESDIR%%/example.rb
%%RUBY_MODEXAMPLESDIR%%/example1.rb
%%RUBY_MODEXAMPLESDIR%%/example2.rb
@dirrm %%RUBY_MODEXAMPLESDIR%%