diff options
61 files changed, 269 insertions, 229 deletions
diff --git a/archivers/ruby-zlib/Makefile b/archivers/ruby-zlib/Makefile index 01a422f9e46..a7cae289dfe 100644 --- a/archivers/ruby-zlib/Makefile +++ b/archivers/ruby-zlib/Makefile @@ -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 diff --git a/archivers/ruby-zlib/pkg-descr b/archivers/ruby-zlib/pkg-descr index f04eb43d2fa..271c3e36df7 100644 --- a/archivers/ruby-zlib/pkg-descr +++ b/archivers/ruby-zlib/pkg-descr @@ -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 diff --git a/converters/ruby-iconv/Makefile b/converters/ruby-iconv/Makefile index bbeb8853e42..b22a6c3e59f 100644 --- a/converters/ruby-iconv/Makefile +++ b/converters/ruby-iconv/Makefile @@ -22,14 +22,13 @@ RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby BUILD_DEPENDS+= rd2:${PORTSDIR}/textproc/ruby-rdtool .endif -PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" +INSTALL_TARGET= site-install -RUBY= ${LOCALBASE}/bin/ruby -RUBY_VER= 1.4 -RUBY_ARCH= ${ARCH}-freebsd${OSREL} +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" -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 diff --git a/converters/ruby-iconv/pkg-descr b/converters/ruby-iconv/pkg-descr index c2465e1ded1..704e0faf350 100644 --- a/converters/ruby-iconv/pkg-descr +++ b/converters/ruby-iconv/pkg-descr @@ -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
\ No newline at end of file diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile index 5dcff66b2e3..2c3a6a1bb40 100644 --- a/databases/ruby-mysql/Makefile +++ b/databases/ruby-mysql/Makefile @@ -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/ diff --git a/databases/ruby-mysql/pkg-descr b/databases/ruby-mysql/pkg-descr index 189a24aa6b3..37fa1e8b836 100644 --- a/databases/ruby-mysql/pkg-descr +++ b/databases/ruby-mysql/pkg-descr @@ -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 diff --git a/databases/ruby-mysql/pkg-plist b/databases/ruby-mysql/pkg-plist index 63cb1ac4de4..b62f12b041a 100644 --- a/databases/ruby-mysql/pkg-plist +++ b/databases/ruby-mysql/pkg-plist @@ -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 diff --git a/databases/ruby-postgres/Makefile b/databases/ruby-postgres/Makefile index 1901405a380..5c9548e373f 100644 --- a/databases/ruby-postgres/Makefile +++ b/databases/ruby-postgres/Makefile @@ -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/ diff --git a/databases/ruby-postgres/pkg-descr b/databases/ruby-postgres/pkg-descr index b16cc402eb5..d9bdd0f48c5 100644 --- a/databases/ruby-postgres/pkg-descr +++ b/databases/ruby-postgres/pkg-descr @@ -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 diff --git a/databases/rubygem-postgres/Makefile b/databases/rubygem-postgres/Makefile index 1901405a380..5c9548e373f 100644 --- a/databases/rubygem-postgres/Makefile +++ b/databases/rubygem-postgres/Makefile @@ -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/ diff --git a/databases/rubygem-postgres/pkg-descr b/databases/rubygem-postgres/pkg-descr index b16cc402eb5..d9bdd0f48c5 100644 --- a/databases/rubygem-postgres/pkg-descr +++ b/databases/rubygem-postgres/pkg-descr @@ -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 diff --git a/devel/ruby-amstd/Makefile b/devel/ruby-amstd/Makefile index 7d2b60a93df..6933db8f057 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 b521016fc69..c9ff612a862 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 c54047d20f4..a1beb302aca 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 796bfd9b15d..5e04779add1 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 d5d3928d247..99c16d0eb9e 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 b686bb19955..5574ff78175 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 c453a34ca20..f96ca6caee6 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 3b0709caef6..5686fd3f09c 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 be0473d5854..a0f4e3c7fd5 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 c2c97969625..d05a1b66a99 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 196aff414c5..4fa41440dbb 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 d7e76cbc328..3959177ab01 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 6df5ac314ce..24df63d345b 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 7b8730e8a03..5292b8b7cf1 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 92ed74dbef1..73abc0871d4 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 ab7cb3a6817..da6911e3033 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 3da7d48746c..2638a28fc9d 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 diff --git a/lang/ruby-perl/Makefile b/lang/ruby-perl/Makefile index 26f55eabef9..c4f3236d7cd 100644 --- a/lang/ruby-perl/Makefile +++ b/lang/ruby-perl/Makefile @@ -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 diff --git a/lang/ruby-perl/pkg-descr b/lang/ruby-perl/pkg-descr index e9217e272b3..29827ca9dc3 100644 --- a/lang/ruby-perl/pkg-descr +++ b/lang/ruby-perl/pkg-descr @@ -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 diff --git a/lang/ruby-python/Makefile b/lang/ruby-python/Makefile index b2a0b261271..c472d8dc611 100644 --- a/lang/ruby-python/Makefile +++ b/lang/ruby-python/Makefile @@ -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; \ diff --git a/lang/ruby-python/pkg-descr b/lang/ruby-python/pkg-descr index 52f1faa2570..3bbc7944178 100644 --- a/lang/ruby-python/pkg-descr +++ b/lang/ruby-python/pkg-descr @@ -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 diff --git a/lang/ruby-tcltklib/Makefile b/lang/ruby-tcltklib/Makefile index f446dcb2832..f54523d1957 100644 --- a/lang/ruby-tcltklib/Makefile +++ b/lang/ruby-tcltklib/Makefile @@ -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 diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile index 1567638fd31..8cb8924bb6d 100644 --- a/lang/ruby/Makefile +++ b/lang/ruby/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/ruby/pkg-descr b/lang/ruby/pkg-descr index f42fdba241c..a2d4b342410 100644 --- a/lang/ruby/pkg-descr +++ b/lang/ruby/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/ diff --git a/lang/ruby14-irb/Makefile b/lang/ruby14-irb/Makefile index 8f2a350e8bd..13514100a60 100644 --- a/lang/ruby14-irb/Makefile +++ b/lang/ruby14-irb/Makefile @@ -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) diff --git a/lang/ruby14-tcltklib/Makefile b/lang/ruby14-tcltklib/Makefile index f446dcb2832..f54523d1957 100644 --- a/lang/ruby14-tcltklib/Makefile +++ b/lang/ruby14-tcltklib/Makefile @@ -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 diff --git a/lang/ruby14/Makefile b/lang/ruby14/Makefile index 1567638fd31..8cb8924bb6d 100644 --- a/lang/ruby14/Makefile +++ b/lang/ruby14/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/ruby14/pkg-descr b/lang/ruby14/pkg-descr index f42fdba241c..a2d4b342410 100644 --- a/lang/ruby14/pkg-descr +++ b/lang/ruby14/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/ diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile index 1567638fd31..8cb8924bb6d 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 f42fdba241c..a2d4b342410 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/ diff --git a/math/ruby-bigfloat/Makefile b/math/ruby-bigfloat/Makefile index 696aeccc7c3..4547a335dd8 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 8627861ce7a..1bbe641a0f1 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 diff --git a/textproc/ruby-html-parser/Makefile b/textproc/ruby-html-parser/Makefile index 63606372933..ebb3d32bb41 100644 --- a/textproc/ruby-html-parser/Makefile +++ b/textproc/ruby-html-parser/Makefile @@ -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/ diff --git a/textproc/ruby-html-parser/pkg-descr b/textproc/ruby-html-parser/pkg-descr index 86f3fe10285..7e308b7db1f 100644 --- a/textproc/ruby-html-parser/pkg-descr +++ b/textproc/ruby-html-parser/pkg-descr @@ -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 diff --git a/textproc/ruby-html-parser/pkg-plist b/textproc/ruby-html-parser/pkg-plist index 79190f3860f..8f7bb694a3a 100644 --- a/textproc/ruby-html-parser/pkg-plist +++ b/textproc/ruby-html-parser/pkg-plist @@ -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 diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index 38ba1b5ef9b..bb03c7b4402 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -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> diff --git a/textproc/ruby-rdtool/pkg-descr b/textproc/ruby-rdtool/pkg-descr index df1cca5115a..c093d7be602 100644 --- a/textproc/ruby-rdtool/pkg-descr +++ b/textproc/ruby-rdtool/pkg-descr @@ -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 diff --git a/textproc/ruby-rdtool/pkg-plist b/textproc/ruby-rdtool/pkg-plist index 0fe70532af7..b90d9f46643 100644 --- a/textproc/ruby-rdtool/pkg-plist +++ b/textproc/ruby-rdtool/pkg-plist @@ -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 diff --git a/textproc/ruby-xmlparser/Makefile b/textproc/ruby-xmlparser/Makefile index cfff8055c43..985922f1479 100644 --- a/textproc/ruby-xmlparser/Makefile +++ b/textproc/ruby-xmlparser/Makefile @@ -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/} diff --git a/textproc/ruby-xmlparser/pkg-descr b/textproc/ruby-xmlparser/pkg-descr index 1c04b305648..44d7f6ab03f 100644 --- a/textproc/ruby-xmlparser/pkg-descr +++ b/textproc/ruby-xmlparser/pkg-descr @@ -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 diff --git a/www/mod_ruby/Makefile b/www/mod_ruby/Makefile index 9f15d78155f..bbda83a3e96 100644 --- a/www/mod_ruby/Makefile +++ b/www/mod_ruby/Makefile @@ -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 diff --git a/www/mod_ruby/pkg-descr b/www/mod_ruby/pkg-descr index 0b3c9a7ee39..adc16063fe3 100644 --- a/www/mod_ruby/pkg-descr +++ b/www/mod_ruby/pkg-descr @@ -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 diff --git a/x11-toolkits/ruby-gtk/Makefile b/x11-toolkits/ruby-gtk/Makefile index 3013ac96265..cd437db4238 100644 --- a/x11-toolkits/ruby-gtk/Makefile +++ b/x11-toolkits/ruby-gtk/Makefile @@ -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 diff --git a/x11-toolkits/ruby-gtk/pkg-descr b/x11-toolkits/ruby-gtk/pkg-descr index dc5832044f8..b8e22fef3f4 100644 --- a/x11-toolkits/ruby-gtk/pkg-descr +++ b/x11-toolkits/ruby-gtk/pkg-descr @@ -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 diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile index 3013ac96265..cd437db4238 100644 --- a/x11-toolkits/ruby-gtk2/Makefile +++ b/x11-toolkits/ruby-gtk2/Makefile @@ -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 diff --git a/x11-toolkits/ruby-gtk2/pkg-descr b/x11-toolkits/ruby-gtk2/pkg-descr index dc5832044f8..b8e22fef3f4 100644 --- a/x11-toolkits/ruby-gtk2/pkg-descr +++ b/x11-toolkits/ruby-gtk2/pkg-descr @@ -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 diff --git a/x11-toolkits/ruby-qt/Makefile b/x11-toolkits/ruby-qt/Makefile index 942ecb62dec..01b287ae53a 100644 --- a/x11-toolkits/ruby-qt/Makefile +++ b/x11-toolkits/ruby-qt/Makefile @@ -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 diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile index 942ecb62dec..01b287ae53a 100644 --- a/x11-toolkits/ruby-qt2/Makefile +++ b/x11-toolkits/ruby-qt2/Makefile @@ -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 diff --git a/x11-toolkits/ruby-tk/Makefile b/x11-toolkits/ruby-tk/Makefile index f446dcb2832..f54523d1957 100644 --- a/x11-toolkits/ruby-tk/Makefile +++ b/x11-toolkits/ruby-tk/Makefile @@ -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 diff --git a/x11-toolkits/ruby14-tk/Makefile b/x11-toolkits/ruby14-tk/Makefile index f446dcb2832..f54523d1957 100644 --- a/x11-toolkits/ruby14-tk/Makefile +++ b/x11-toolkits/ruby14-tk/Makefile @@ -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 |