pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby18 Make this package to meta packagea contain...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91899ce08659
branches:  trunk
changeset: 490262:91899ce08659
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 06 16:58:13 2005 +0000

description:
Make this package to meta packagea containing ruby18-base, ruby18-iconv,
ruby18-dbm, ruby18-gdbm, ruby18-curses, ruby18-readline, ruby18-digest,
ruby18-opnessl, ruby18-tcltklib and ruby18-tk.

Bump PKGREVISION.

diffstat:

 lang/ruby18/DESCR            |   22 +-
 lang/ruby18/MESSAGE          |   14 -
 lang/ruby18/Makefile         |  127 +-----
 lang/ruby18/PLIST            |  926 +------------------------------------------
 lang/ruby18/distinfo         |   16 -
 lang/ruby18/patches/patch-aa |   52 --
 lang/ruby18/patches/patch-ab |   52 --
 lang/ruby18/patches/patch-al |   36 -
 lang/ruby18/patches/patch-am |   46 --
 lang/ruby18/patches/patch-an |   13 -
 lang/ruby18/patches/patch-ao |   13 -
 lang/ruby18/patches/patch-ap |   13 -
 lang/ruby18/patches/patch-aq |   28 -
 lang/ruby18/patches/patch-ar |   21 -
 lang/ruby18/patches/patch-as |   24 -
 lang/ruby18/patches/patch-at |   12 -
 16 files changed, 25 insertions(+), 1390 deletions(-)

diffs (truncated from 1496 to 300 lines):

diff -r 5b89e3aa1242 -r 91899ce08659 lang/ruby18/DESCR
--- a/lang/ruby18/DESCR Sun Mar 06 16:56:55 2005 +0000
+++ b/lang/ruby18/DESCR Sun Mar 06 16:58:13 2005 +0000
@@ -1,19 +1,5 @@
-Ruby is the interpreted scripting language for quick and
-easy object-oriented programming.  It has many features to
-process text files and to do system management tasks (as in
-Perl).  It is simple, straight-forward, and extensible.
-
-Features of Ruby are shown below.
+This a meta package including Ruby ${RUBY_VERSION} full release.
 
-  + Simple Syntax
-  + *Normal* Object-Oriented features (ex. class, method calls)
-  + *Advanced* Object-Oriented features (ex. Mix-in, Singleton-method)
-  + Operator Overloading
-  + Exception Handling
-  + Iterators and Closures
-  + Garbage Collection
-  + Dynamic Loading of Object files (on some architecture)
-  + Highly Portable (works on many UNIX machines, and on DOS,
-    Windows, Mac, BeOS etc.)
-
-This package is Ruby 1.8 based release.
+It includes ruby18-base, ruby18-iconv, ruby18-dbm, ruby18-gdbm,
+ruby18-curses, ruby18-readline, ruby18-digest, ruby18-openssl,
+ruby18-tcltk and ruby18-tk package.
diff -r 5b89e3aa1242 -r 91899ce08659 lang/ruby18/MESSAGE
--- a/lang/ruby18/MESSAGE       Sun Mar 06 16:56:55 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2005/02/21 15:29:15 taca Exp $
-
-Note that a number of packages which are installed as default with
-the Ruby 1.8 distribution are provided as separate packages:
-
-       converters/ruby-iconv:          Iconv module
-       databases/ruby-gdbm:            GDBM module
-       devel/ruby-curses:              Curses module
-       devel/ruby-readline:            readline module
-       x11/ruby-tcltklib:              Tcl/Tk libraries
-       x11/ruby-tk:                    Tk modules
-
-===========================================================================
diff -r 5b89e3aa1242 -r 91899ce08659 lang/ruby18/Makefile
--- a/lang/ruby18/Makefile      Sun Mar 06 16:56:55 2005 +0000
+++ b/lang/ruby18/Makefile      Sun Mar 06 16:58:13 2005 +0000
@@ -1,124 +1,35 @@
-# $NetBSD: Makefile,v 1.5 2005/02/21 15:29:15 taca Exp $
+# $NetBSD: Makefile,v 1.6 2005/03/06 16:58:13 taca Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
 PKGNAME=       ${RUBY_PKGPREFIX}-${RUBY_VERSION}
-PKGREVISION=   1
+PKGREVISION=   3
 CATEGORIES=    lang ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 
 MAINTAINER=    taca%NetBSD.org@localhost
-HOMEPAGE=      ${RUBY_HOMEPAGE}
-COMMENT=       Ruby programming language 1.8 based release
+HOMEPAGE=      http://www.ruby-lang.org/en/
+COMMENT=       Ruby programming language ${RUBY_VERSION} meta package
 
-CONFLICTS+=    ruby-base-[1-9]*
-CONFLICTS+=    ruby${RUBY_VER}-dbm-* ruby${RUBY_VER}-digest-*
-CONFLICTS+=    ruby${RUBY_VER}-openssl-* ruby${RUBY_VER}-zlib-* 
+DEPENDS+= ${RUBY_PKGPREFIX}-base>=${RUBY_VERSION}:../../lang/ruby18-base
+DEPENDS+= ${RUBY_PKGPREFIX}-iconv>=${RUBY_VERSION}nb1:../../converters/ruby-iconv
+DEPENDS+= ${RUBY_PKGPREFIX}-dbm>=${RUBY_VERSION}nb1:../../databases/ruby-dbm
+DEPENDS+= ${RUBY_PKGPREFIX}-gdbm>=${RUBY_VERSION}nb1:../../databases/ruby-gdbm
+DEPENDS+= ${RUBY_PKGPREFIX}-curses>=${RUBY_VERSION}nb2:../../devel/ruby-curses
+DEPENDS+= ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}nb1:../../devel/ruby-readline
+DEPENDS+= ${RUBY_PKGPREFIX}-digest>=${RUBY_VERSION}nb1:../../security/ruby-digest
+DEPENDS+= ${RUBY_PKGPREFIX}-openssl>=${RUBY_VERSION}nb1:../../security/ruby-openssl
+DEPENDS+= ${RUBY_PKGPREFIX}-tcltllib>=${RUBY_VERSION}nb2:../../x11/ruby-tcltklib
+DEPENDS+= ${RUBY_PKGPREFIX}-tk>=${RUBY_VERSION}nb2:../../x11/ruby-tk
 
 RUBY_VERSION=          ${RUBY18_VERSION}
-USE_BUILDLINK3=                yes
-GNU_CONFIGURE=         yes
-TEST_TARGET=           test
-CONFIGURE_ARGS+=       --enable-shared
-CONFIGURE_ENV+=                PREFIX="${PREFIX}"
-INSTALL_TARGET=                install install-doc
-WRKSRC=                        ${RUBY_WRKSRC}
+NO_CHECKSUM=           yes
+NO_CONFIGURE=          yes
+NO_BUILD=              yes
 
-# Ruby build process depends on config.status's content
-CONFIG_STATUS_OVERRIDE=        # empty
+do-install:
+       @${ECHO_MSG} This os only a meta package.
 
 .include "../../lang/ruby/rubyversion.mk"
-
-.if !empty(RUBY_SUFFIX)
-CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}"
-.endif
-
-DOCS=          COPYING COPYING.ja ChangeLog README \
-               README.EXT README.EXT.ja README.ja ToDo \
-               doc/ChangeLog-1.8.0 doc/NEWS \
-               doc/forwardable.rd doc/forwardable.rd.ja \
-               doc/shell.rd doc/shell.rd.ja doc/irb/irb-tools.rd.ja \
-               doc/irb/irb.rd doc/irb/irb.rd.ja
-EXT_DOCS=      bigdecimal/bigdecimal_en.html bigdecimal/bigdecimal_ja.html \
-               digest/digest.txt digest/digest.txt.ja dl/doc/dl.txt \
-               enumerator/enumerator.txt etc/etc.txt etc/etc.txt.ja \
-               syslog/syslog.txt zlib/doc/zlib.rd
-
-BIGDECIMAL_EXAMPLES=   linear.rb nlsolve.rb pi.rb
-DL_EXAMPLES=           c++sample.C c++sample.rb drives.rb getch.rb libc.rb \
-                       msgbox.rb msgbox2.rb stream.rb
-PTY_EXAMPLES=          expect_sample.rb script.rb shl.rb
-
-REPLACE_RUBY=  bin/erb bin/irb bin/rdoc bin/ri bin/testrb \
-               ext/bigdecimal/sample/linear.rb \
-               ext/bigdecimal/sample/nlsolve.rb \
-               ext/bigdecimal/sample/pi.rb ext/dl/h2rb \
-               lib/rdoc/markup/sample/rdoc2latex.rb \
-               sample/biorhythm.rb sample/cal.rb sample/exyacc.rb \
-               sample/fullpath.rb sample/less.rb sample/from.rb \
-               sample/goodfriday.rb sample/logger/shifting.rb \
-               sample/logger/app.rb sample/logger/log.rb sample/mine.rb \
-               sample/mpart.rb sample/observ.rb sample/optparse/opttest.rb \
-               sample/openssl/c_rehash.rb sample/openssl/cert2text.rb \
-               sample/openssl/cert_store_view.rb \
-               sample/openssl/certstore.rb sample/openssl/cipher.rb \
-               sample/openssl/crlstore.rb sample/openssl/echo_cli.rb \
-               sample/openssl/echo_svr.rb sample/openssl/gen_csr.rb \
-               sample/openssl/smime_read.rb sample/openssl/smime_write.rb \
-               sample/openssl/wget.rb \
-               sample/soap/calc/httpd.rb sample/soap/calc/server.rb \
-               sample/soap/calc/server2.rb sample/soap/icd/icd.rb \
-               sample/soap/babelfish.rb sample/soap/exchange/client.rb \
-               sample/soap/exchange/httpd.rb sample/soap/exchange/server.rb \
-               sample/soap/raa/soap4r.rb sample/soap/sampleStruct/httpd.rb \
-               sample/soap/sampleStruct/server.rb sample/pi.rb \
-               sample/wsdl/amazon/sampleClient.rb \
-               sample/wsdl/googleSearch/sampleClient.rb \
-               sample/wsdl/googleSearch/httpd.rb sample/wsdl/raa/soap4r.rb \
-               sample/test.rb  sample/trojan.rb sample/time.rb \
-               sample/uumerge.rb
-
-pre-configure:
-       ${RM} -f ${WRKSRC}/ext/curses/extconf.rb
-       ${RM} -f ${WRKSRC}/ext/gdbm/extconf.rb
-       ${RM} -f ${WRKSRC}/ext/iconv/extconf.rb
-       ${RM} -f ${WRKSRC}/ext/readline/extconf.rb
-       ${RM} -f ${WRKSRC}/ext/tcltklib/extconf.rb
-       ${RM} -f ${WRKSRC}/ext/tk/extconf.rb
-
-pre-build:
-       @${FIND} ${WRKSRC} -name '*.orig' -exec ${RM} -f {} \;
-
-post-install:
-       ${STRIP} ${RUBY}
-       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/irb
-       ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/pty
-.for f in ${DOCS}
-       ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${f:C/^doc\///}
-.endfor
-       ${INSTALL_SCRIPT} ${WRKSRC}/ext/dl/h2rb ${PREFIX}/bin/h2rb${RUBY_VER}
-.for f in ${EXT_DOCS}
-       ${INSTALL_DATA} ${WRKSRC}/ext/${f} ${RUBY_DOCDIR}
-.endfor
-       ${CP} -r ${WRKSRC}/ext/pty/README.* ${RUBY_DOCDIR}/pty
-       ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/pty
-       ${CP} -r ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}
-       ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/bigdecimal
-.for f in ${BIGDECIMAL_EXAMPLES}
-       ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/bigdecimal/sample/$f \
-               ${RUBY_EXAMPLESDIR}/bigdecimal
-.endfor
-       ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/dl
-.for f in ${DL_EXAMPLES}
-       ${INSTALL_DATA} ${RUBY_WRKSRC}/ext/dl/sample/$f \
-               ${RUBY_EXAMPLESDIR}/dl
-.endfor
-.for f in ${PTY_EXAMPLES}
-       ${INSTALL_DATA} ${WRKSRC}/ext/pty/$f ${RUBY_EXAMPLESDIR}/pty
-.endfor
-
 .include "../../lang/ruby/Makefile.common"
-.include "../../mk/bdb.buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5b89e3aa1242 -r 91899ce08659 lang/ruby18/PLIST
--- a/lang/ruby18/PLIST Sun Mar 06 16:56:55 2005 +0000
+++ b/lang/ruby18/PLIST Sun Mar 06 16:58:13 2005 +0000
@@ -1,924 +1,2 @@
-@comment $NetBSD: PLIST,v 1.5 2005/02/21 15:29:15 taca Exp $
-bin/erb${RUBY_VER}
-bin/h2rb${RUBY_VER}
-bin/irb${RUBY_VER}
-bin/rdoc${RUBY_VER}
-bin/ri${RUBY_VER}
-bin/${RUBY_NAME}
-bin/testrb${RUBY_VER}
-${RUBY_DOCDIR}/COPYING
-${RUBY_DOCDIR}/COPYING.ja
-${RUBY_DOCDIR}/ChangeLog
-${RUBY_DOCDIR}/ChangeLog-1.8.0
-${RUBY_DOCDIR}/NEWS
-${RUBY_DOCDIR}/README
-${RUBY_DOCDIR}/README.EXT
-${RUBY_DOCDIR}/README.EXT.ja
-${RUBY_DOCDIR}/README.ja
-${RUBY_DOCDIR}/ToDo
-${RUBY_DOCDIR}/bigdecimal_en.html
-${RUBY_DOCDIR}/bigdecimal_ja.html
-${RUBY_DOCDIR}/digest.txt
-${RUBY_DOCDIR}/digest.txt.ja
-${RUBY_DOCDIR}/dl.txt
-${RUBY_DOCDIR}/enumerator.txt
-${RUBY_DOCDIR}/etc.txt
-${RUBY_DOCDIR}/etc.txt.ja
-${RUBY_DOCDIR}/forwardable.rd
-${RUBY_DOCDIR}/forwardable.rd.ja
-${RUBY_DOCDIR}/irb/irb-tools.rd.ja
-${RUBY_DOCDIR}/irb/irb.rd
-${RUBY_DOCDIR}/irb/irb.rd.ja
-@dirrm ${RUBY_DOCDIR}/irb
-${RUBY_DOCDIR}/pty/README.expect
-${RUBY_DOCDIR}/pty/README.expect.ja
-${RUBY_DOCDIR}/pty/README.ja
-@dirrm ${RUBY_DOCDIR}/pty
-${RUBY_DOCDIR}/shell.rd
-${RUBY_DOCDIR}/shell.rd.ja
-${RUBY_DOCDIR}/syslog.txt
-${RUBY_DOCDIR}/zlib.rd
-@dirrm ${RUBY_DOCDIR}
-${RUBY_EXAMPLESDIR}/README
-${RUBY_EXAMPLESDIR}/bigdecimal/linear.rb
-${RUBY_EXAMPLESDIR}/bigdecimal/nlsolve.rb
-${RUBY_EXAMPLESDIR}/bigdecimal/pi.rb
-@dirrm ${RUBY_EXAMPLESDIR}/bigdecimal
-${RUBY_EXAMPLESDIR}/biorhythm.rb
-${RUBY_EXAMPLESDIR}/cal.rb
-${RUBY_EXAMPLESDIR}/cbreak.rb
-${RUBY_EXAMPLESDIR}/clnt.rb
-${RUBY_EXAMPLESDIR}/dbmtest.rb
-${RUBY_EXAMPLESDIR}/dir.rb
-${RUBY_EXAMPLESDIR}/dl/c++sample.C
-${RUBY_EXAMPLESDIR}/dl/c++sample.rb
-${RUBY_EXAMPLESDIR}/dl/drives.rb
-${RUBY_EXAMPLESDIR}/dl/getch.rb
-${RUBY_EXAMPLESDIR}/dl/libc.rb
-${RUBY_EXAMPLESDIR}/dl/msgbox.rb
-${RUBY_EXAMPLESDIR}/dl/msgbox2.rb
-${RUBY_EXAMPLESDIR}/dl/stream.rb
-@dirrm ${RUBY_EXAMPLESDIR}/dl
-${RUBY_EXAMPLESDIR}/drb/README.rd
-${RUBY_EXAMPLESDIR}/drb/README.rd.ja
-${RUBY_EXAMPLESDIR}/drb/darray.rb
-${RUBY_EXAMPLESDIR}/drb/darrayc.rb
-${RUBY_EXAMPLESDIR}/drb/dbiff.rb
-${RUBY_EXAMPLESDIR}/drb/dcdbiff.rb
-${RUBY_EXAMPLESDIR}/drb/dchatc.rb
-${RUBY_EXAMPLESDIR}/drb/dchats.rb
-${RUBY_EXAMPLESDIR}/drb/dhasen.rb
-${RUBY_EXAMPLESDIR}/drb/dhasenc.rb
-${RUBY_EXAMPLESDIR}/drb/dlogc.rb
-${RUBY_EXAMPLESDIR}/drb/dlogd.rb
-${RUBY_EXAMPLESDIR}/drb/dqin.rb
-${RUBY_EXAMPLESDIR}/drb/dqlib.rb
-${RUBY_EXAMPLESDIR}/drb/dqout.rb
-${RUBY_EXAMPLESDIR}/drb/dqueue.rb
-${RUBY_EXAMPLESDIR}/drb/drbc.rb
-${RUBY_EXAMPLESDIR}/drb/drbch.rb
-${RUBY_EXAMPLESDIR}/drb/drbm.rb
-${RUBY_EXAMPLESDIR}/drb/drbmc.rb
-${RUBY_EXAMPLESDIR}/drb/drbs-acl.rb
-${RUBY_EXAMPLESDIR}/drb/drbs.rb
-${RUBY_EXAMPLESDIR}/drb/drbssl_c.rb
-${RUBY_EXAMPLESDIR}/drb/drbssl_s.rb
-${RUBY_EXAMPLESDIR}/drb/extserv_test.rb
-${RUBY_EXAMPLESDIR}/drb/gw_ct.rb
-${RUBY_EXAMPLESDIR}/drb/gw_cu.rb
-${RUBY_EXAMPLESDIR}/drb/gw_s.rb
-${RUBY_EXAMPLESDIR}/drb/holderc.rb
-${RUBY_EXAMPLESDIR}/drb/holders.rb
-${RUBY_EXAMPLESDIR}/drb/http0.rb
-${RUBY_EXAMPLESDIR}/drb/http0serv.rb
-${RUBY_EXAMPLESDIR}/drb/name.rb
-${RUBY_EXAMPLESDIR}/drb/namec.rb
-${RUBY_EXAMPLESDIR}/drb/old_tuplespace.rb
-${RUBY_EXAMPLESDIR}/drb/rinda_ts.rb
-${RUBY_EXAMPLESDIR}/drb/rindac.rb
-${RUBY_EXAMPLESDIR}/drb/rindas.rb
-${RUBY_EXAMPLESDIR}/drb/ring_echo.rb
-${RUBY_EXAMPLESDIR}/drb/ring_inspect.rb
-${RUBY_EXAMPLESDIR}/drb/ring_place.rb
-${RUBY_EXAMPLESDIR}/drb/simpletuple.rb
-${RUBY_EXAMPLESDIR}/drb/speedc.rb



Home | Main Index | Thread Index | Old Index