diff options
author | knu <knu@FreeBSD.org> | 2001-04-13 19:08:49 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-04-13 19:08:49 +0000 |
commit | 4f82e437f33192edd24ea791f48875d822f806c9 (patch) | |
tree | 1412b2070827293f4e9f6bf76fe6cb66f1d0ae18 /lang | |
parent | 070169e2a245787cf9a4ee2060fcc22d8803ee21 (diff) | |
download | FreeBSD-ports-4f82e437f33192edd24ea791f48875d822f806c9.zip FreeBSD-ports-4f82e437f33192edd24ea791f48875d822f806c9.tar.gz |
Retire Ruby 1.4. Use 1.6 instead, now the migration period is over.
Approved by: yasuf@bsdclub.org (MAINTAINER)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby14-irb/Makefile | 41 | ||||
-rw-r--r-- | lang/ruby14-irb/distinfo | 1 | ||||
-rw-r--r-- | lang/ruby14-irb/files/patch-aa | 11 | ||||
-rw-r--r-- | lang/ruby14-irb/pkg-comment | 1 | ||||
-rw-r--r-- | lang/ruby14-irb/pkg-descr | 6 | ||||
-rw-r--r-- | lang/ruby14-irb/pkg-plist | 22 | ||||
-rw-r--r-- | lang/ruby14-tcltklib/Makefile | 72 | ||||
-rw-r--r-- | lang/ruby14-tcltklib/distinfo | 1 | ||||
-rw-r--r-- | lang/ruby14-tcltklib/pkg-comment | 1 | ||||
-rw-r--r-- | lang/ruby14-tcltklib/pkg-descr | 5 | ||||
-rw-r--r-- | lang/ruby14-tcltklib/pkg-plist | 16 | ||||
-rw-r--r-- | lang/ruby14/Makefile | 90 | ||||
-rw-r--r-- | lang/ruby14/distinfo | 1 | ||||
-rw-r--r-- | lang/ruby14/files/patch-cgi-lib.rb | 50 | ||||
-rw-r--r-- | lang/ruby14/files/patch-instruby.rb | 11 | ||||
-rw-r--r-- | lang/ruby14/pkg-comment | 1 | ||||
-rw-r--r-- | lang/ruby14/pkg-descr | 20 | ||||
-rw-r--r-- | lang/ruby14/pkg-message | 28 | ||||
-rw-r--r-- | lang/ruby14/pkg-plist | 184 |
19 files changed, 0 insertions, 562 deletions
diff --git a/lang/ruby14-irb/Makefile b/lang/ruby14-irb/Makefile deleted file mode 100644 index 4be179d..0000000 --- a/lang/ruby14-irb/Makefile +++ /dev/null @@ -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> diff --git a/lang/ruby14-irb/distinfo b/lang/ruby14-irb/distinfo deleted file mode 100644 index 90621bf..0000000 --- a/lang/ruby14-irb/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ruby/irb-0.6.1.tgz) = dae176750a0ec6d8b636da103de2d222 diff --git a/lang/ruby14-irb/files/patch-aa b/lang/ruby14-irb/files/patch-aa deleted file mode 100644 index f2741f0..0000000 --- a/lang/ruby14-irb/files/patch-aa +++ /dev/null @@ -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) diff --git a/lang/ruby14-irb/pkg-comment b/lang/ruby14-irb/pkg-comment deleted file mode 100644 index 4b7b5bd..0000000 --- a/lang/ruby14-irb/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Interactive Ruby diff --git a/lang/ruby14-irb/pkg-descr b/lang/ruby14-irb/pkg-descr deleted file mode 100644 index 4df2700..0000000 --- a/lang/ruby14-irb/pkg-descr +++ /dev/null @@ -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 diff --git a/lang/ruby14-irb/pkg-plist b/lang/ruby14-irb/pkg-plist deleted file mode 100644 index a663980..0000000 --- a/lang/ruby14-irb/pkg-plist +++ /dev/null @@ -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 diff --git a/lang/ruby14-tcltklib/Makefile b/lang/ruby14-tcltklib/Makefile deleted file mode 100644 index 0dc7765..0000000 --- a/lang/ruby14-tcltklib/Makefile +++ /dev/null @@ -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> diff --git a/lang/ruby14-tcltklib/distinfo b/lang/ruby14-tcltklib/distinfo deleted file mode 100644 index 69b467f..0000000 --- a/lang/ruby14-tcltklib/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a diff --git a/lang/ruby14-tcltklib/pkg-comment b/lang/ruby14-tcltklib/pkg-comment deleted file mode 100644 index 0048c6b..0000000 --- a/lang/ruby14-tcltklib/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A Ruby interface to Tcl/Tk libraries diff --git a/lang/ruby14-tcltklib/pkg-descr b/lang/ruby14-tcltklib/pkg-descr deleted file mode 100644 index 6929ce9..0000000 --- a/lang/ruby14-tcltklib/pkg-descr +++ /dev/null @@ -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 diff --git a/lang/ruby14-tcltklib/pkg-plist b/lang/ruby14-tcltklib/pkg-plist deleted file mode 100644 index c5e5b6e..0000000 --- a/lang/ruby14-tcltklib/pkg-plist +++ /dev/null @@ -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 diff --git a/lang/ruby14/Makefile b/lang/ruby14/Makefile deleted file mode 100644 index 966098b..0000000 --- a/lang/ruby14/Makefile +++ /dev/null @@ -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> diff --git a/lang/ruby14/distinfo b/lang/ruby14/distinfo deleted file mode 100644 index 69b467f..0000000 --- a/lang/ruby14/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ruby/ruby-1.4.6.tar.gz) = 3c910657b164749d9b98d7448df17f9a diff --git a/lang/ruby14/files/patch-cgi-lib.rb b/lang/ruby14/files/patch-cgi-lib.rb deleted file mode 100644 index 00f83e8..0000000 --- a/lang/ruby14/files/patch-cgi-lib.rb +++ /dev/null @@ -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" diff --git a/lang/ruby14/files/patch-instruby.rb b/lang/ruby14/files/patch-instruby.rb deleted file mode 100644 index 397a4b1..0000000 --- a/lang/ruby14/files/patch-instruby.rb +++ /dev/null @@ -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 diff --git a/lang/ruby14/pkg-comment b/lang/ruby14/pkg-comment deleted file mode 100644 index 0909290..0000000 --- a/lang/ruby14/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An object-oriented interpreted scripting language diff --git a/lang/ruby14/pkg-descr b/lang/ruby14/pkg-descr deleted file mode 100644 index 373446e..0000000 --- a/lang/ruby14/pkg-descr +++ /dev/null @@ -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/ diff --git a/lang/ruby14/pkg-message b/lang/ruby14/pkg-message deleted file mode 100644 index c9b18cd..0000000 --- a/lang/ruby14/pkg-message +++ /dev/null @@ -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) -==== diff --git a/lang/ruby14/pkg-plist b/lang/ruby14/pkg-plist deleted file mode 100644 index ad75e32..0000000 --- a/lang/ruby14/pkg-plist +++ /dev/null @@ -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 |