aboutsummaryrefslogtreecommitdiffstats
path: root/devel
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 /devel
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 'devel')
-rw-r--r--devel/ruby-amstd/Makefile6
-rw-r--r--devel/ruby-amstd/pkg-descr1
-rw-r--r--devel/ruby-date2/Makefile14
-rw-r--r--devel/ruby-date2/pkg-descr2
-rw-r--r--devel/ruby-date2/pkg-plist12
-rw-r--r--devel/ruby-intl/Makefile8
-rw-r--r--devel/ruby-intl/pkg-descr1
-rw-r--r--devel/ruby-optparse/Makefile16
-rw-r--r--devel/ruby-optparse/pkg-descr3
-rw-r--r--devel/ruby-optparse/pkg-plist8
-rw-r--r--devel/ruby-property/Makefile14
-rw-r--r--devel/ruby-property/pkg-descr3
-rw-r--r--devel/ruby-property/pkg-plist2
-rw-r--r--devel/ruby-racc/Makefile14
-rw-r--r--devel/ruby-racc/pkg-descr1
-rw-r--r--devel/ruby-strscan/Makefile6
-rw-r--r--devel/ruby-strscan/pkg-descr1
17 files changed, 61 insertions, 51 deletions
diff --git a/devel/ruby-amstd/Makefile b/devel/ruby-amstd/Makefile
index 7d2b60a93dfa..6933db8f0577 100644
--- a/devel/ruby-amstd/Makefile
+++ b/devel/ruby-amstd/Makefile
@@ -20,9 +20,9 @@ NO_BUILD= 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}
DOCS_EN= README.en
DOCS_JA= README.ja
diff --git a/devel/ruby-amstd/pkg-descr b/devel/ruby-amstd/pkg-descr
index b521016fc69b..c9ff612a862e 100644
--- a/devel/ruby-amstd/pkg-descr
+++ b/devel/ruby-amstd/pkg-descr
@@ -14,4 +14,5 @@ getdep.rb: gets file dependency to_s.rb: _name2str, _type2str
inst.rb: helps installation version.rb: VersionNumber class
must.rb: must/must_have/must_be methods
+Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
WWW: http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html
diff --git a/devel/ruby-date2/Makefile b/devel/ruby-date2/Makefile
index c54047d20f4d..a1beb302aca6 100644
--- a/devel/ruby-date2/Makefile
+++ b/devel/ruby-date2/Makefile
@@ -20,9 +20,9 @@ NO_BUILD= 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}
MODULES= date2.rb date3.rb holiday.rb odate.rb \
parsedate2.rb parsedate2.ry parsedate3.rb \
@@ -38,14 +38,14 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/lib/${f} ${PREFIX}/lib/ruby/site_ruby/
.endfor
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/ruby/date2/examples/ja
- ${MKDIR} ${PREFIX}/share/doc/ruby/date2/ja
+ ${MKDIR} ${PREFIX}/share/examples/ruby/date2/ja
.for f in ${EXAMPLES_EN}
- ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/doc/ruby/date2/examples/
+ ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/examples/ruby/date2/
.endfor
.for f in ${EXAMPLES_JA}
- ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/doc/ruby/date2/examples/ja/
+ ${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/examples/ruby/date2/ja/
.endfor
+ ${MKDIR} ${PREFIX}/share/doc/ruby/date2/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/date2/
.endfor
diff --git a/devel/ruby-date2/pkg-descr b/devel/ruby-date2/pkg-descr
index 796bfd9b15db..5e04779add19 100644
--- a/devel/ruby-date2/pkg-descr
+++ b/devel/ruby-date2/pkg-descr
@@ -5,4 +5,6 @@ specified freely in this class. The procedures about holiday
(holiday.rb) and date format (parsedate2.rb, strftime.rb and
strptime.rb) are also available.
+
+Author: Tadayoshi Funaba <tadf@kt.rim.or.jp>
WWW: http://www.kt.rim.or.jp/~tadf/ruby-en.html#date2
diff --git a/devel/ruby-date2/pkg-plist b/devel/ruby-date2/pkg-plist
index d5d3928d247e..99c16d0eb9e6 100644
--- a/devel/ruby-date2/pkg-plist
+++ b/devel/ruby-date2/pkg-plist
@@ -8,16 +8,16 @@ lib/ruby/site_ruby/parsedate3.rb
lib/ruby/site_ruby/qholiday.rb
lib/ruby/site_ruby/strftime.rb
lib/ruby/site_ruby/strptime.rb
+share/examples/ruby/date2/cal.rb
+share/examples/ruby/date2/daylight.rb
+share/examples/ruby/date2/goodfriday.rb
+share/examples/ruby/date2/ja/ncal.rb
+@dirrm share/examples/ruby/date2/ja
+@dirrm share/examples/ruby/date2
share/doc/ruby/date2/CHANGES.en
share/doc/ruby/date2/MANUAL.en
share/doc/ruby/date2/README.en
-share/doc/ruby/date2/examples/cal.rb
-share/doc/ruby/date2/examples/daylight.rb
-share/doc/ruby/date2/examples/goodfriday.rb
-share/doc/ruby/date2/examples/ja/ncal.rb
share/doc/ruby/date2/ja/MANUAL
share/doc/ruby/date2/ja/README
-@dirrm share/doc/ruby/date2/examples/ja
-@dirrm share/doc/ruby/date2/examples
@dirrm share/doc/ruby/date2/ja
@dirrm share/doc/ruby/date2
diff --git a/devel/ruby-intl/Makefile b/devel/ruby-intl/Makefile
index b686bb199558..5574ff781759 100644
--- a/devel/ruby-intl/Makefile
+++ b/devel/ruby-intl/Makefile
@@ -24,19 +24,19 @@ INSTALL_TARGET= site-install
WRKSRC= ${WRKDIR}/${PORTNAME}
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
post-install:
+.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/intl/po/
${INSTALL_DATA} ${WRKSRC}/hello.rb ${PREFIX}/share/examples/ruby/intl/
${INSTALL_DATA} ${WRKSRC}/ja.po ${PREFIX}/share/examples/ruby/intl/po/
-.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/intl/ja
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/intl/
${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/ruby/intl/ja/
diff --git a/devel/ruby-intl/pkg-descr b/devel/ruby-intl/pkg-descr
index c453a34ca20b..f96ca6caee6c 100644
--- a/devel/ruby-intl/pkg-descr
+++ b/devel/ruby-intl/pkg-descr
@@ -1,3 +1,4 @@
Ruby-intl -- A simple wrapper of GNU gettext for ruby
+Author: HIRATA Naoto <hirata-naoto@sannet.ne.jp>
WWW: http://www.page.sannet.ne.jp/hirata-naoto/ruby-e.html
diff --git a/devel/ruby-optparse/Makefile b/devel/ruby-optparse/Makefile
index 3b0709caef60..5686fd3f09cb 100644
--- a/devel/ruby-optparse/Makefile
+++ b/devel/ruby-optparse/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: Ruby-OptionParser
-# Date created: 7 Aug 2000
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: Ruby-OptionParser
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@@ -21,14 +21,14 @@ NO_BUILD= 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-install:
- ${MKDIR} ${PREFIX}/lib/ruby/site_ruby/optparse
+ ${MKDIR} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/optparse
.for f in optparse.rb optparse/shellwords.rb optparse/time.rb
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${f}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${f}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/optparse/ja
diff --git a/devel/ruby-optparse/pkg-descr b/devel/ruby-optparse/pkg-descr
index be0473d5854b..a0f4e3c7fd58 100644
--- a/devel/ruby-optparse/pkg-descr
+++ b/devel/ruby-optparse/pkg-descr
@@ -6,3 +6,6 @@ Features:
* can emit options' summaries
* can add options on the fly
* completion for option/argument
+
+Author: Nobuyoshi.Nakada <nobu.nokada@softhome.net>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=OptionParser \ No newline at end of file
diff --git a/devel/ruby-optparse/pkg-plist b/devel/ruby-optparse/pkg-plist
index c2c979696251..d05a1b66a99c 100644
--- a/devel/ruby-optparse/pkg-plist
+++ b/devel/ruby-optparse/pkg-plist
@@ -1,7 +1,7 @@
-lib/ruby/site_ruby/optparse/shellwords.rb
-lib/ruby/site_ruby/optparse/time.rb
-lib/ruby/site_ruby/optparse.rb
-@dirrm lib/ruby/site_ruby/optparse
+lib/ruby/site_ruby/%%RUBY_VER%%/optparse/shellwords.rb
+lib/ruby/site_ruby/%%RUBY_VER%%/optparse/time.rb
+lib/ruby/site_ruby/%%RUBY_VER%%/optparse.rb
+@dirrm lib/ruby/site_ruby/%%RUBY_VER%%/optparse
share/examples/ruby/optparse/ja/getopts.test
share/examples/ruby/optparse/cmd-ls.rb
share/examples/ruby/optparse/cmd.rb
diff --git a/devel/ruby-property/Makefile b/devel/ruby-property/Makefile
index 196aff414c54..4fa41440dbb5 100644
--- a/devel/ruby-property/Makefile
+++ b/devel/ruby-property/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: Ruby-property
-# Date created: 7 Aug 2000
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: Ruby-property
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@@ -22,15 +22,15 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
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}
post-patch:
${PERL} -i -pe 's|rubyapi.css|../rubyapi.css|g' ${WRKSRC}/Properties-ja.html
do-install:
- ${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/site_ruby
+ ${INSTALL_DATA} ${WRKSRC}/property.rb ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/property/ja
.for f in property-example.rb test.default property.README Properties.html rubyapi.css
diff --git a/devel/ruby-property/pkg-descr b/devel/ruby-property/pkg-descr
index d7e76cbc328e..3959177ab01d 100644
--- a/devel/ruby-property/pkg-descr
+++ b/devel/ruby-property/pkg-descr
@@ -4,4 +4,5 @@ This library, developed after java.util.Properties class of Java
Language, provides simple properties scheme for application
configurations, resources, locale data, etc.
-WWW: http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/index.html
+Author: Hiroshi IGARASHI <igarashi@ueda.info.waseda.ac.jp>
+WWW: http://www.ueda.info.waseda.ac.jp/~igarashi/ruby/Properties.html
diff --git a/devel/ruby-property/pkg-plist b/devel/ruby-property/pkg-plist
index 6df5ac314cef..24df63d345b1 100644
--- a/devel/ruby-property/pkg-plist
+++ b/devel/ruby-property/pkg-plist
@@ -1,4 +1,4 @@
-lib/ruby/site_ruby/property.rb
+lib/ruby/site_ruby/%%RUBY_VER%%/property.rb
share/doc/ruby/property/property-example.rb
share/doc/ruby/property/test.default
share/doc/ruby/property/property.README
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile
index 7b8730e8a03a..5292b8b7cf12 100644
--- a/devel/ruby-racc/Makefile
+++ b/devel/ruby-racc/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: Ruby-Racc
-# Date created: 7 Aug 2000
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: Ruby-Racc
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@@ -20,9 +20,9 @@ RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
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}
MODULES= facade.rb format.rb grammer.rb info.rb iset.rb \
libracc.rb raccp.rb raccs.rb state.rb
@@ -59,11 +59,11 @@ do-install:
${MKDIR} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/racc
${INSTALL_DATA} ${WRKSRC}/ext/cparse/cparse.so \
${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/racc/
+.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/racc
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/examples/ruby/racc/
.endfor
-.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/racc/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/doc.en/${f} ${PREFIX}/share/doc/ruby/racc/
diff --git a/devel/ruby-racc/pkg-descr b/devel/ruby-racc/pkg-descr
index 92ed74dbef18..73abc0871d4a 100644
--- a/devel/ruby-racc/pkg-descr
+++ b/devel/ruby-racc/pkg-descr
@@ -2,4 +2,5 @@ Racc is an LALR(1) parser generator for Ruby. It is written in Ruby
and generates Ruby code. Almost all functions of yacc(1) is
implemented.
+Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
WWW: http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html
diff --git a/devel/ruby-strscan/Makefile b/devel/ruby-strscan/Makefile
index ab7cb3a6817b..da6911e30332 100644
--- a/devel/ruby-strscan/Makefile
+++ b/devel/ruby-strscan/Makefile
@@ -20,9 +20,9 @@ RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
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}
DOCS_EN= README.en \
doc.en/changes.html doc.en/index.html \
diff --git a/devel/ruby-strscan/pkg-descr b/devel/ruby-strscan/pkg-descr
index 3da7d48746c5..2638a28fc9d9 100644
--- a/devel/ruby-strscan/pkg-descr
+++ b/devel/ruby-strscan/pkg-descr
@@ -1,4 +1,5 @@
StrScanner is a fast string scanner class for Ruby. It is very useful
in writing a parser.
+Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
WWW: http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html