mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Retire Ruby 1.4. Use 1.6 instead, now the migration period is over.
Approved by: yasuf@bsdclub.org (MAINTAINER)
This commit is contained in:
parent
fbe7fb6566
commit
aed9cbe1ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41350
@ -1,31 +0,0 @@
|
||||
# New ports collection makefile for: ruby-gdbm
|
||||
# Date created: 24 Aug 2000
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gdbm
|
||||
PORTVERSION= ${RUBY_VERSION}
|
||||
CATEGORIES= databases ruby
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= ${RUBY_VER}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= gdbm.2:${PORTSDIR}/databases/gdbm
|
||||
|
||||
RUBY_VER= 1.4
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/gdbm
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1 +0,0 @@
|
||||
MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a
|
@ -1 +0,0 @@
|
||||
A Ruby extension to GDBM library
|
@ -1,2 +0,0 @@
|
||||
This is a Ruby extension to GDBM library, which is actually a part of
|
||||
the Ruby distribution.
|
@ -1,8 +0,0 @@
|
||||
************************************************************
|
||||
This package doesn't contain any manuals nor examples, but
|
||||
it wouldn't be a problem, as the interface of this module
|
||||
is exactly the same as DBM and SDBM, except GDBM has a
|
||||
"reorganize" method. See the DBM module's document included
|
||||
in the ruby-man package, and gdbm(3) manpage included in the
|
||||
gdbm package.
|
||||
************************************************************
|
@ -1 +0,0 @@
|
||||
%%RUBY_ARCHLIBDIR%%/gdbm.so
|
@ -1,18 +0,0 @@
|
||||
# New ports collection makefile for: ja-rubytk
|
||||
# Date created: 15 March 1999
|
||||
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
CATEGORIES= japanese
|
||||
|
||||
MAINTAINER= yasuf@bsdclub.org
|
||||
|
||||
TCL_VERSION?= 80
|
||||
TK_VERSION?= 80
|
||||
WITH_TCLTK_JP= yes
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../lang/ruby14-tcltklib
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,17 +0,0 @@
|
||||
# New ports collection makefile for: ja-rubytk
|
||||
# Date created: 15 March 1999
|
||||
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
CATEGORIES= japanese
|
||||
|
||||
MAINTAINER= yasuf@bsdclub.org
|
||||
|
||||
TK_VERSION?= 80
|
||||
WITH_TCLTK_JP= yes
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../../x11-toolkits/ruby14-tk
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,41 +0,0 @@
|
||||
# New ports collection makefile for: irb
|
||||
# Date created: 19 April 1999
|
||||
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= irb
|
||||
PORTVERSION= 0.6.1
|
||||
CATEGORIES= lang ruby
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= contrib
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
EXTRACT_SUFX= .tgz
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= yasuf@big.or.jp
|
||||
|
||||
RUBY_VER= 1.4
|
||||
|
||||
USE_RUBY= yes
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/irb.rb
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= yes
|
||||
|
||||
post-patch:
|
||||
${RM} -f ${WRKSRC}/instirb.rb
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/irb.rb ${PREFIX}/bin/irb${_RUBY_SUFFIX}
|
||||
${LN} -fs irb${_RUBY_SUFFIX} ${PREFIX}/bin/irb
|
||||
${MKDIR} ${RUBY_LIBDIR}/irb
|
||||
${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_LIBDIR}/irb
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_DOCDIR}/irb
|
||||
${INSTALL_DATA} ${WRKSRC}/README* ${RUBY_DOCDIR}/irb
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1 +0,0 @@
|
||||
MD5 (ruby/irb-0.6.1.tgz) = dae176750a0ec6d8b636da103de2d222
|
@ -1,11 +0,0 @@
|
||||
--- ruby-lex.rb.orig Wed Sep 15 13:52:06 1999
|
||||
+++ ruby-lex.rb Sun Aug 13 05:16:46 2000
|
||||
@@ -660,7 +660,7 @@
|
||||
@lex_state = EXPR_END
|
||||
|
||||
case ch = getc
|
||||
- when /[~_*$?!@/\\;,=:<>".]/ #"
|
||||
+ when /[~_*$?!@\/\\;,=:<>".]/ #"
|
||||
Token(TkGVAR, "$" + ch)
|
||||
when "-"
|
||||
Token(TkGVAR, "$-" + getc)
|
@ -1 +0,0 @@
|
||||
Interactive Ruby
|
@ -1,6 +0,0 @@
|
||||
Irb is an abbrevation of "interactive ruby."
|
||||
It's a tool to input and evaluate expressions of Ruby
|
||||
from standard input easily.
|
||||
|
||||
- Yasuhiro Fukuma
|
||||
yasuf@big.or.jp
|
@ -1,22 +0,0 @@
|
||||
bin/irb
|
||||
bin/irb%%_RUBY_SUFFIX%%
|
||||
%%RUBY_LIBDIR%%/irb/completion.rb
|
||||
%%RUBY_LIBDIR%%/irb/frame.rb
|
||||
%%RUBY_LIBDIR%%/irb/input-method.rb
|
||||
%%RUBY_LIBDIR%%/irb/irb.rb
|
||||
%%RUBY_LIBDIR%%/irb/loader.rb
|
||||
%%RUBY_LIBDIR%%/irb/main.rb
|
||||
%%RUBY_LIBDIR%%/irb/multi-irb.rb
|
||||
%%RUBY_LIBDIR%%/irb/rtags.rb
|
||||
%%RUBY_LIBDIR%%/irb/ruby-lex.rb
|
||||
%%RUBY_LIBDIR%%/irb/ruby-token.rb
|
||||
%%RUBY_LIBDIR%%/irb/slex.rb
|
||||
%%RUBY_LIBDIR%%/irb/version.rb
|
||||
%%RUBY_LIBDIR%%/irb/workspace-binding-2.rb
|
||||
%%RUBY_LIBDIR%%/irb/workspace-binding.rb
|
||||
%%RUBY_LIBDIR%%/irb/xmp.rb
|
||||
@dirrm %%RUBY_LIBDIR%%/irb
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/irb/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/irb/README-add
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/irb/README-install
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/irb
|
@ -1,72 +0,0 @@
|
||||
# New ports collection makefile for: ruby-tcltklib
|
||||
# Date created: 15 March 1999
|
||||
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tcltklib
|
||||
PORTVERSION= ${RUBY_VERSION}
|
||||
CATEGORIES+= lang x11-toolkits ruby tcl${TCL_VERSION} tk${TK_VERSION}
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= ${RUBY_VER}
|
||||
DISTNAME= ruby-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER?= yasuf@bsdclub.org
|
||||
|
||||
LIB_DEPENDS= ${TCL_LIB}.1:${PORTSDIR}/${TCL_CATEGORY}/tcl${TCL_VERSION} \
|
||||
${TK_LIB}.1:${PORTSDIR}/${TK_CATEGORY}/tk${TK_VERSION}
|
||||
|
||||
RUBY_VER= 1.4
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
USE_XLIB= yes
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/tcltklib
|
||||
CONFIGURE_ARGS= --with-tcllib="${TCL_LIB}" --with-tklib="${TK_LIB}" \
|
||||
--with-tcl-lib="${LOCALBASE}/lib/${TCL_DIR}" \
|
||||
--with-tk-lib="${LOCALBASE}/lib/${TK_DIR}" \
|
||||
--with-tcl-include="${LOCALBASE}/include/${TCL_DIR}" \
|
||||
--with-tk-include="${LOCALBASE}/include/${TK_DIR}" \
|
||||
--with-X11-dir="${X11BASE}"
|
||||
|
||||
# Set these vars as the version numbers (without decimal points) of Tcl/Tk
|
||||
# you want to use with Ruby/Tk.
|
||||
# e.g.: make TCL_VERSION=42 TK_VERSION=76 WITH_TCL_JP=yes build
|
||||
TCL_VERSION?= 82
|
||||
TK_VERSION?= 82
|
||||
.if defined(WITH_TCLTK_JP)
|
||||
TCL_CATEGORY= japanese
|
||||
TK_CATEGORY= japanese
|
||||
TCL_JP= jp
|
||||
.else
|
||||
TCL_CATEGORY= lang
|
||||
TK_CATEGORY= x11-toolkits
|
||||
TCL_JP= # empty
|
||||
.endif
|
||||
|
||||
TCL_LIB= tcl${TCL_VERSION}${TCL_JP}
|
||||
TK_LIB= tk${TK_VERSION}${TCL_JP}
|
||||
TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
|
||||
TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(PKGNAMEPREFIX)
|
||||
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
||||
.else
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tcltklib/
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/tcltklib/demo
|
||||
${INSTALL_DATA} ${WRKSRC}/demo/* ${RUBY_EXAMPLESDIR}/tcltklib/demo/
|
||||
${MKDIR} ${RUBY_DOCDIR}/tcltklib/ja
|
||||
${INSTALL_DATA} ${WRKSRC}/*.euc ${RUBY_DOCDIR}/tcltklib/ja/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1 +0,0 @@
|
||||
MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a
|
@ -1 +0,0 @@
|
||||
A Ruby interface to Tcl/Tk libraries
|
@ -1,5 +0,0 @@
|
||||
This is Ruby/TclTkLib, a Ruby interface to Tcl/Tk libraries.
|
||||
It's a part of the official Ruby distribution.
|
||||
|
||||
- Yasuhiro Fukuma
|
||||
yasuf@bsdclub.org
|
@ -1,16 +0,0 @@
|
||||
%%RUBY_ARCHLIBDIR%%/tcltklib.so
|
||||
%%RUBY_LIBDIR%%/tcltk.rb
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/tcltklib/ja/MANUAL.euc
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/tcltklib/ja/README.euc
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/tcltklib/ja
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/tcltklib
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/batsu.gif
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/maru.gif
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/sample0.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/sample1.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/sample2.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines0.tcl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines1.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tcltklib/demo/lines2.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/tcltklib/demo
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/tcltklib
|
@ -1,90 +0,0 @@
|
||||
# New ports collection makefile for: ruby
|
||||
# Date created: 04 September 1997
|
||||
# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ruby
|
||||
PORTVERSION= ${RUBY_VERSION}
|
||||
CATEGORIES= lang ruby ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= ${RUBY_VER}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= yasuf@bsdclub.org
|
||||
|
||||
USE_RUBY= yes
|
||||
RUBY_NO_BUILD_DEPENDS= yes
|
||||
RUBY_NO_RUN_DEPENDS= yes
|
||||
|
||||
RUBY_VER= 1.4
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ARGS= --enable-shared
|
||||
MAN1= ruby${_RUBY_SUFFIX}.1
|
||||
MLINKS= ruby${_RUBY_SUFFIX}.1 ruby.1
|
||||
|
||||
ELISP_FILES= inf-ruby.el ruby-mode.el rubydb3x.el
|
||||
|
||||
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
||||
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !empty(RUBY_SUFFIX)
|
||||
CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 400014
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${RM} -f ${WRKSRC}/ext/gdbm/MANIFEST
|
||||
${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
|
||||
${RM} -f ${WRKSRC}/ext/tk/MANIFEST
|
||||
${RM} -rf ${WRKSRC}/lib/irb ${WRKSRC}/sample/irb.rb
|
||||
|
||||
post-install:
|
||||
strip ${RUBY}
|
||||
.if empty(RUBY_SUFFIX)
|
||||
${MV} ${RUBY} ${RUBY}${_RUBY_SUFFIX}
|
||||
${LN} -fs ${RUBY}${_RUBY_SUFFIX} ${RUBY}
|
||||
${MV} ${PREFIX}/man/man1/ruby.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
|
||||
.else
|
||||
${LN} -fs ${RUBY} ${PREFIX}/bin/ruby
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/misc
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/* ${RUBY_EXAMPLESDIR}/misc
|
||||
${MKDIR} ${EMACSLISPDIR}
|
||||
${MKDIR} ${XEMACSLISPDIR}
|
||||
.for f in ${ELISP_FILES}
|
||||
${LN} -sf ${RUBY_EXAMPLESDIR}/misc/${f} ${EMACSLISPDIR}/
|
||||
${LN} -sf ${RUBY_EXAMPLESDIR}/misc/${f} ${XEMACSLISPDIR}/
|
||||
.endfor
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/curses
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/curses/hello.rb ${WRKSRC}/ext/curses/rain.rb ${WRKSRC}/ext/curses/view.rb ${RUBY_EXAMPLESDIR}/curses
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/pty
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/pty/expect_sample.rb ${WRKSRC}/ext/pty/script.rb ${WRKSRC}/ext/pty/shl.rb ${RUBY_EXAMPLESDIR}/pty
|
||||
${MKDIR} ${RUBY_DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README* ${RUBY_DOCDIR}
|
||||
${MKDIR} ${RUBY_DOCDIR}/etc
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/etc/etc.txt* ${RUBY_DOCDIR}/etc
|
||||
${MKDIR} ${RUBY_DOCDIR}/md5
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/md5/md5.txt* ${RUBY_DOCDIR}/md5
|
||||
${MKDIR} ${RUBY_DOCDIR}/pty
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/pty/README* ${RUBY_DOCDIR}/pty
|
||||
${MKDIR} ${RUBY_DOCDIR}/readline
|
||||
${INSTALL_DATA} ${WRKSRC}/ext/readline/README ${RUBY_DOCDIR}/readline
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
test:
|
||||
@(cd ${WRKSRC}; make test)
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1 +0,0 @@
|
||||
MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a
|
@ -1,50 +0,0 @@
|
||||
--- lib/cgi-lib.rb.orig Tue Oct 12 18:11:29 1999
|
||||
+++ lib/cgi-lib.rb Mon Aug 21 04:26:56 2000
|
||||
@@ -121,30 +121,40 @@
|
||||
RFC822_MONTHS = %w[ Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec ]
|
||||
|
||||
# make rfc1123 date string
|
||||
- def rfc1123_date(time)
|
||||
+ def CGI.rfc1123_date(time)
|
||||
t = time.clone.gmtime
|
||||
return format("%s, %.2d %s %d %.2d:%.2d:%.2d GMT",
|
||||
RFC822_DAYS[t.wday], t.day, RFC822_MONTHS[t.month-1], t.year,
|
||||
t.hour, t.min, t.sec)
|
||||
end
|
||||
+ def rfc1123_date(time)
|
||||
+ CGI.rfc1123_date(time)
|
||||
+ end
|
||||
|
||||
# escape url encode
|
||||
- def escape(str)
|
||||
+ def CGI.escape(str)
|
||||
str.gsub(/[^a-zA-Z0-9_\-.]/n){ sprintf("%%%02X", $&.unpack("C")[0]) }
|
||||
end
|
||||
+ def escape(str)
|
||||
+ CGI.escape(str)
|
||||
+ end
|
||||
|
||||
# unescape url encoded
|
||||
- def unescape(str)
|
||||
+ def CGI.unescape(str)
|
||||
str.gsub(/\+/, ' ').gsub(/%([0-9a-fA-F]{2})/){ [$1.hex].pack("c") }
|
||||
end
|
||||
+ def unescape(str)
|
||||
+ CGI.unescape(str)
|
||||
+ end
|
||||
|
||||
# escape HTML
|
||||
- def escapeHTML(str)
|
||||
+ def CGI.escapeHTML(str)
|
||||
str.gsub(/&/, "&").gsub(/\"/, """).gsub(/>/, ">").gsub(/</, "<")
|
||||
end
|
||||
-
|
||||
- module_function :escape, :unescape, :escapeHTML, :rfc1123_date
|
||||
-
|
||||
+ def escapeHTML(str)
|
||||
+ CGI.escapeHTML(str)
|
||||
+ end
|
||||
+
|
||||
# offline mode. read name=value pairs on standard input.
|
||||
def read_from_cmdline
|
||||
require "shellwords.rb"
|
@ -1,11 +0,0 @@
|
||||
--- instruby.rb.orig Mon Jun 5 12:55:33 2000
|
||||
+++ instruby.rb Thu Sep 7 05:33:39 2000
|
||||
@@ -85,7 +85,7 @@
|
||||
File.install wdir+'/'+CONFIG['LIBRUBY_A'], archlibdir, 0644, true
|
||||
|
||||
File.makedirs mandir, true
|
||||
-File.install "ruby.1", mandir, 0644, true
|
||||
+File.install "ruby.1", "#{mandir}/#{ruby_install_name}.1", 0644, true
|
||||
Dir.chdir wdir
|
||||
File.install "config.h", archlibdir, 0644, true
|
||||
File.install "rbconfig.rb", archlibdir, 0644, true
|
@ -1 +0,0 @@
|
||||
An object-oriented interpreted scripting language
|
@ -1,20 +0,0 @@
|
||||
Ruby is the interpreted scripting language for quick and
|
||||
easy object-oriented programming. It has many features to
|
||||
process text files and to do system management tasks (as in
|
||||
Perl). It is simple, straight-forward, and extensible.
|
||||
|
||||
Features of Ruby are shown below.
|
||||
|
||||
+ Simple Syntax
|
||||
+ *Normal* Object-Oriented features(ex. class, method calls)
|
||||
+ *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
|
||||
+ Operator Overloading
|
||||
+ Exception Handling
|
||||
+ Iterators and Closures
|
||||
+ Garbage Collection
|
||||
+ Dynamic Loading of Object files(on some architecture)
|
||||
+ Highly Portable(works on many UNIX machines, and on DOS,
|
||||
Windows, Mac, BeOS etc.)
|
||||
|
||||
Author: Matsumoto "matz" Yukihiro <matz@netlab.co.jp>
|
||||
WWW: http://www.ruby-lang.org/en/
|
@ -1,28 +0,0 @@
|
||||
====
|
||||
To use ruby-mode, inf-ruby and rubydb in Emacs/XEmacs, add the
|
||||
following lines to your ~/.emacs:
|
||||
|
||||
;; Taken from the comment section in inf-ruby.el
|
||||
(setq ruby-program-name "/usr/local/bin/ruby")
|
||||
(autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files")
|
||||
(add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode))
|
||||
(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
|
||||
(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process")
|
||||
(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
|
||||
(add-hook 'ruby-mode-hook '(lambda () (inf-ruby-keys)))
|
||||
====
|
||||
Note that some stuff that comes with the standard Ruby 1.4
|
||||
distribution is provided as separate ports:
|
||||
|
||||
databases/ruby14-gdbm: GDBM module
|
||||
lang/ruby14-irb: Interactive Ruby
|
||||
lang/ruby14-tcltklib or japanese/ruby14-tcltklib:
|
||||
Tcl/Tk libraries
|
||||
x11-toolkits/ruby14-tk or japanese/ruby14-tk:
|
||||
Tk modules
|
||||
|
||||
Please install them as occasion demands.
|
||||
===
|
||||
To use other ruby-* ports with Ruby 1.4, build and install them with
|
||||
"RUBY_VER=1.4" defined. (i.e. make RUBY_VER=1.4 install)
|
||||
====
|
@ -1,184 +0,0 @@
|
||||
bin/ruby
|
||||
bin/ruby%%_RUBY_SUFFIX%%
|
||||
lib/lib%%RUBY_NAME%%.so
|
||||
lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%%
|
||||
%%RUBY_ARCHLIBDIR%%/config.h
|
||||
%%RUBY_ARCHLIBDIR%%/curses.so
|
||||
%%RUBY_ARCHLIBDIR%%/dbm.so
|
||||
%%RUBY_ARCHLIBDIR%%/defines.h
|
||||
%%RUBY_ARCHLIBDIR%%/dln.h
|
||||
%%RUBY_ARCHLIBDIR%%/env.h
|
||||
%%RUBY_ARCHLIBDIR%%/etc.so
|
||||
%%RUBY_ARCHLIBDIR%%/fcntl.so
|
||||
%%RUBY_ARCHLIBDIR%%/intern.h
|
||||
%%RUBY_ARCHLIBDIR%%/lib%%RUBY_NAME%%.a
|
||||
%%RUBY_ARCHLIBDIR%%/md5.so
|
||||
%%RUBY_ARCHLIBDIR%%/nkf.so
|
||||
%%RUBY_ARCHLIBDIR%%/node.h
|
||||
%%RUBY_ARCHLIBDIR%%/pty.so
|
||||
%%RUBY_ARCHLIBDIR%%/rbconfig.rb
|
||||
%%RUBY_ARCHLIBDIR%%/re.h
|
||||
%%RUBY_ARCHLIBDIR%%/readline.so
|
||||
%%RUBY_ARCHLIBDIR%%/regex.h
|
||||
%%RUBY_ARCHLIBDIR%%/ruby.h
|
||||
%%RUBY_ARCHLIBDIR%%/rubyio.h
|
||||
%%RUBY_ARCHLIBDIR%%/rubysig.h
|
||||
%%RUBY_ARCHLIBDIR%%/sdbm.so
|
||||
%%RUBY_ARCHLIBDIR%%/socket.so
|
||||
%%RUBY_ARCHLIBDIR%%/st.h
|
||||
%%RUBY_ARCHLIBDIR%%/util.h
|
||||
%%RUBY_ARCHLIBDIR%%/version.h
|
||||
%%RUBY_LIBDIR%%/English.rb
|
||||
%%RUBY_LIBDIR%%/Env.rb
|
||||
%%RUBY_LIBDIR%%/base64.rb
|
||||
%%RUBY_LIBDIR%%/cgi-lib.rb
|
||||
%%RUBY_LIBDIR%%/cgi.rb
|
||||
%%RUBY_LIBDIR%%/complex.rb
|
||||
%%RUBY_LIBDIR%%/date.rb
|
||||
%%RUBY_LIBDIR%%/date2.rb
|
||||
%%RUBY_LIBDIR%%/debug.rb
|
||||
%%RUBY_LIBDIR%%/delegate.rb
|
||||
%%RUBY_LIBDIR%%/e2mmap.rb
|
||||
%%RUBY_LIBDIR%%/eregex.rb
|
||||
%%RUBY_LIBDIR%%/expect.rb
|
||||
%%RUBY_LIBDIR%%/final.rb
|
||||
%%RUBY_LIBDIR%%/finalize.rb
|
||||
%%RUBY_LIBDIR%%/find.rb
|
||||
%%RUBY_LIBDIR%%/ftools.rb
|
||||
%%RUBY_LIBDIR%%/ftplib.rb
|
||||
%%RUBY_LIBDIR%%/getoptlong.rb
|
||||
%%RUBY_LIBDIR%%/getopts.rb
|
||||
%%RUBY_LIBDIR%%/importenv.rb
|
||||
%%RUBY_LIBDIR%%/jcode.rb
|
||||
%%RUBY_LIBDIR%%/kconv.rb
|
||||
%%RUBY_LIBDIR%%/mailread.rb
|
||||
%%RUBY_LIBDIR%%/mathn.rb
|
||||
%%RUBY_LIBDIR%%/matrix.rb
|
||||
%%RUBY_LIBDIR%%/mkmf.rb
|
||||
%%RUBY_LIBDIR%%/monitor.rb
|
||||
%%RUBY_LIBDIR%%/mutex_m.rb
|
||||
%%RUBY_LIBDIR%%/observer.rb
|
||||
%%RUBY_LIBDIR%%/open3.rb
|
||||
%%RUBY_LIBDIR%%/ostruct.rb
|
||||
%%RUBY_LIBDIR%%/parsearg.rb
|
||||
%%RUBY_LIBDIR%%/parsedate.rb
|
||||
%%RUBY_LIBDIR%%/ping.rb
|
||||
%%RUBY_LIBDIR%%/profile.rb
|
||||
%%RUBY_LIBDIR%%/pstore.rb
|
||||
%%RUBY_LIBDIR%%/rational.rb
|
||||
%%RUBY_LIBDIR%%/readbytes.rb
|
||||
%%RUBY_LIBDIR%%/shellwords.rb
|
||||
%%RUBY_LIBDIR%%/singleton.rb
|
||||
%%RUBY_LIBDIR%%/sync.rb
|
||||
%%RUBY_LIBDIR%%/telnet.rb
|
||||
%%RUBY_LIBDIR%%/tempfile.rb
|
||||
%%RUBY_LIBDIR%%/thread.rb
|
||||
%%RUBY_LIBDIR%%/thwait.rb
|
||||
%%RUBY_LIBDIR%%/timeout.rb
|
||||
%%RUBY_LIBDIR%%/tracer.rb
|
||||
%%RUBY_LIBDIR%%/weakref.rb
|
||||
%%RUBY_LIBDIR%%/cgi/session.rb
|
||||
%%RUBY_LIBDIR%%/net/ftp.rb
|
||||
%%RUBY_LIBDIR%%/net/http.rb
|
||||
%%RUBY_LIBDIR%%/net/pop.rb
|
||||
%%RUBY_LIBDIR%%/net/protocol.rb
|
||||
%%RUBY_LIBDIR%%/net/smtp.rb
|
||||
%%RUBY_LIBDIR%%/net/telnet.rb
|
||||
@exec /bin/mkdir -p %D/%%RUBY_SITEARCHLIBDIR%%
|
||||
@dirrm %%RUBY_SITEARCHLIBDIR%%
|
||||
@dirrm %%RUBY_SITELIBDIR%%
|
||||
@dirrm lib/ruby/site_ruby
|
||||
@dirrm %%RUBY_ARCHLIBDIR%%
|
||||
@dirrm %%RUBY_LIBDIR%%/cgi
|
||||
@dirrm %%RUBY_LIBDIR%%/net
|
||||
@dirrm %%RUBY_LIBDIR%%
|
||||
@dirrm lib/ruby
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/README.EXT
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/README.EXT.jp
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/README.jp
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/etc/etc.txt
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/etc/etc.txt.jp
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/md5/md5.txt
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/md5/md5.txt.jp
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README.expect
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README.expect.jp
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/pty/README.jp
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/readline/README
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/etc
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/md5
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/pty
|
||||
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/readline
|
||||
%%PORTDOCS%%@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/README
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/biorhythm.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cal.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/cbreak.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/clnt.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbmtest.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dir.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dualstack-fetch.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dualstack-httpd.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/eval.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/export.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/exyacc.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fact.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.awk
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.pl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.py
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fib.scm
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/freq.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/from.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fullpath.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/getopts.test
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/goodfriday.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/less.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/list.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/list2.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/list3.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mine.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mkproto.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mpart.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/mrshtest.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/observ.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/occur.pl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/occur.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/occur2.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/philos.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pi.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rcs.awk
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rcs.dat
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rcs.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/regx.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/rename.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sieve.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/svr.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/test.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/time.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/trojan.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tsvr.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/uumerge.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/README
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/inf-ruby.el
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/ruby-mode.el
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/rubydb2x.el
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/misc/rubydb3x.el
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curses/hello.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curses/rain.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/curses/view.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pty/expect_sample.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pty/script.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/pty/shl.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/misc
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/curses
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/pty
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%
|
||||
share/emacs/site-lisp/inf-ruby.el
|
||||
share/emacs/site-lisp/ruby-mode.el
|
||||
share/emacs/site-lisp/rubydb3x.el
|
||||
lib/xemacs/site-lisp/inf-ruby.el
|
||||
lib/xemacs/site-lisp/ruby-mode.el
|
||||
lib/xemacs/site-lisp/rubydb3x.el
|
||||
@unexec rmdir -p %D/lib/xemacs/site-lisp 2>/dev/null || true
|
@ -1,48 +0,0 @@
|
||||
# New ports collection makefile for: ruby-tk
|
||||
# Date created: 15 March 1999
|
||||
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= tk
|
||||
PORTVERSION= ${RUBY_VERSION}
|
||||
CATEGORIES+= x11-toolkits ruby tk${TK_VERSION}
|
||||
MASTER_SITES= ${MASTER_SITE_RUBY}
|
||||
MASTER_SITE_SUBDIR= ${RUBY_VER}
|
||||
DISTNAME= ruby-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER?= yasuf@bsdclub.org
|
||||
|
||||
RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/tcltklib.so:${PORTSDIR}/${TCLTKLIB_CATEGORY}/ruby14-tcltklib
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/tk
|
||||
|
||||
RUBY_VER= 1.4
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
TK_VERSION?= 82
|
||||
.if defined(WITH_TCLTK_JP)
|
||||
TCLTKLIB_CATEGORY?= japanese
|
||||
.else
|
||||
TCLTKLIB_CATEGORY?= lang
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(PKGNAMEPREFIX)
|
||||
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
||||
.else
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/tk
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/tk/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1 +0,0 @@
|
||||
MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a
|
@ -1 +0,0 @@
|
||||
Ruby interface to the Tk widget set
|
@ -1,5 +0,0 @@
|
||||
This is Ruby/Tk, a Ruby interface to the Tk widget set.
|
||||
It's a part of the official Ruby distribution.
|
||||
|
||||
- Yasuhiro Fukuma
|
||||
yasuf@bsdclub.org
|
@ -1,23 +0,0 @@
|
||||
%%RUBY_ARCHLIBDIR%%/tkutil.so
|
||||
%%RUBY_LIBDIR%%/tk.rb
|
||||
%%RUBY_LIBDIR%%/tkafter.rb
|
||||
%%RUBY_LIBDIR%%/tkbgerror.rb
|
||||
%%RUBY_LIBDIR%%/tkcanvas.rb
|
||||
%%RUBY_LIBDIR%%/tkclass.rb
|
||||
%%RUBY_LIBDIR%%/tkdialog.rb
|
||||
%%RUBY_LIBDIR%%/tkentry.rb
|
||||
%%RUBY_LIBDIR%%/tkfont.rb
|
||||
%%RUBY_LIBDIR%%/tkmenubar.rb
|
||||
%%RUBY_LIBDIR%%/tkmngfocus.rb
|
||||
%%RUBY_LIBDIR%%/tkpalette.rb
|
||||
%%RUBY_LIBDIR%%/tkscrollbox.rb
|
||||
%%RUBY_LIBDIR%%/tktext.rb
|
||||
%%RUBY_LIBDIR%%/tkvirtevent.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tk/tkbiff.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tk/tkbrowse.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tk/tkdialog.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tk/tkfrom.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tk/tkhello.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tk/tkline.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/tk/tktimer.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/tk
|
Loading…
Reference in New Issue
Block a user