summaryrefslogtreecommitdiff
path: root/lang/ruby14
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:09:41 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:09:41 +0000
commit596ebf8a494ccec324a561d381d1c60d5f35cf02 (patch)
tree740528554f6f5efe5651a2e1c0f603dcf8fb5474 /lang/ruby14
parentAdd two missing files and one directory. (diff)
Do The Right Thing. (R)
Overall changes: Use tabs instead of sequential spaces. Note Author as well as WWW in DESCR. Do not install examples when NOPORTDOCS. Make RUBY, RUBY_VER and RUBY_ARCH variables overridable. ruby-date2: share/doc/ruby/date2/examples/ -> share/examples/ruby/date2/cal.rb textproc/ruby-html-parser: databases/ruby-mysql: devel/ruby-optparse: devel/ruby-property: Install modules under lib/ruby/site_ruby/${RUBY_VER}/ instead of lib/ruby/site_ruby/ or lib/ruby/${RUBY_VER}/ textproc/ruby-rdtool: Install documents in .rd format too. Format optparse's rd file. (Since ruby-rdtool depends on optparse, it cannot be done during optparse's build process. So ruby-rdtool should take care of that when it is installed. :)
Notes
Notes: svn path=/head/; revision=31584
Diffstat (limited to 'lang/ruby14')
-rw-r--r--lang/ruby14/Makefile12
-rw-r--r--lang/ruby14/pkg-descr3
2 files changed, 8 insertions, 7 deletions
diff --git a/lang/ruby14/Makefile b/lang/ruby14/Makefile
index 1567638fd310..8cb8924bb6d4 100644
--- a/lang/ruby14/Makefile
+++ b/lang/ruby14/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: ruby
-# Date created: 04 September 1997
-# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
+# New ports collection makefile for: ruby
+# Date created: 04 September 1997
+# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
#
# $FreeBSD$
#
@@ -24,8 +24,8 @@ CONFIGURE_ARGS= --enable-shared
MAN1= ruby.1
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-RUBY_VER= 1.4
-RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
BRANCH_NAME= 1.4
@@ -45,6 +45,7 @@ post-patch:
post-install:
strip ${PREFIX}/bin/ruby
+.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/misc
@@ -53,7 +54,6 @@ post-install:
${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
diff --git a/lang/ruby14/pkg-descr b/lang/ruby14/pkg-descr
index f42fdba241cd..a2d4b342410b 100644
--- a/lang/ruby14/pkg-descr
+++ b/lang/ruby14/pkg-descr
@@ -17,4 +17,5 @@ Features of Ruby are shown below.
Windows, Mac, BeOS etc.)
The Ruby home page is at:
-WWW: http://www.ruby-lang.org/
+Author: Matsumoto "matz" Yukihiro <matz@netlab.co.jp>
+WWW: http://www.ruby-lang.org/