aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby
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/ruby
parentfa205cf0127276fbc75367f39be16135d70b5d9e (diff)
downloadports-596ebf8a494ccec324a561d381d1c60d5f35cf02.tar.gz
ports-596ebf8a494ccec324a561d381d1c60d5f35cf02.zip
Notes
Diffstat (limited to 'lang/ruby')
-rw-r--r--lang/ruby/Makefile12
-rw-r--r--lang/ruby/pkg-descr3
2 files changed, 8 insertions, 7 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index 1567638fd310..8cb8924bb6d4 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/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/ruby/pkg-descr b/lang/ruby/pkg-descr
index f42fdba241cd..a2d4b342410b 100644
--- a/lang/ruby/pkg-descr
+++ b/lang/ruby/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/