aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby16
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-14 09:37:22 +0800
committersteve <steve@FreeBSD.org>1999-11-14 09:37:22 +0800
commitf636b6f958a4b55e50851bff4b217f773b16b01f (patch)
treefe5bfb570991fc81bf804b3bb656e4fd5a45ee1e /lang/ruby16
parentcbbd58fdd3e03917ee7138f1876d7e723cd0ed1f (diff)
downloadfreebsd-ports-graphics-f636b6f958a4b55e50851bff4b217f773b16b01f.tar.gz
freebsd-ports-graphics-f636b6f958a4b55e50851bff4b217f773b16b01f.tar.zst
freebsd-ports-graphics-f636b6f958a4b55e50851bff4b217f773b16b01f.zip
Update to version 1.4.2.
PR: 14628 Submitted by: maintainer
Diffstat (limited to 'lang/ruby16')
-rw-r--r--lang/ruby16/Makefile35
-rw-r--r--lang/ruby16/distinfo2
-rw-r--r--lang/ruby16/pkg-descr2
-rw-r--r--lang/ruby16/pkg-message5
-rw-r--r--lang/ruby16/pkg-plist32
5 files changed, 66 insertions, 10 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 2c833607cc7..d2d3d4de12f 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -1,12 +1,12 @@
# New ports collection makefile for: ruby
-# Version required: 1.4.0
+# Version required: 1.4.2
# Date created: 04 September 1997
# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
#
# $FreeBSD$
#
-DISTNAME= ruby-1.4.0
+DISTNAME= ruby-1.4.2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/${BRANCH_NAME}/ \
@@ -25,19 +25,40 @@ PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
-BRANCH_NAME= .
+BRANCH_NAME= 1.4
+
+DOCDIR= ${PREFIX}/share/doc/ruby
+EXAMPLESDIR= ${PREFIX}/share/examples/ruby
post-patch:
${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
${RM} -f ${WRKSRC}/ext/tk/MANIFEST
+ ${RM} -rf ${WRKSRC}/lib/irb ${WRKSRC}/sample/irb.rb
post-install:
strip ${PREFIX}/bin/ruby
- ${MKDIR} ${PREFIX}/share/examples/ruby
- ${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby
- ${MKDIR} ${PREFIX}/share/examples/ruby/misc
- ${INSTALL_DATA} ${WRKSRC}/misc/* ${PREFIX}/share/examples/ruby/misc
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
+ ${MKDIR} ${EXAMPLESDIR}/misc
+ ${INSTALL_DATA} ${WRKSRC}/misc/* ${EXAMPLESDIR}/misc
+ ${MKDIR} ${EXAMPLESDIR}/curses
+ ${INSTALL_DATA} ${WRKSRC}/ext/curses/hello.rb ${WRKSRC}/ext/curses/rain.rb ${WRKSRC}/ext/curses/view.rb ${EXAMPLESDIR}/curses
+ ${MKDIR} ${EXAMPLESDIR}/pty
+ ${INSTALL_DATA} ${WRKSRC}/ext/pty/expect_sample.rb ${WRKSRC}/ext/pty/script.rb ${WRKSRC}/ext/pty/shl.rb ${EXAMPLESDIR}/pty
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README* ${DOCDIR}
+ ${MKDIR} ${DOCDIR}/etc
+ ${INSTALL_DATA} ${WRKSRC}/ext/etc/etc.txt* ${DOCDIR}/etc
+ ${MKDIR} ${DOCDIR}/md5
+ ${INSTALL_DATA} ${WRKSRC}/ext/md5/md5.txt* ${DOCDIR}/md5
+ ${MKDIR} ${DOCDIR}/pty
+ ${INSTALL_DATA} ${WRKSRC}/ext/pty/README* ${DOCDIR}/pty
+ ${MKDIR} ${DOCDIR}/readline
+ ${INSTALL_DATA} ${WRKSRC}/ext/readline/README ${DOCDIR}/readline
+.endif
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+ @${CAT} ${PKGMESSAGE}
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/ruby16/distinfo b/lang/ruby16/distinfo
index d9fe74ba01f..79ba6843970 100644
--- a/lang/ruby16/distinfo
+++ b/lang/ruby16/distinfo
@@ -1 +1 @@
-MD5 (ruby-1.4.0.tar.gz) = e093dcd834caeedd84459d62e09e72ea
+MD5 (ruby-1.4.2.tar.gz) = 13c18f8cfa0cb0bf1268942cfc04c462
diff --git a/lang/ruby16/pkg-descr b/lang/ruby16/pkg-descr
index 2ee17e67a72..f42fdba241c 100644
--- a/lang/ruby16/pkg-descr
+++ b/lang/ruby16/pkg-descr
@@ -17,4 +17,4 @@ Features of Ruby are shown below.
Windows, Mac, BeOS etc.)
The Ruby home page is at:
-WWW: http://www.netlab.co.jp/ruby/
+WWW: http://www.ruby-lang.org/
diff --git a/lang/ruby16/pkg-message b/lang/ruby16/pkg-message
new file mode 100644
index 00000000000..564cf52f248
--- /dev/null
+++ b/lang/ruby16/pkg-message
@@ -0,0 +1,5 @@
+====
+NOTE: This package does NOT contain irb (the interactive Ruby)
+ and Ruby/Tk (an interface to Tk GUI toolkits); You need to
+ install separate packages to use them.
+====
diff --git a/lang/ruby16/pkg-plist b/lang/ruby16/pkg-plist
index ee92b52ffe7..58eb8306b59 100644
--- a/lang/ruby16/pkg-plist
+++ b/lang/ruby16/pkg-plist
@@ -34,6 +34,7 @@ lib/ruby/%%RUBY_VER%%/English.rb
lib/ruby/%%RUBY_VER%%/Env.rb
lib/ruby/%%RUBY_VER%%/base64.rb
lib/ruby/%%RUBY_VER%%/cgi-lib.rb
+lib/ruby/%%RUBY_VER%%/cgi.rb
lib/ruby/%%RUBY_VER%%/complex.rb
lib/ruby/%%RUBY_VER%%/date.rb
lib/ruby/%%RUBY_VER%%/date2.rb
@@ -78,12 +79,34 @@ lib/ruby/%%RUBY_VER%%/thwait.rb
lib/ruby/%%RUBY_VER%%/timeout.rb
lib/ruby/%%RUBY_VER%%/tracer.rb
lib/ruby/%%RUBY_VER%%/weakref.rb
+lib/ruby/%%RUBY_VER%%/net/pop.rb
+lib/ruby/%%RUBY_VER%%/net/session.rb
+lib/ruby/%%RUBY_VER%%/net/smtp.rb
@exec /bin/mkdir -p %D/lib/ruby/%%RUBY_VER%%/site_ruby/%%RUBY_ARCH%%
@dirrm lib/ruby/%%RUBY_VER%%/site_ruby/%%RUBY_ARCH%%
@dirrm lib/ruby/%%RUBY_VER%%/site_ruby
@dirrm lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%
+@dirrm lib/ruby/%%RUBY_VER%%/net
@dirrm lib/ruby/%%RUBY_VER%%
@dirrm lib/ruby
+share/doc/ruby/README
+share/doc/ruby/README.EXT
+share/doc/ruby/README.EXT.jp
+share/doc/ruby/README.jp
+share/doc/ruby/etc/etc.txt
+share/doc/ruby/etc/etc.txt.jp
+share/doc/ruby/md5/md5.txt
+share/doc/ruby/md5/md5.txt.jp
+share/doc/ruby/pty/README
+share/doc/ruby/pty/README.expect
+share/doc/ruby/pty/README.expect.jp
+share/doc/ruby/pty/README.jp
+share/doc/ruby/readline/README
+@dirrm share/doc/ruby/etc
+@dirrm share/doc/ruby/md5
+@dirrm share/doc/ruby/pty
+@dirrm share/doc/ruby/readline
+@dirrm share/doc/ruby
share/examples/ruby/README
share/examples/ruby/biorhythm.rb
share/examples/ruby/cal.rb
@@ -121,7 +144,6 @@ share/examples/ruby/occur.rb
share/examples/ruby/occur2.rb
share/examples/ruby/philos.rb
share/examples/ruby/pi.rb
-share/examples/ruby/rbc.rb
share/examples/ruby/rcs.awk
share/examples/ruby/rcs.dat
share/examples/ruby/rcs.rb
@@ -140,5 +162,13 @@ share/examples/ruby/misc/inf-ruby.el
share/examples/ruby/misc/ruby-mode.el
share/examples/ruby/misc/rubydb2x.el
share/examples/ruby/misc/rubydb3x.el
+share/examples/ruby/curses/hello.rb
+share/examples/ruby/curses/rain.rb
+share/examples/ruby/curses/view.rb
+share/examples/ruby/pty/expect_sample.rb
+share/examples/ruby/pty/script.rb
+share/examples/ruby/pty/shl.rb
@dirrm share/examples/ruby/misc
+@dirrm share/examples/ruby/curses
+@dirrm share/examples/ruby/pty
@dirrm share/examples/ruby