Commit graph

66 commits

Author SHA1 Message Date
tv
c7260c11e9 Fix botch in previous: argument after : in DEPENDS must be a relative
path, not an absolute path.
2005-03-08 16:31:02 +00:00
taca
f4f48af2c5 Change depends to ruby16-base/ruby18-base package from ruby16/ruby18
package and tweak the package's COMMENT.

Bump PKGREVISION.
2005-03-06 16:46:05 +00:00
taca
cf05ad3543 Correct content to really buildlink3.mk; fix many mistakes. 2005-03-06 16:44:04 +00:00
taca
43c31406a7 Some clean up along with introducing ruby16-base/ruby18-base and make
ruby16/ruby18 package to meta pacakge.

- Define RUBY_BASE to refer ruby16-base or ruby18-base name.
- Define RUBY_SRCDIR to refer ruby16-base/ruby18-base src directory.
- Move some definition from Makefile.comon to rubyversion.mk.
- Add X11BASE to CONFIGURE_ENV.
- Add RUBY_VERSION to MESSAGE_SUBST and PLIST_SUBST.
2005-03-06 16:42:30 +00:00
taca
cf24692f45 Cosmetic change with pkglint(1). 2005-03-06 13:05:38 +00:00
taca
c580fa17c2 Add h2rb command wrapper for ruby18 package.
Bump PKGREVISION.
2005-02-21 15:35:53 +00:00
taca
4b716b2c3b Move common configure related parameter from ruby16/Makefile and
ruby18/Makefile.
2005-02-21 15:25:36 +00:00
taca
0987652a41 Fix version suffix of shared library, libruby.so for OpenBSD.
Fix PR pkg/29214 from Hiramatsu Yoshifumi.
2005-02-09 15:28:46 +00:00
taca
b7bfa051b1 I've completely forgot that the ruby library directory name on Linux
is still differ with Ruby 1.6.8.  So, tweak it Linux and ruby16 base.
2005-01-28 13:51:24 +00:00
minskim
d5251d86fb The ruby library directory name on Linux has been changed in Ruby
1.8.2 to be consistent with other platforms.  Update RUBY_ARCH to
match the change.  This makes lang/ruby18 build again on Linux.

Approved by MAINTAINER.
2005-01-28 13:30:15 +00:00
taca
e794da07d3 Update Ruby 1.8.2.
This is basically bug fix release, but official changes aren't provided
yet.  Please refer ChangeLog.

Here is pkgsrc changes:

o Set RUBY_HAS_ARCHLIB=yes for Ruby packages including archtecture depending
  extention library in order to depend more specific Ruby.

o Now install database for ri(1).  Fix PR pkg/28566.

o Net::IMAP

	* lib/net/imap.rb (u8tou16): fixed typo. fixed: [ruby-list:40546]

o NKF:

	* ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
	  variables.  fixed: [ruby-list:40445]

	* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
	  0xfe.

	* ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
	  properly.

o WEBrick

	* lib/webrick/httpauth/htpasswd.rb (WEBrick::Htpasswd#reload):
	  raise NotImplementedError if password is encrypted by digest
	  algorithms. This patch is contributed by sheepman. [ruby-list:40467]

	* lib/webrick/httpauth/digestauth.rb
	  (WEBrick::HTTPAuth::DigestAuth#_authenticate): fix digest calculation.
	  This patch is contributed by sheepman. [ruby-list:40482]

	* lib/webrick/{httpauth.rb,httpauth/basicauth.rb,httpproxy.rb}: use
	  pack/unpack-template char "m" instead of lib/base64.rb to do base64
	  encoding/decoding. fixed: [ruby-dev:25336]
2005-01-23 17:33:19 +00:00
tv
3663314176 Add ruby build support for Interix, modeled on NetBSD config. 2005-01-21 06:13:36 +00:00
taca
449c9cf5ce Introduce RUBY_HAS_ARCHLIB.
RUBY_HAS_ARCHLIB	This package contains machine dependent binaries.

This macro takes boolean value (yes/no) and if it is yes, the requierd
version of Ruby will change to current pkgsrc's version not minimum
version like 1.6.8 or 1.8.1.  (It would make sence when Ruby package
step to 1.8.2 or lator.)
2005-01-16 11:48:56 +00:00
taca
33dc5c35be Don't always set DIST_SUBDIR but only if RUBY_DIST_SUBDIR isn't empty.
This change dosen't affect any current ruby based packages.
2004-12-16 07:11:55 +00:00
wiz
59c35abe3d Improve. 2004-12-05 15:24:12 +00:00
taca
9356820c83 Restore package dependency sentence.
Thanks Timothy Lee Roden very much, reminding me correct English syntax.
2004-12-05 15:12:51 +00:00
taca
63c33acd63 Simplify description removing ambiguous sentence. 2004-12-04 16:10:04 +00:00
taca
eedc8c0aaf - Introduce RUBY_DLEXT which is used to replace suffix of Ruby's
extention library.  It will be used for Darwin support.
- Change RUBY_VERSION_LIST from space separated list to comma separated
  list.
2004-12-04 16:05:06 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
taca
2686b6963f Add RUBY_VERSION_LIST, list of supported ${RUBY_VER}. 2004-12-01 15:30:16 +00:00
taca
02be725fe0 Remove includeing ncurses's buildlinke3.mk file. It was added
while creating new framework and completely obsoleted by separating
ruby-curses package.
2004-11-29 10:31:28 +00:00
taca
0767c9ac99 - set RUBY_REQD proper value.
- use RUBY_REQD in buildlink3.mk.

Fix RUBY_REQD undefined in some case.
2004-11-29 07:05:00 +00:00
taca
d8a44999c6 Allow selecting sub-directory on MASTER_SITES with RUBY_SITE_SUBDIR. 2004-11-29 03:31:53 +00:00
taca
5a4e71a0ce Add MESSAGE_SUST as PLIST_SUBST here. 2004-11-28 15:38:35 +00:00
taca
ea12895711 Fix MASTER_SITE_RUBY to use proper version directory. 2004-11-28 11:19:32 +00:00
taca
7a23af0a6d Update ruby package to 1.8.1.
Now, this package isn't meta-package.

Ruby itself is provided as language/ruby18 (Ruby 1.8.1) or
language/ruby16 (Ruby 1.6.8) and Ruby's commands are
$PREFIX/bin/ruby18 or $PREFIX/bin/ruby16.

This pacakge provide commands without its version in name
as $PREFIX/bin/ruby.

Some extention libraries bundled in Ruby's distribution are
move to separate packages.  For ruby18:

	converters/ruby-iconv:		Iconv module
	databases/ruby-dbm:		DBM module
	databases/ruby-gdbm:		GDBM module
	devel/ruby-curses:		Curses module
	security/ruby-digest:		message digest module
	security/ruby-openssl:		OpenSSL module
	devel/ruby-readline:		readline module
	x11/ruby-tcltklib:		Tcl/Tk libraries
	x11/ruby-tk:			Tk modules

And for ruby16:

	databases/ruby-dbm:		DBM module
	databases/ruby-gdbm:		GDBM module
	devel/ruby16-curses:		Curses module
	security/ruby-digest:		message digest module
	devel/ruby-readline:		readline module
	x11/ruby16-tcltklib:		Tcl/Tk libraries
	x11/ruby16-tk:			Tk modules

You can specify default Ruby's version by setting
RUBY_VERSION_DEFAULT to 1.6 or 1.8 in /etc/mk.conf.
2004-11-27 15:02:10 +00:00
taca
893eb044d9 Importing files for Ruby's new framework. 2004-11-27 13:57:20 +00:00
taca
d428fd9d93 Add ruby to CATEGORIES. 2004-03-16 02:01:09 +00:00
taca
4ebeb28b9f Bump pacakge revision with ruby-base package's update. 2004-03-12 05:02:55 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
taca
2a2ad0b358 Remove PKGREVISION for updating ruby (meta) package to 1.6.8.
This is bug fix release of ruby programming language.  Since change from
ruby 1.6.7 to 1.6.8 are to huge (>= 47K bytes), I omit includes here.
2003-03-24 15:01:59 +00:00
fredb
7160784900 Bump PKGREVISION of ruby to reflect the fact that the recent fix to
${MACHINE_GNU_PLATFORM} moved ${RUBY_SITEARCHLIBDIR} on some ports,
and also bump the dependency and PKGREVISION in ruby-gtk, which is
the only package that seems to use that.
2002-03-21 04:23:37 +00:00
taca
b778c72155 Make ruby meta package 1.6 based only. Previously, it was shared with
1.4 based ruby.
2002-01-22 17:16:03 +00:00
taca
48ef450214 update ruby package to ruby 1.6.6 based. 2001-12-30 16:26:28 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
wiz
1a4ac2ac95 Various changes: mostly removing 'WWW:' lines, since that's what we have
the HOMEPAGE variable for, as well as some grammar and spelling fixes.
2001-09-08 01:51:59 +00:00
taca
0953ff4ff4 Make ruby package to meta-package composes those package based on
ruby 1.6.4.

	databases/ruby-gdbm		GDBM module
	security/ruby-md5		MD5 module
	devel/ruby-readline		readline module
	lang/ruby-base			base installation
	x11/ruby-tcltklib		Tcl/Tk libraries
	x11/ruby-tk			Tk modules

If RUBY_VER is set to 1.4, these package become ruby 1.4 based for
backward compatibility.

	databases/ruby-gdbm		GDBM module
	security/ruby-md5		MD5 module
	devel/ruby14-readline		readline module
	x11/ruby-tcltklib		Tcl/Tk libraries
	x11/ruby14-tk			Tk modules
2001-06-30 14:30:02 +00:00
agc
8118fe36ae Move to sha1 digests, and add distfile sizes. 2001-04-19 15:00:47 +00:00
agc
fb467f5ac2 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:22:34 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
agc
82acd159f7 Move the COMMENT from being in its own file to a definition in the
package Makefile.
2001-02-17 09:06:56 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
sakamoto
4ab57a761c Update ruby,ruby-Tk to 1.4.6
minor bugfix
ChangeLog: ftp://ftp.netlab.co.jp/pub/lang/ruby/ChangeLog.1.4.6
2000-08-22 02:22:26 +00:00
tron
ebcef6eadf Depend on version 4.0 or newer of the "readline" package. 2000-07-20 15:40:58 +00:00
sakamoto
9949b141dc Update ruby to 1.4.5
Changes: Several bug fixes.

use MACHINE_GNU_ARCH instead of MACHINE_ARCH in PLIST,
patch from Paul Clifford <paul@plasma.demon.co.uk>.
2000-07-03 07:31:35 +00:00
wiz
4a72b8b121 change dependency from gdbm-1.7.3 to gdbm>=1.7.3 2000-06-13 10:40:24 +00:00
dmcmahill
dda8f4ef36 make sparc compile with -fPIC instead of -fpic. This fixes recently noted
compile (link actually) problems.  Other arch's are unchanged.  Patch sent to
Ruby author.
2000-06-02 00:13:53 +00:00
sakamoto
7f1f949930 Update ruby to 1.4.4
Changes: Several bug fixes. Compiles out of the box on Alpha.
2000-04-18 10:46:08 +00:00