diff options
author | knu <knu@FreeBSD.org> | 2000-08-07 14:09:19 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-07 14:09:19 +0800 |
commit | 21e0aafdec2b797115e389ed834185e0d8487df0 (patch) | |
tree | f036d217a2f4d96f94856b2f2301d44e2634ad62 /lang | |
parent | 864d97a9d80edf3860202b9b6ced170de074a024 (diff) | |
download | freebsd-ports-graphics-21e0aafdec2b797115e389ed834185e0d8487df0.tar.gz freebsd-ports-graphics-21e0aafdec2b797115e389ed834185e0d8487df0.tar.zst freebsd-ports-graphics-21e0aafdec2b797115e389ed834185e0d8487df0.zip |
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 :>
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-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 |
7 files changed, 98 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 2b5c77f57f0..9e10aaefca8 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -95,6 +95,7 @@ SUBDIR += python-doc-postscript-letter SUBDIR += rexx-imc SUBDIR += ruby + SUBDIR += ruby-python SUBDIR += scheme48 SUBDIR += schemetoc SUBDIR += scm diff --git a/lang/ruby-python/Makefile b/lang/ruby-python/Makefile new file mode 100644 index 00000000000..c758e43634b --- /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 00000000000..40d35363df3 --- /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 00000000000..f1d7e93eff5 --- /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 00000000000..afbf51886c4 --- /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 00000000000..52f1faa2570 --- /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 00000000000..90d7811eb5f --- /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 |