diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-03 14:32:22 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-12-03 14:32:22 +0000 |
commit | 58f61ed4d4c7f412a2e0a473ee657f45a44e2b29 (patch) | |
tree | d4fb307f254f54d3786adde90c4d4e9d76293067 | |
parent | 1e69ff98b37456d1b7e948f78fd081f22cd4f0a8 (diff) | |
download | ports-58f61ed4d4c7f412a2e0a473ee657f45a44e2b29.tar.gz ports-58f61ed4d4c7f412a2e0a473ee657f45a44e2b29.zip |
Notes
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/ruby-inline/Makefile | 44 | ||||
-rw-r--r-- | devel/ruby-inline/distinfo | 3 | ||||
-rw-r--r-- | devel/ruby-inline/pkg-descr | 11 | ||||
-rw-r--r-- | devel/ruby-inline/pkg-plist | 16 |
6 files changed, 75 insertions, 1 deletions
@@ -2549,4 +2549,3 @@ mail/dbmail-devel|mail/dbmail21|2006-11-23|Renamed net/ripetools|net/ripe-whois|2006-11-24|Has expired: project no longer exists devel/sge||2006-11-26|Removed mail/pantomime-ssl|mail/pantomime|2006-12-01|Removed -devel/ruby-inline|devel/rubygem-inline|2006-12-03|Switched to rubygem distribution diff --git a/devel/Makefile b/devel/Makefile index f9d5586dd4b0..aa9da9de905c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1832,6 +1832,7 @@ SUBDIR += ruby-glib2 SUBDIR += ruby-gnomevfs SUBDIR += ruby-gnustep + SUBDIR += ruby-inline SUBDIR += ruby-intl SUBDIR += ruby-io-reactor SUBDIR += ruby-jttui diff --git a/devel/ruby-inline/Makefile b/devel/ruby-inline/Makefile new file mode 100644 index 000000000000..f479556fdcd6 --- /dev/null +++ b/devel/ruby-inline/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: ruby-inline +# Date created: 2003-01-30 +# Whom: Sean Chittenden <seanc@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= inline +PORTVERSION= 3.5.0 +CATEGORIES= devel ruby +MASTER_SITES= ${MASTER_SITE_RUBYFORGE} +MASTER_SITE_SUBDIR= ruby${PORTNAME} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= RubyInline-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= seanc@FreeBSD.org +COMMENT= Inline::C allows you to embed C/Ruby directly in ruby scripts + +USE_RUBY= yes +USE_GMAKE= yes +RUBY_SHEBANG_FILES=${WRKSRC}/inline_package + +NO_BUILD= yes + +DOCS= README.txt History.txt +EXAMPLES= example.rb tutorial/example1.rb tutorial/example2.rb demo/* + +post-patch: + ${REINPLACE_CMD} -E \ + -e 's,install[ \t]+-m[ \t]+0555,\$${BSD_INSTALL_SCRIPT},' \ + -e 's,install[ \t]+-m[ \t]+0444,\$${BSD_INSTALL_DATA},' \ + ${WRKSRC}/Makefile + +pre-install: + ${MKDIR} ${RUBY_SITELIBDIR} + +post-install: + ${MKDIR} ${RUBY_MODDOCDIR} + ${MKDIR} ${RUBY_MODEXAMPLESDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR} + ${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${RUBY_MODEXAMPLESDIR} + +.include <bsd.port.mk> diff --git a/devel/ruby-inline/distinfo b/devel/ruby-inline/distinfo new file mode 100644 index 000000000000..bedbac0b1367 --- /dev/null +++ b/devel/ruby-inline/distinfo @@ -0,0 +1,3 @@ +MD5 (ruby/RubyInline-3.5.0.tar.gz) = 257695e4a9f95ac32f1e7f1600aebc05 +SHA256 (ruby/RubyInline-3.5.0.tar.gz) = da778a6616b19cba716e2f4058b4db1ae171b19e00078c9343967d5027492b80 +SIZE (ruby/RubyInline-3.5.0.tar.gz) = 18525 diff --git a/devel/ruby-inline/pkg-descr b/devel/ruby-inline/pkg-descr new file mode 100644 index 000000000000..78257e6966b6 --- /dev/null +++ b/devel/ruby-inline/pkg-descr @@ -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 diff --git a/devel/ruby-inline/pkg-plist b/devel/ruby-inline/pkg-plist new file mode 100644 index 000000000000..d3544f14c0ff --- /dev/null +++ b/devel/ruby-inline/pkg-plist @@ -0,0 +1,16 @@ +bin/inline_package +%%RUBY_SITELIBDIR%%/inline.rb +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/History.txt +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.txt +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example1.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/example2.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/fastmath.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/hello.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%% +@dirrmtry %%RUBY_SITELIBDIR%% +@dirrmtry lib/ruby/site_ruby +@dirrmtry lib/ruby |