summaryrefslogtreecommitdiff
path: root/lang/ruby16
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby16')
-rw-r--r--lang/ruby16/Makefile12
-rw-r--r--lang/ruby16/pkg-descr3
2 files changed, 8 insertions, 7 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 1567638fd310..8cb8924bb6d4 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/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/ruby16/pkg-descr b/lang/ruby16/pkg-descr
index f42fdba241cd..a2d4b342410b 100644
--- a/lang/ruby16/pkg-descr
+++ b/lang/ruby16/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/