aboutsummaryrefslogtreecommitdiffstats
path: root/math/ruby-bigfloat
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-13 04:09:41 +0800
committerknu <knu@FreeBSD.org>2000-08-13 04:09:41 +0800
commite932a87c5235b90fa671f5b453afd18c94f3b2f3 (patch)
tree7f470d6c370885834b1ad0e7ffcd9a38f0534974 /math/ruby-bigfloat
parent761a287d6d458a83abfd6ab90410b27c5cda14af (diff)
downloadfreebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.tar.gz
freebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.tar.zst
freebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.zip
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. :)
Diffstat (limited to 'math/ruby-bigfloat')
-rw-r--r--math/ruby-bigfloat/Makefile18
-rw-r--r--math/ruby-bigfloat/pkg-descr1
2 files changed, 11 insertions, 8 deletions
diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile
index 696aeccc7c3b..4547a335dd89 100644
--- a/math/ruby-bigfloat/Makefile
+++ b/math/ruby-bigfloat/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: Ruby-BigFloat
-# Date created: 7 Aug 2000
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: Ruby-BigFloat
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@@ -22,9 +22,9 @@ INSTALL_TARGET= site-install
NO_WRKSUBDIR= yes
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-RUBY= ${LOCALBASE}/bin/ruby
-RUBY_VER= 1.4
-RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+RUBY?= ${LOCALBASE}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
@@ -32,8 +32,10 @@ do-configure:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/bigfloat/ja
- ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/bigfloat_en.html ${PREFIX}/share/doc/ruby/bigfloat
- ${INSTALL_DATA} ${WRKSRC}/bigfloat.html ${PREFIX}/share/doc/ruby/bigfloat/ja
+ ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/bigfloat_en.html \
+ ${PREFIX}/share/doc/ruby/bigfloat
+ ${INSTALL_DATA} ${WRKSRC}/bigfloat.html \
+ ${PREFIX}/share/doc/ruby/bigfloat/ja
.endif
.include <bsd.port.mk>
diff --git a/math/ruby-bigfloat/pkg-descr b/math/ruby-bigfloat/pkg-descr
index 8627861ce7a0..1bbe641a0f1a 100644
--- a/math/ruby-bigfloat/pkg-descr
+++ b/math/ruby-bigfloat/pkg-descr
@@ -1,4 +1,5 @@
BigFloat is an extension library for Ruby. Using BigFloat class, you
can obtain any number of significant digits in computation.
+Author: Shigeo Kobayashi <shigeo@tinyforest.gr.jp>
WWW: http://www.tinyforest.gr.jp/ruby/bigfloat_en.html