ports/102856: [PATCH] devel/rubygem-inline: update to 3.5.0
Ying-Chieh Liao
ijliao at csie.nctu.edu.tw
Mon Sep 4 16:50:19 UTC 2006
>Number: 102856
>Category: ports
>Synopsis: [PATCH] devel/rubygem-inline: update to 3.5.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 04 16:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Ying-Chieh Liao
>Release: FreeBSD 6.1-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.nctu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #9: Thu May 11 14:31:45 CST 2006
>Description:
- Update to 3.5.0
plz wait for pr/102855
btw, maybe you'd like to repo-copy ruby-inline to rubygem-inline first ?
Port maintainer (seanc at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- rubygem-inline-3.5.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/ruby-inline/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile 7 Mar 2003 06:01:10 -0000 1.4
+++ Makefile 4 Sep 2006 16:38:07 -0000
@@ -6,32 +6,16 @@
#
PORTNAME= inline
-PORTVERSION= 2.2.0
-CATEGORIES= devel ruby
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTVERSION= 3.5.0
+CATEGORIES= devel rubygems
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= ruby${PORTNAME}
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= RubyInline-${PORTVERSION}
-DIST_SUBDIR= ruby
+GEM_NAME= ${DISTNAME}
MAINTAINER= seanc at FreeBSD.org
COMMENT= Inline::C allows you to embed C/Ruby directly in ruby scripts
-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>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/ruby-inline/distinfo,v
retrieving revision 1.3
diff -u -u -r1.3 distinfo
--- distinfo 22 Jan 2006 08:29:59 -0000 1.3
+++ distinfo 4 Sep 2006 16:38:07 -0000
@@ -1,3 +1,3 @@
-MD5 (ruby/RubyInline-2.2.0.tar.gz) = f2c8184b7c0511723bfb94c8fe42ceb2
-SHA256 (ruby/RubyInline-2.2.0.tar.gz) = ff39fb0680eb43685af101aebc25002d05e561b58213701f4c5463c61985b175
-SIZE (ruby/RubyInline-2.2.0.tar.gz) = 9525
+MD5 (rubygem/RubyInline-3.5.0.gem) = 18858cdedb688e8f0a5813d24a44b424
+SHA256 (rubygem/RubyInline-3.5.0.gem) = aec87c423fcdbd55ae74448fd6d301969aa5c5e1a9041196bbafc5a12d1a7401
+SIZE (rubygem/RubyInline-3.5.0.gem) = 21504
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/devel/ruby-inline/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr 31 Jan 2003 05:57:06 -0000 1.1
+++ pkg-descr 4 Sep 2006 16:38:07 -0000
@@ -1,11 +1,24 @@
-Inline::C allows for quick and use of inlined C code in Ruby scripts.
-This library automatically:
+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.
-* 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.
+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)!
-WWW: http://sourceforge.net/projects/rubyinline
+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.
+
+WWW: http://rubyforge.org/projects/rubyinline/
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/ruby-inline/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist 31 Jan 2003 05:57:06 -0000 1.1
+++ pkg-plist 4 Sep 2006 16:38:07 -0000
@@ -1,7 +1,20 @@
-%%RUBY_SITELIBDIR%%/inline.rb
-%%RUBY_MODDOCDIR%%/README.txt
- at dirrm %%RUBY_MODDOCDIR%%
-%%RUBY_MODEXAMPLESDIR%%/example.rb
-%%RUBY_MODEXAMPLESDIR%%/example1.rb
-%%RUBY_MODEXAMPLESDIR%%/example2.rb
- at dirrm %%RUBY_MODEXAMPLESDIR%%
+bin/inline_package
+%%GEM_CACHE%%
+%%GEM_SPEC%%
+%%GEM_LIB_DIR%%/History.txt
+%%GEM_LIB_DIR%%/Makefile
+%%GEM_LIB_DIR%%/Manifest.txt
+%%GEM_LIB_DIR%%/README.txt
+%%GEM_LIB_DIR%%/demo/fastmath.rb
+%%GEM_LIB_DIR%%/demo/hello.rb
+%%GEM_LIB_DIR%%/example.rb
+%%GEM_LIB_DIR%%/example2.rb
+%%GEM_LIB_DIR%%/inline.gemspec
+%%GEM_LIB_DIR%%/inline.rb
+%%GEM_LIB_DIR%%/inline_package
+%%GEM_LIB_DIR%%/test_inline.rb
+%%GEM_LIB_DIR%%/tutorial/example1.rb
+%%GEM_LIB_DIR%%/tutorial/example2.rb
+ at dirrm %%GEM_LIB_DIR%%/tutorial
+ at dirrm %%GEM_LIB_DIR%%/demo
+ at dirrm %%GEM_LIB_DIR%%
--- rubygem-inline-3.5.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list