diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-07 06:09:19 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-07 06:09:19 +0000 |
commit | cba1dd73198be0721c05d6097d87a3879a63848e (patch) | |
tree | 6fc5835ecbd36939d8b23ccb55cdb120a17323a6 /lang/ruby-python | |
parent | Update to version 2.4 (diff) |
Add Ruby related ports.
devel/ruby-property:
Simple properties scheme for Ruby
lang/ruby-python:
Ruby extension library for embedding Python in Ruby
math/ruby-bigfloat:
Variable precision floating library for Ruby
Whipped on by: ade :>
Notes
Notes:
svn path=/head/; revision=31356
Diffstat (limited to 'lang/ruby-python')
-rw-r--r-- | lang/ruby-python/Makefile | 44 | ||||
-rw-r--r-- | lang/ruby-python/distinfo | 1 | ||||
-rw-r--r-- | lang/ruby-python/files/patch-aa | 11 | ||||
-rw-r--r-- | lang/ruby-python/pkg-comment | 1 | ||||
-rw-r--r-- | lang/ruby-python/pkg-descr | 14 | ||||
-rw-r--r-- | lang/ruby-python/pkg-plist | 26 |
6 files changed, 97 insertions, 0 deletions
diff --git a/lang/ruby-python/Makefile b/lang/ruby-python/Makefile new file mode 100644 index 000000000000..c758e43634bf --- /dev/null +++ b/lang/ruby-python/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: Ruby/Python +# Date created: 7 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= python +PORTVERSION= 0.3.2 +CATEGORIES= lang # ruby +MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/ +PKGNAMEPREFIX= ruby- +DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby \ + python:${PORTSDIR}/lang/python +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \ + python:${PORTSDIR}/lang/python + +WRKSRC= ${WRKDIR}/${PORTNAME} +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY= ${LOCALBASE}/bin/ruby +RUBY_VER= 1.4 +RUBY_ARCH= ${ARCH}-freebsd${OSREL} + +do-configure: + @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb; \ + ${PERL} -i -pe 's/-lc\b/-lc_r/g' Makefile + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ruby/python/examples/Lib + ${MKDIR} ${PREFIX}/share/doc/ruby/python/ja + cd ${WRKSRC}; find examples -exec ${INSTALL_DATA} {} ${PREFIX}/share/doc/ruby/python/{} \; + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \ + ${PREFIX}/share/doc/ruby/python/ + ${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \ + ${PREFIX}/share/doc/ruby/python/ja/ +.endif + +.include <bsd.port.mk> diff --git a/lang/ruby-python/distinfo b/lang/ruby-python/distinfo new file mode 100644 index 000000000000..40d35363df37 --- /dev/null +++ b/lang/ruby-python/distinfo @@ -0,0 +1 @@ +MD5 (ruby-python-0.3.2.tar.gz) = 52a19aba436d5197ff5d39f03a5a5246 diff --git a/lang/ruby-python/files/patch-aa b/lang/ruby-python/files/patch-aa new file mode 100644 index 000000000000..f1d7e93eff57 --- /dev/null +++ b/lang/ruby-python/files/patch-aa @@ -0,0 +1,11 @@ +--- extconf.rb.orig Sun Nov 7 15:38:30 1999 ++++ extconf.rb Mon Aug 7 12:34:46 2000 +@@ -29,7 +30,7 @@ + exit(1) unless File.exists? py_makefile + + $CFLAGS = "-I#{py_includedir}" +-$LDFLAGS = "-L#{py_configdir}" ++$LDFLAGS = "-L#{py_configdir} -pthread" + + # If python is linked with extra libraries (e.g. -lpthread on Linux, + # -lsocket on Solaris, etc.), have_library test will fail and built diff --git a/lang/ruby-python/pkg-comment b/lang/ruby-python/pkg-comment new file mode 100644 index 000000000000..afbf51886c4e --- /dev/null +++ b/lang/ruby-python/pkg-comment @@ -0,0 +1 @@ +Ruby extension library for embedding Python in Ruby diff --git a/lang/ruby-python/pkg-descr b/lang/ruby-python/pkg-descr new file mode 100644 index 000000000000..52f1faa2570c --- /dev/null +++ b/lang/ruby-python/pkg-descr @@ -0,0 +1,14 @@ +Ruby extension library for embedding Python in Ruby. With this +library, Ruby scripts can directly call arbitrary Python modules. +Both extension modules and modules written in Python can be used. + +Ruby and Python have some differences as described here. This library +enables Ruby users to have the advantages of both languages: + + - Straightforward and easy-to-learn OO functionality of Ruby. + - Plenty of modules written for Python. + +If you are attracted by Python modules but not fully satisfied with +Python's syntax or type system, try this library! + +WWW: http://www.goto.info.waseda.ac.jp/~fukusima/ruby/python-e.html diff --git a/lang/ruby-python/pkg-plist b/lang/ruby-python/pkg-plist new file mode 100644 index 000000000000..90d7811eb5f7 --- /dev/null +++ b/lang/ruby-python/pkg-plist @@ -0,0 +1,26 @@ +lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/python.so +share/doc/ruby/python/examples/Lib/BaseHTTPServer.rb +share/doc/ruby/python/examples/Lib/README +share/doc/ruby/python/examples/Lib/base64.rb +share/doc/ruby/python/examples/Lib/rfc822.rb +share/doc/ruby/python/examples/Lib/urllib.rb +share/doc/ruby/python/examples/hello.rb +share/doc/ruby/python/examples/html.py +share/doc/ruby/python/examples/html.rb +share/doc/ruby/python/ja/README.ja +share/doc/ruby/python/ja/Mapping.html +share/doc/ruby/python/ja/Object.html +share/doc/ruby/python/ja/Py.html +share/doc/ruby/python/ja/Sequence.html +share/doc/ruby/python/ja/index.html +share/doc/ruby/python/ChangeLog +share/doc/ruby/python/README +share/doc/ruby/python/Mapping.html +share/doc/ruby/python/Object.html +share/doc/ruby/python/Py.html +share/doc/ruby/python/Sequence.html +share/doc/ruby/python/index.html +@dirrm share/doc/ruby/python/examples/Lib +@dirrm share/doc/ruby/python/examples +@dirrm share/doc/ruby/python/ja +@dirrm share/doc/ruby/python |