Add Perl's Inline::C counterpart for Ruby, named oddly enough: Inline::C
This commit is contained in:
@@ -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
|
||||
|
||||
36
devel/ruby-inline/Makefile
Normal file
36
devel/ruby-inline/Makefile
Normal 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>
|
||||
1
devel/ruby-inline/distinfo
Normal file
1
devel/ruby-inline/distinfo
Normal file
@@ -0,0 +1 @@
|
||||
MD5 (ruby/RubyInline-2.2.0.tar.gz) = f2c8184b7c0511723bfb94c8fe42ceb2
|
||||
1
devel/ruby-inline/pkg-comment
Normal file
1
devel/ruby-inline/pkg-comment
Normal file
@@ -0,0 +1 @@
|
||||
Inline::C allows you to embed C/Ruby directly in ruby scripts
|
||||
11
devel/ruby-inline/pkg-descr
Normal file
11
devel/ruby-inline/pkg-descr
Normal 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
|
||||
7
devel/ruby-inline/pkg-plist
Normal file
7
devel/ruby-inline/pkg-plist
Normal 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%%
|
||||
36
devel/rubygem-inline/Makefile
Normal file
36
devel/rubygem-inline/Makefile
Normal 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>
|
||||
1
devel/rubygem-inline/distinfo
Normal file
1
devel/rubygem-inline/distinfo
Normal file
@@ -0,0 +1 @@
|
||||
MD5 (ruby/RubyInline-2.2.0.tar.gz) = f2c8184b7c0511723bfb94c8fe42ceb2
|
||||
1
devel/rubygem-inline/pkg-comment
Normal file
1
devel/rubygem-inline/pkg-comment
Normal file
@@ -0,0 +1 @@
|
||||
Inline::C allows you to embed C/Ruby directly in ruby scripts
|
||||
11
devel/rubygem-inline/pkg-descr
Normal file
11
devel/rubygem-inline/pkg-descr
Normal 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
|
||||
7
devel/rubygem-inline/pkg-plist
Normal file
7
devel/rubygem-inline/pkg-plist
Normal 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%%
|
||||
Reference in New Issue
Block a user