From 9294003e7971bdc2919fb183665dccfaf3769b6c Mon Sep 17 00:00:00 2001 From: bernd Date: Sat, 19 Apr 2008 18:34:08 +0000 Subject: [PATCH] Initial import of ruby-rubyinline-3.6.7. 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 allows you to package up your inlined object code for distribution to systems without a compiler. --- devel/ruby-rubyinline/Makefile | 33 ++++++++ devel/ruby-rubyinline/distinfo | 5 ++ devel/ruby-rubyinline/pkg/DESCR | 8 ++ devel/ruby-rubyinline/pkg/PLIST | 140 ++++++++++++++++++++++++++++++++ 4 files changed, 186 insertions(+) create mode 100644 devel/ruby-rubyinline/Makefile create mode 100644 devel/ruby-rubyinline/distinfo create mode 100644 devel/ruby-rubyinline/pkg/DESCR create mode 100644 devel/ruby-rubyinline/pkg/PLIST diff --git a/devel/ruby-rubyinline/Makefile b/devel/ruby-rubyinline/Makefile new file mode 100644 index 00000000000..37018457933 --- /dev/null +++ b/devel/ruby-rubyinline/Makefile @@ -0,0 +1,33 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/04/19 18:34:08 bernd Exp $ + +COMMENT= embed C/++ external module code in your Ruby script + +DISTNAME= RubyInline-3.6.7 +PKGNAME= ruby-${DISTNAME:L} +CATEGORIES= devel + +HOMEPAGE= http://www.zenspider.com/ZSS/Products/RubyInline/ + +# MIT +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=rubyinline/} + +MODULES= lang/ruby + +GEM_SKIPDEPENDS= hoe + +CONFIGURE_STYLE= ruby gem + +REGRESS_DEPENDS= :${PKGNAME}:${BASE_PKGPATH} \ + ::devel/ruby-rake + +PKG_ARCH= * + +do-regress: + @cd ${WRKBUILD} && ${RUBY} -I${WRKBUILD}/lib test/test_inline.rb + +.include diff --git a/devel/ruby-rubyinline/distinfo b/devel/ruby-rubyinline/distinfo new file mode 100644 index 00000000000..5030e8f69c7 --- /dev/null +++ b/devel/ruby-rubyinline/distinfo @@ -0,0 +1,5 @@ +MD5 (RubyInline-3.6.7.gem) = L5HJYvX3ZVClswP2US3apA== +RMD160 (RubyInline-3.6.7.gem) = opMOHfePKb/NNLSSOOmxJ+nlvAk= +SHA1 (RubyInline-3.6.7.gem) = cfe8OY01c0hEiypeJxc917c4Fns= +SHA256 (RubyInline-3.6.7.gem) = UmWEjEf2Hk8YWw2I6LfEv1mmEs1DE7VglVye0yDHqrY= +SIZE (RubyInline-3.6.7.gem) = 23552 diff --git a/devel/ruby-rubyinline/pkg/DESCR b/devel/ruby-rubyinline/pkg/DESCR new file mode 100644 index 00000000000..2f2016cf54d --- /dev/null +++ b/devel/ruby-rubyinline/pkg/DESCR @@ -0,0 +1,8 @@ +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 allows you to package up your +inlined object code for distribution to systems without a compiler. diff --git a/devel/ruby-rubyinline/pkg/PLIST b/devel/ruby-rubyinline/pkg/PLIST new file mode 100644 index 00000000000..3e75fbea72c --- /dev/null +++ b/devel/ruby-rubyinline/pkg/PLIST @@ -0,0 +1,140 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/19 18:34:08 bernd Exp $ +bin/inline_package +lib/ruby/gems/${MODRUBY_REV}/cache/${DISTNAME}.gem +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/CompilationError.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Dir.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Dir.src/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Dir.src/M000001.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/File.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/File.src/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/File.src/M000003.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline.src/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline.src/M000004.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline.src/M000005.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000006.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000007.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000008.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000009.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000010.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000011.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000012.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000013.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000014.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000015.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000016.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000017.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000018.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000019.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000020.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000021.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000022.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000023.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000024.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000025.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000026.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000027.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000028.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000029.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/C.src/M000030.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.src/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.src/M000031.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.src/M000032.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.src/M000033.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.src/M000034.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.src/M000035.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Inline/Packager.src/M000036.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Module.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Module.src/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/classes/Module.src/M000002.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/created.rid +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/History_txt.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/Manifest_txt.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/README_txt.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/lib/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/files/lib/inline_rb.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/fr_class_index.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/fr_file_index.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/fr_method_index.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/index.html +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/rdoc/rdoc-style.css +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/CompilationError/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/CompilationError/cdesc-CompilationError.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Dir/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Dir/assert_secure-c.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Dir/cdesc-Dir.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/File/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/File/cdesc-File.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/File/write_with_backup-c.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/add_compile_flags-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/add_link_flags-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/add_to_init-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/add_type_converter-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/build-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/c-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/c2ruby-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/c_raw-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/c_raw_singleton-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/c_singleton-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/cdesc-C.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/crap_for_windoze-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/generate-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/include-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/include_ruby_last-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/load-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/load_cache-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/map_c_const-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/map_ruby_const-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/module_name-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/new-c.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/parse_signature-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/prefix-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/ruby2c-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/so_name-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/C/strip_comments-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/build_gem-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/cdesc-Packager.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/copy_libs-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/gem_libs-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/generate_rakefile-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/new-c.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/Packager/package-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/cdesc-Inline.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/directory-c.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Inline/rootdir-c.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Module/ +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Module/cdesc-Module.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/Module/inline-i.yaml +lib/ruby/gems/${MODRUBY_REV}/doc/${DISTNAME}/ri/created.rid +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/ +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/History.txt +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/Manifest.txt +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/README.txt +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/Rakefile +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/bin/ +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/bin/inline_package +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/demo/ +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/demo/fastmath.rb +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/demo/hello.rb +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/example.rb +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/example2.rb +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/ +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/lib/inline.rb +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/ +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/test/test_inline.rb +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/tutorial/ +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/tutorial/example1.rb +lib/ruby/gems/${MODRUBY_REV}/gems/${DISTNAME}/tutorial/example2.rb +lib/ruby/gems/${MODRUBY_REV}/specifications/${DISTNAME}.gemspec