1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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. :)
This commit is contained in:
Akinori MUSHA 2000-08-12 20:09:41 +00:00
parent fa205cf012
commit 596ebf8a49
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31584
61 changed files with 269 additions and 229 deletions

View File

@ -22,9 +22,9 @@ INSTALL_TARGET= site-install
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= ChangeLog zlib.en.html
DOCS_JA= zlib.ja.html

View File

@ -1,4 +1,5 @@
This is an extension library to use zlib from Ruby. Ruby/zlib has
original .gz file handler of its own.
Author: Ueno Katsuhiro <katsu@blue.sky.or.jp>
WWW: http://www.blue.sky.or.jp/atelier/#ruby-zlib

View File

@ -22,14 +22,13 @@ RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
BUILD_DEPENDS+= rd2:${PORTSDIR}/textproc/ruby-rdtool
.endif
INSTALL_TARGET= site-install
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY= ${LOCALBASE}/bin/ruby
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
pre-patch:
# ${CHMOD} u+w ${WRKSRC}/extconf.rb
RUBY?= ${LOCALBASE}/bin/ruby
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
do-configure:
@cd ${WRKSRC}; \
@ -41,9 +40,7 @@ post-build:
rd2 iconv.c > iconv.html
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/iconv.so \
${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/iconv
.for f in iconv.html rd.css

View File

@ -4,3 +4,4 @@ Note that this version is still experimental. Report any problems to
the author.
Author: Nobuyoshi.Nakada <nobu.nokada@softhome.net>
WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=iconv

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: Ruby-MySQL
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
# New ports collection makefile for: Ruby-MySQL
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@ -19,19 +19,19 @@ BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
INSTALL_TARGET= site-install
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
do-install:
@cd ${WRKSRC}; \
${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/mysql/ja
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/mysql/

View File

@ -1,4 +1,5 @@
This is a Ruby module for accessing MySQL databases, which has the
same functions as C API.
Author: TOMITA Masahiro <tommy@tmtm.org>
WWW: http://www.tmtm.org/mysql/ruby/README

View File

@ -1,4 +1,4 @@
lib/ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/mysql.so
lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/mysql.so
share/doc/ruby/mysql/ja/README.jp
share/doc/ruby/mysql/README
@dirrm share/doc/ruby/mysql/ja

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: ruby-postgres
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: ruby-postgres
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -23,9 +23,9 @@ CONFIGURE_ARGS+= --with-pgsql-include-dir="${PGDIR}/include" \
--with-pgsql-lib-dir="${PGDIR}/lib"
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY= ${PREFIX}/bin/ruby
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
RUBY?= ${PREFIX}/bin/ruby
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
PGDIR?= ${PREFIX}/pgsql
@ -36,9 +36,9 @@ do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/postgres
${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby/postgres/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/postgres/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/postgres/

View File

@ -1,4 +1,5 @@
This is an extention module to access PostgreSQL database from Ruby.
This library works with PostgreSQL 6.4/6.5 and 7.0.
Author: Noboru Saitou <noborus@mb.kcom.ne.jp>
WWW: http://webclub.kcom.ne.jp/mb/noborus/postgres/index.html

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: ruby-postgres
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: ruby-postgres
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -23,9 +23,9 @@ CONFIGURE_ARGS+= --with-pgsql-include-dir="${PGDIR}/include" \
--with-pgsql-lib-dir="${PGDIR}/lib"
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY= ${PREFIX}/bin/ruby
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
RUBY?= ${PREFIX}/bin/ruby
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
PGDIR?= ${PREFIX}/pgsql
@ -36,9 +36,9 @@ do-configure:
@cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb ${CONFIGURE_ARGS}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/postgres
${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby/postgres/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/postgres/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/postgres/

View File

@ -1,4 +1,5 @@
This is an extention module to access PostgreSQL database from Ruby.
This library works with PostgreSQL 6.4/6.5 and 7.0.
Author: Noboru Saitou <noborus@mb.kcom.ne.jp>
WWW: http://webclub.kcom.ne.jp/mb/noborus/postgres/index.html

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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/

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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/

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -24,9 +24,9 @@ PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
USE_PERL5= yes
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}
EXAMPLES= htmlparse.rb http.rb perllib.rb ping.rb \
test.rb xmlparser.rb
@ -44,11 +44,11 @@ post-build:
post-install:
@cd ${WRKSRC}/Ruby; \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/perl
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/samples/${f} ${PREFIX}/share/examples/ruby/perl/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/perl/ja
${INSTALL_DATA} ${WRKSRC}/README.ja ${PREFIX}/share/doc/ruby/perl/ja/
.endif

View File

@ -2,4 +2,5 @@ This is a Ruby extension module to use the functions of Perl from Ruby.
You can also call Ruby functions back from within the Perl code.
Author: Yoshida Masato <yoshidam@yoshidam.net>
WWW: http://www.bekkoame.ne.jp/~yoshidam/Ruby.html#perl

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: Ruby/Python
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
# New ports collection makefile for: Ruby/Python
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@ -23,9 +23,9 @@ RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
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; \

View File

@ -11,4 +11,5 @@ enables Ruby users to have the advantages of both languages:
If you are attracted by Python modules but not fully satisfied with
Python's syntax or type system, try this library!
Author: Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
WWW: http://www.goto.info.waseda.ac.jp/~fukusima/ruby/python-e.html

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -36,8 +36,8 @@ PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
BRANCH_NAME= 1.4
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
@ -62,7 +62,7 @@ TK_LIB= tk${TK_VERSION}${TCL_JP}
TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
RUBY= ${LOCALBASE}/bin/ruby
RUBY?= ${LOCALBASE}/bin/ruby
EXTS= tcltklib tk
do-configure:
@ -81,14 +81,14 @@ do-install:
.for dir in ${EXTS}
@${ECHO_MSG} "Installing in ${dir}..."
@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
.endif
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}/tcltklib
${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
.endif

View File

@ -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

View File

@ -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/

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: irb
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: irb
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -20,22 +20,20 @@ MAINTAINER= yasuf@big.or.jp
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
NO_BUILD= yes
WRKSRC= ${WRKDIR}/irb
PLIST_SUB+= RUBY_VER="${RUBY_VER}"
RUBY= ${LOCALBASE}/bin/ruby
RUBY_VER= 1.4
RUBY?= ${LOCALBASE}/bin/ruby
RUBY_VER?= 1.4
post-patch:
${PERL} -i -pe '$$. == 1 && s,^#!\s*\S+,#!${RUBY},' ${WRKSRC}/irb.rb
${RM} -f ${WRKSRC}/instirb.rb
do-build:
( cd ${WRKSRC}; \
${MV} irb.rb irb.tmpl; \
${SED} -e '1s,^#!.*$$,#!${RUBY},' irb.tmpl > irb )
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/irb ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/irb.rb ${PREFIX}/bin/irb
${MKDIR} ${PREFIX}/lib/ruby/${RUBY_VER}/irb
${INSTALL_DATA} ${WRKSRC}/*.rb ${PREFIX}/lib/ruby/${RUBY_VER}/irb
.if !defined(NOPORTDOCS)

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -36,8 +36,8 @@ PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
BRANCH_NAME= 1.4
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
@ -62,7 +62,7 @@ TK_LIB= tk${TK_VERSION}${TCL_JP}
TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
RUBY= ${LOCALBASE}/bin/ruby
RUBY?= ${LOCALBASE}/bin/ruby
EXTS= tcltklib tk
do-configure:
@ -81,14 +81,14 @@ do-install:
.for dir in ${EXTS}
@${ECHO_MSG} "Installing in ${dir}..."
@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
.endif
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}/tcltklib
${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
.endif

View File

@ -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

View File

@ -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/

View File

@ -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

View File

@ -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/

View File

@ -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>

View File

@ -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

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: Ruby-html-parser
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
# New ports collection makefile for: Ruby-html-parser
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@ -22,12 +22,16 @@ 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= formatter.rb html-parser.rb sgml-parser.rb
do-install:
@cd ${WRKSRC}; ${RUBY} install.rb
.for f in ${MODULES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/html-parser
${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/ruby/html-parser/

View File

@ -2,4 +2,5 @@ The html-parser package is a Ruby implementation of the Python's SGML
parser (sgmllib.py), HTML parser (htmllib.py) and Formatter
(formatter.py).
Author: Takahiro Maebashi <maebashi@iij.ad.jp>
WWW: http://www.jin.gr.jp/~nahi/Ruby/html-parser/README.html

View File

@ -1,5 +1,5 @@
lib/ruby/site_ruby/formatter.rb
lib/ruby/site_ruby/html-parser.rb
lib/ruby/site_ruby/sgml-parser.rb
lib/ruby/site_ruby/%%RUBY_VER%%/formatter.rb
lib/ruby/site_ruby/%%RUBY_VER%%/html-parser.rb
lib/ruby/site_ruby/%%RUBY_VER%%/sgml-parser.rb
share/doc/ruby/html-parser/README.html
@dirrm share/doc/ruby/html-parser

View File

@ -16,21 +16,28 @@ MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
racc:${PORTSDIR}/devel/ruby-racc \
${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/strscan.so:${PORTSDIR}/devel/ruby-strscan \
${LOCALBASE}/lib/ruby/site_ruby/optparse.rb:${PORTSDIR}/devel/ruby-optparse
${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/devel/ruby-strscan \
${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/strscan.so:${PORTSDIR}/devel/ruby-strscan \
${LOCALBASE}/lib/ruby/site_ruby/optparse.rb:${PORTSDIR}/devel/ruby-optparse
${RUBY_SITEARCHLIBDIR}/strscan.so:${PORTSDIR}/devel/ruby-strscan \
${RUBY_SITELIBDIR}/optparse.rb:${PORTSDIR}/devel/ruby-optparse
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}
RUBY_SITELIBDIR?= ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}
RUBY_SITEARCHLIBDIR?= ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
DOCS_EN= README.html doc/rd-draft.rd doc/rd-draft.html
DOCS_JA= README.ja.html doc/dev-note.rd.ja doc/rd-draft.rd.ja \
doc/dev-note.ja.html doc/rd-draft.ja.html
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${RUBY} rdtoolconf.rb
@ -53,23 +60,24 @@ post-build:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/rmi2html.rb ${PREFIX}/bin/rmi2html
${INSTALL_DATA} ${WRKSRC}/rd/rd2rmi-lib.rb \
${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/rd/
${MKDIR} ${PREFIX}/share/examples/ruby/rd
${CP} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/rd/dot.rd2rc \
${PREFIX}/share/examples/ruby/rd/
${INSTALL_DATA} ${WRKSRC}/rd/rd2rmi-lib.rb ${RUBY_SITELIBDIR}/rd/
${MKDIR} ${EMACSLISPDIR}
${INSTALL_DATA} ${WRKSRC}/utils/rd-mode.el ${EMACSLISPDIR}/
${MKDIR} ${XEMACSLISPDIR}
${LN} -sf ${EMACSLISPDIR}/rd-mode.el ${XEMACSLISPDIR}
${INSTALL_SCRIPT} ${WRKSRC}/utils/rdswap.rb ${PREFIX}/bin/rdswap
.if !defined(NOPORTDOCS)
rd2 ${PREFIX}/share/doc/ruby/optparse/ja/optparse.ja.rd \
> ${PREFIX}/share/doc/ruby/optparse/ja/optparse.ja.html
${MKDIR} ${PREFIX}/share/examples/ruby/rd
${CP} ${RUBY_SITELIBDIR}/rd/dot.rd2rc ${PREFIX}/share/examples/ruby/rd/
${MKDIR} ${PREFIX}/share/doc/ruby/rd/ja
${INSTALL_DATA} ${WRKSRC}/README.html ${PREFIX}/share/doc/ruby/rd/
${INSTALL_DATA} ${WRKSRC}/README.ja.html ${PREFIX}/share/doc/ruby/rd/ja/
${INSTALL_DATA} ${WRKSRC}/doc/dev-note.ja.html ${PREFIX}/share/doc/ruby/rd/ja/
${INSTALL_DATA} ${WRKSRC}/doc/rd-draft.html ${PREFIX}/share/doc/ruby/rd/
${INSTALL_DATA} ${WRKSRC}/doc/rd-draft.ja.html ${PREFIX}/share/doc/ruby/rd/ja/
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/rd/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/rd/ja/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -4,4 +4,5 @@ RD is a multipurpose documentation format created for documentating
Ruby and output of Ruby world. Briefly, RD is to Ruby as POD is to
Perl.
Author: Tosh (Toshiro Kuwabara) <toshirok@yb3.so-net.ne.jp>
WWW: http://www2.pos.to/~tosh/ruby/rdtool/en/index.html

View File

@ -19,10 +19,14 @@ share/emacs/site-lisp/rd-mode.el
lib/xemacs/site-lisp/rd-mode.el
@unexec rmdir -p %D/share/emacs/site-lisp 2>/dev/null || true
@unexec rmdir -p %D/lib/xemacs/site-lisp 2>/dev/null || true
share/doc/ruby/optparse/ja/optparse.ja.html
share/doc/ruby/rd/README.html
share/doc/ruby/rd/rd-draft.html
share/doc/ruby/rd/rd-draft.rd
share/doc/ruby/rd/ja/README.ja.html
share/doc/ruby/rd/ja/dev-note.ja.html
share/doc/ruby/rd/ja/dev-note.rd.ja
share/doc/ruby/rd/ja/rd-draft.ja.html
share/doc/ruby/rd/ja/rd-draft.rd.ja
@dirrm share/doc/ruby/rd/ja
@dirrm share/doc/ruby/rd

View File

@ -33,9 +33,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
INSTALL_TARGET= site-install
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}
EXAMPLES_EN= dtd/ext1.dtd dtd/ext2.dtd dtd/extdtd.rb dtd/extdtd.xml \
namespaces/namespace1.rb namespaces/namespace1.xml \
@ -59,6 +59,7 @@ do-configure:
${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/xmlparser/dtd
${MKDIR} ${PREFIX}/share/examples/ruby/xmlparser/namespaces
${MKDIR} ${PREFIX}/share/examples/ruby/xmlparser/ja
@ -70,7 +71,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/samples/${f} \
${PREFIX}/share/examples/ruby/xmlparser/ja/${f}
.endfor
.if !defined(NOPORTDOCS)
.for f in ${RD_DOCS}
@cd ${WRKSRC}/lib; \
rd2 ${f} > ${f:S/.rb$/.html/}

View File

@ -1,3 +1,4 @@
This is a Ruby module to access James Clark's XML Parser ToolKit. ("expat")
Author: Yoshida Masato <yoshidam@yoshidam.net>
WWW: http://www.bekkoame.ne.jp/~yoshidam/Ruby.html#xmlparser

View File

@ -26,9 +26,9 @@ SNAPSHOT_DATE= 2000.08.04
APXS= ${LOCALBASE}/sbin/apxs
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= ChangeLog README.en
DOCS_JA= README.ja

View File

@ -2,4 +2,5 @@ mod_ruby embeds the Ruby interpreter into the Apache web server,
allowing Ruby CGI scripts to be executed natively. These scripts will
start up much faster than without mod_ruby.
Author: Shugo Maeda <shugo@netlab.co.jp>
WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=mod_ruby

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: ruby-gtk
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: ruby-gtk
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -21,9 +21,9 @@ USE_XLIB= yes
WRKSRC= ${WRKDIR}/gtk-${PORTVERSION}
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}
.if defined(WITHOUT_IMLIB)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
@ -37,6 +37,7 @@ do-configure:
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/*.rb ${PREFIX}/lib/ruby/${RUBY_VER}
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/gtk
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${PREFIX}/share/examples/ruby/gtk
${MKDIR} ${PREFIX}/share/examples/ruby/gtk/browser
@ -45,7 +46,6 @@ post-install:
${MKDIR} ${PREFIX}/share/examples/ruby/gtk/gdkimlib
${INSTALL_DATA} ${WRKSRC}/sample/gdkimlib/*.rb ${PREFIX}/share/examples/ruby/gtk/gdkimlib
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/gtk/ja
${INSTALL_DATA} ${WRKSRC}/doc/api/* ${PREFIX}/share/doc/ruby/gtk
${INSTALL_DATA} ${WRKSRC}/doc/api-ja/* ${PREFIX}/share/doc/ruby/gtk/ja

View File

@ -1,6 +1,7 @@
Ruby extension module to use Gtk+.
WWW: http://www.ruby-lang.org/gtk/
Author: Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp>
WWW: http://www.ruby-lang.org/gtk/
- Yasuhiro Fukuma
yasuf@bsdclub.org

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: ruby-gtk
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: ruby-gtk
# Date created: 19 April 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -21,9 +21,9 @@ USE_XLIB= yes
WRKSRC= ${WRKDIR}/gtk-${PORTVERSION}
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}
.if defined(WITHOUT_IMLIB)
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
@ -37,6 +37,7 @@ do-configure:
post-install:
${INSTALL_DATA} ${WRKSRC}/lib/*.rb ${PREFIX}/lib/ruby/${RUBY_VER}
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/gtk
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${PREFIX}/share/examples/ruby/gtk
${MKDIR} ${PREFIX}/share/examples/ruby/gtk/browser
@ -45,7 +46,6 @@ post-install:
${MKDIR} ${PREFIX}/share/examples/ruby/gtk/gdkimlib
${INSTALL_DATA} ${WRKSRC}/sample/gdkimlib/*.rb ${PREFIX}/share/examples/ruby/gtk/gdkimlib
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/gtk/ja
${INSTALL_DATA} ${WRKSRC}/doc/api/* ${PREFIX}/share/doc/ruby/gtk
${INSTALL_DATA} ${WRKSRC}/doc/api-ja/* ${PREFIX}/share/doc/ruby/gtk/ja

View File

@ -1,6 +1,7 @@
Ruby extension module to use Gtk+.
WWW: http://www.ruby-lang.org/gtk/
Author: Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp>
WWW: http://www.ruby-lang.org/gtk/
- Yasuhiro Fukuma
yasuf@bsdclub.org

View File

@ -24,9 +24,9 @@ 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}
QTLIBDIR= ${X11BASE}/lib
QTINCDIR= ${X11BASE}/include/X11/qt

View File

@ -24,9 +24,9 @@ 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}
QTLIBDIR= ${X11BASE}/lib
QTINCDIR= ${X11BASE}/include/X11/qt

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -36,8 +36,8 @@ PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
BRANCH_NAME= 1.4
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
@ -62,7 +62,7 @@ TK_LIB= tk${TK_VERSION}${TCL_JP}
TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
RUBY= ${LOCALBASE}/bin/ruby
RUBY?= ${LOCALBASE}/bin/ruby
EXTS= tcltklib tk
do-configure:
@ -81,14 +81,14 @@ do-install:
.for dir in ${EXTS}
@${ECHO_MSG} "Installing in ${dir}..."
@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
.endif
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}/tcltklib
${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
.endif

View File

@ -1,6 +1,6 @@
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
# New ports collection makefile for: rubytk
# Date created: 15 March 1999
# Whom: Yasuhiro Fukuma <yasuf@big.or.jp>
#
# $FreeBSD$
#
@ -36,8 +36,8 @@ PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
BRANCH_NAME= 1.4
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
RUBY_VER?= 1.4
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
DOCDIR= ${PREFIX}/share/doc/ruby
EXAMPLESDIR= ${PREFIX}/share/examples/ruby
@ -62,7 +62,7 @@ TK_LIB= tk${TK_VERSION}${TCL_JP}
TCL_DIR= `echo "${TCL_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
RUBY= ${LOCALBASE}/bin/ruby
RUBY?= ${LOCALBASE}/bin/ruby
EXTS= tcltklib tk
do-configure:
@ -81,14 +81,14 @@ do-install:
.for dir in ${EXTS}
@${ECHO_MSG} "Installing in ${dir}..."
@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE} ${INSTALL_TARGET}
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/sample/* ${EXAMPLESDIR}/${dir}
.endif
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${EXAMPLESDIR}/tcltklib/demo
${INSTALL_DATA} ${WRKSRC}/tcltklib/demo/* ${EXAMPLESDIR}/tcltklib/demo
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}/tcltklib
${INSTALL_DATA} ${WRKSRC}/tcltklib/*.euc ${DOCDIR}/tcltklib
.endif