From 596ebf8a494ccec324a561d381d1c60d5f35cf02 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 12 Aug 2000 20:09:41 +0000 Subject: 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. :) --- lang/ruby16/Makefile | 12 ++++++------ lang/ruby16/pkg-descr | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'lang/ruby16') 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 +# New ports collection makefile for: ruby +# Date created: 04 September 1997 +# Whom: Eiji-usagi-MATSUmoto # # $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 +WWW: http://www.ruby-lang.org/ -- cgit v1.2.3