Split the lang/ruby port into separate ports for ruby 1.8 and ruby
1.9, similar to how the lang/python ports are handled. ruby 1.8 now installs as ruby18 and ruby 1.9 installs as ruby19. The included MESSAGE files for both ports let you know the symlinks to set up if you want to make that version the default system ruby. Split port originally started by bernd@, many changes since by me, help and support from jcs@, landry@, jasper@, and sthen@. This causes a large amount of fallout in dependent ruby ports, which will be committed shortly. OK jcs@, landry@, jasper@, sthen@
This commit is contained in:
parent
bc849f20cf
commit
3a030020ea
63
lang/ruby/1.8/Makefile
Normal file
63
lang/ruby/1.8/Makefile
Normal file
@ -0,0 +1,63 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
COMMENT-main= object oriented script language with threads
|
||||
COMMENT-iconv= libiconv interface for ruby
|
||||
COMMENT-gdbm= gdbm interface for ruby
|
||||
COMMENT-tk= tk interface for ruby
|
||||
|
||||
VERSION= 1.8.7
|
||||
PATCHLEVEL= 302
|
||||
|
||||
SHARED_LIBS= ruby18 0.0
|
||||
PKGNAME-main= ruby-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-iconv= ruby-iconv-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-gdbm= ruby-gdbm-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-tk= ruby-tk-${VERSION}.${PATCHLEVEL}
|
||||
|
||||
CONFIGURE_ARGS= --program-suffix=18 \
|
||||
--enable-ipv6 \
|
||||
--with-dbm-type=bogus \
|
||||
--with-opt-dir="${LOCALBASE}" \
|
||||
--disable-option-checking
|
||||
|
||||
CONFIGURE_ENV= LIBruby18_VERSION=${LIBruby18_VERSION}
|
||||
|
||||
MODULES= converters/libiconv
|
||||
|
||||
WANTLIB-main= c m readline termcap util crypto ncurses ssl z
|
||||
LIB_DEPENDS-main=
|
||||
RUN_DEPENDS-main=
|
||||
|
||||
PSEUDO_FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
MULTI_PACKAGES= -main -iconv -gdbm
|
||||
|
||||
WANTLIB-iconv= c m ruby18
|
||||
LIB_DEPENDS-iconv= ${MODLIBICONV_LIB_DEPENDS} \
|
||||
:ruby->=1.8,<=1.9:lang/ruby/${REV},-main
|
||||
RUN_DEPENDS-iconv= ${MODLIBICONV_RUN_DEPENDS}
|
||||
|
||||
WANTLIB-gdbm= c gdbm m ruby18
|
||||
LIB_DEPENDS-gdbm= gdbm.>=3::databases/gdbm \
|
||||
:ruby->=1.8,<=1.9:lang/ruby/${REV},-main
|
||||
RUN_DEPENDS-gdbm=
|
||||
|
||||
.if !${FLAVOR:L:Mno_x11}
|
||||
USE_X11= Yes
|
||||
MULTI_PACKAGES+= -tk
|
||||
CONFIGURE_ARGS+= --with-tcl-include=${PREFIX}/include/tcl8.5 \
|
||||
--with-tk-include=${PREFIX}/include/tk8.5 \
|
||||
--with-X11-dir=${X11BASE}
|
||||
WANTLIB-tk= X11 c m ruby18 tcl85 tk85
|
||||
LIB_DEPENDS-tk= :tk->=8.5,<8.6:x11/tk/8.5 \
|
||||
:ruby->=1.8,<=1.9:lang/ruby/${REV},-main
|
||||
RUN_DEPENDS-tk=
|
||||
.endif
|
||||
|
||||
# Known regression failures in OpenSSL extension on sparc64
|
||||
# Known regression failure in IO.readpartial on all arch
|
||||
# Known regression failure in test_connection_refused_in_request on all arch
|
||||
REGRESS_DEPENDS= :ruby->=1.8,<=1.9:${BUILD_PKGPATH}
|
||||
|
||||
.include <bsd.port.mk>
|
5
lang/ruby/1.8/distinfo
Normal file
5
lang/ruby/1.8/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (ruby-1.8.7-p302.tar.gz) = 9EZVDf3g2BYqbtjVo4s6wg==
|
||||
RMD160 (ruby-1.8.7-p302.tar.gz) = B4tn1Fxc3rHymzeLV99u6Wj25QI=
|
||||
SHA1 (ruby-1.8.7-p302.tar.gz) = HIk+hbTTTo3f0ikkHsf7TI6KjH4=
|
||||
SHA256 (ruby-1.8.7-p302.tar.gz) = WIPfUgTecHYmAs6IWxjIv2yFbTMpjDXfkVEDGyzgRKE=
|
||||
SIZE (ruby-1.8.7-p302.tar.gz) = 4866763
|
27
lang/ruby/1.8/patches/patch-common_mk
Normal file
27
lang/ruby/1.8/patches/patch-common_mk
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-common_mk,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Build the docs and the ext stuff during the build phase so we don't have to
|
||||
run 'make clean' as root.
|
||||
|
||||
--- common.mk.orig Thu Dec 24 10:01:58 2009
|
||||
+++ common.mk Sat Dec 26 15:31:27 2009
|
||||
@@ -79,7 +79,9 @@ PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARGV[1] or File.u
|
||||
TESTSDIR = $(srcdir)/test
|
||||
TESTWORKDIR = testwork
|
||||
|
||||
-all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
|
||||
+all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY) all-extmk rdoc
|
||||
+
|
||||
+all-extmk:
|
||||
@$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" $(EXTMK_ARGS)
|
||||
prog: $(PROGRAM) $(WPROGRAM)
|
||||
|
||||
@@ -252,7 +254,7 @@ dont-install-man:
|
||||
post-no-install-man::
|
||||
@$(NULLCMD)
|
||||
|
||||
-install-doc: rdoc pre-install-doc do-install-doc post-install-doc
|
||||
+install-doc: pre-install-doc do-install-doc post-install-doc
|
||||
pre-install-doc:: install-prereq
|
||||
do-install-doc: $(PROGRAM)
|
||||
$(MINIRUBY) $(srcdir)/instruby.rb --make="$(MAKE)" $(INSTRUBY_ARGS) --install=rdoc --rdoc-output="$(RDOCOUT)"
|
12
lang/ruby/1.8/patches/patch-configure
Normal file
12
lang/ruby/1.8/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
--- configure.orig Wed Jun 23 17:35:59 2010
|
||||
+++ configure Fri Jun 25 15:14:57 2010
|
||||
@@ -10690,7 +10690,7 @@ if test "$enable_shared" = 'yes'; then
|
||||
;;
|
||||
openbsd*)
|
||||
SOLIBS='$(LIBS)'
|
||||
- LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
|
||||
+ LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.'${LIBruby18_VERSION}
|
||||
;;
|
||||
solaris*)
|
||||
SOLIBS='$(LIBS)'
|
141
lang/ruby/1.8/patches/patch-ext_dl_sym_c
Normal file
141
lang/ruby/1.8/patches/patch-ext_dl_sym_c
Normal file
@ -0,0 +1,141 @@
|
||||
$OpenBSD: patch-ext_dl_sym_c,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
fix loading of compiled modules on amd64.
|
||||
|
||||
http://rubyforge.org/tracker/index.php?func=detail&aid=5944&group_id=1103&atid=4331
|
||||
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/227097
|
||||
|
||||
--- ext/dl/sym.c.orig Sun Aug 10 17:36:08 2008
|
||||
+++ ext/dl/sym.c Thu Feb 25 19:23:05 2010
|
||||
@@ -361,9 +361,22 @@ rb_dl_win32_set_last_error(VALUE self, VALUE val)
|
||||
__declspec(noinline)
|
||||
# endif
|
||||
static int
|
||||
-rb_dlsym_guardcall(char type, ANY_TYPE *ret, long *stack, void *func)
|
||||
+rb_dlsym_guardcall(char type, ANY_TYPE *ret, long *stack, double *sse,
|
||||
+ void *func)
|
||||
{
|
||||
char *volatile guard = ALLOCA_N(char, 1); /* guard stack pointer */
|
||||
+#undef DLSTACK_PROTO
|
||||
+#define DLSTACK_PROTO long, long, long, long, long, \
|
||||
+ long, long, long, long, long, \
|
||||
+ long, long, long, long, long, \
|
||||
+ double, double, double, double, \
|
||||
+ double, double, double, double
|
||||
+#undef DLSTACK_ARGS
|
||||
+#define DLSTACK_ARGS stack[0], stack[1], stack[2], stack[3], stack[4], \
|
||||
+ stack[5], stack[6], stack[7], stack[8], stack[9], \
|
||||
+ stack[10], stack[11], stack[12], stack[13], stack[14], \
|
||||
+ sse[0], sse[1], sse[2], sse[3], \
|
||||
+ sse[4], sse[5], sse[6], sse[7]
|
||||
switch(type){
|
||||
case '0':
|
||||
{
|
||||
@@ -450,6 +463,9 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self)
|
||||
int i;
|
||||
long ftype;
|
||||
void *func;
|
||||
+
|
||||
+ int sses=0;
|
||||
+ double sse[8];
|
||||
|
||||
rb_secure_update(self);
|
||||
Data_Get_Struct(self, struct sym_data, sym);
|
||||
@@ -678,58 +694,58 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self)
|
||||
switch( sym->type[i+1] ){
|
||||
case 'p':
|
||||
case 'P':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
- break;
|
||||
case 'a':
|
||||
case 'A':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
+ case 'c':
|
||||
+ case 'h':
|
||||
+ case 'i':
|
||||
+ case 'l':
|
||||
+ case 'f':
|
||||
+ case 'd':
|
||||
+ //printf("arg %i: %x (stack)\n",i,ANY2P(args[i]));
|
||||
+ memcpy(sp,&ANY2P(args[i]),sizeof(void*));
|
||||
+ sp++;
|
||||
break;
|
||||
+
|
||||
case 'C':
|
||||
- DLSTACK_PUSH_C(ANY2C(args[i]));
|
||||
+ //printf("arg %i: '%c' (stack)\n",i,ANY2P(args[i]));
|
||||
+ memcpy(sp,&ANY2C(args[i]),sizeof(void*));
|
||||
+ sp++;
|
||||
break;
|
||||
- case 'c':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
- break;
|
||||
case 'H':
|
||||
- DLSTACK_PUSH_H(ANY2H(args[i]));
|
||||
+ //printf("arg %i: H (stack)\n",i);
|
||||
+ memcpy(sp,&ANY2H(args[i]),sizeof(void*));
|
||||
+ sp++;
|
||||
break;
|
||||
- case 'h':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
- break;
|
||||
case 'I':
|
||||
- DLSTACK_PUSH_I(ANY2I(args[i]));
|
||||
+ //printf("arg %i: %d (stack)\n",i,ANY2I(args[i]));
|
||||
+ memcpy(sp,&ANY2I(args[i]),sizeof(void*));
|
||||
+ sp++;
|
||||
break;
|
||||
- case 'i':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
- break;
|
||||
case 'L':
|
||||
- DLSTACK_PUSH_L(ANY2L(args[i]));
|
||||
- break;
|
||||
- case 'l':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
- break;
|
||||
+ //printf("arg %i: %liL (stack)\n",i,ANY2L(args[i]));
|
||||
+ memcpy(sp,&ANY2L(args[i]),sizeof(void*));
|
||||
+ sp++;
|
||||
case 'F':
|
||||
- DLSTACK_PUSH_F(ANY2F(args[i]));
|
||||
+ //printf("arg %i: %fF (sse)\n",i,ANY2F(args[i]));
|
||||
+ sse[sses++]=*(double*)&ANY2F(args[i]);
|
||||
break;
|
||||
- case 'f':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
- break;
|
||||
case 'D':
|
||||
- DLSTACK_PUSH_D(ANY2D(args[i]));
|
||||
+ //printf("arg %i: %fLF (sse)\n",i,ANY2D(args[i]));
|
||||
+ sse[sses++]=ANY2D(args[i]);
|
||||
break;
|
||||
- case 'd':
|
||||
- DLSTACK_PUSH_P(ANY2P(args[i]));
|
||||
- break;
|
||||
case 'S':
|
||||
case 's':
|
||||
- DLSTACK_PUSH_P(ANY2S(args[i]));
|
||||
+ //printf("arg %i: \"%s\" (stack)\n",i,ANY2S(args[i]));
|
||||
+ memcpy(sp,&ANY2S(args[i]),sizeof(void*));
|
||||
+ sp++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
DLSTACK_END(sym->type);
|
||||
|
||||
#ifdef DLSTACK_GUARD
|
||||
- if(!rb_dlsym_guardcall(sym->type[0], &ret, stack, func)) {
|
||||
+ if(!rb_dlsym_guardcall(sym->type[0], &ret, stack, sse, func)) {
|
||||
FREE_ARGS;
|
||||
rb_raise(rb_eDLTypeError, "unknown type `%c'", sym->type[0]);
|
||||
}
|
||||
@@ -876,7 +892,7 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self)
|
||||
if( ANY2S(ret) ){
|
||||
val = rb_tainted_str_new2((char*)(ANY2S(ret)));
|
||||
DEBUG_CODE({
|
||||
- printf("dlfree(%s)\n",(char*)(ANY2S(ret)));
|
||||
+ //printf("dlfree(%s)\n",(char*)(ANY2S(ret)));
|
||||
});
|
||||
dlfree((void*)(ANY2S(ret)));
|
||||
}
|
34
lang/ruby/1.8/patches/patch-ext_openssl_openssl_missing_h
Normal file
34
lang/ruby/1.8/patches/patch-ext_openssl_openssl_missing_h
Normal file
@ -0,0 +1,34 @@
|
||||
$OpenBSD: patch-ext_openssl_openssl_missing_h,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
don't try to declare conflicting prototypes for functions already declared
|
||||
by OpenSSL 0.9.8j
|
||||
|
||||
--- ext/openssl/openssl_missing.h.orig Tue May 25 01:58:49 2010
|
||||
+++ ext/openssl/openssl_missing.h Fri Jun 25 15:14:58 2010
|
||||
@@ -154,26 +154,6 @@ int X509_CRL_sort(X509_CRL *c);
|
||||
int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
|
||||
#endif
|
||||
|
||||
-#if !defined(HAVE_BN_MOD_SQR)
|
||||
-int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
|
||||
-#endif
|
||||
-
|
||||
-#if !defined(HAVE_BN_MOD_ADD)
|
||||
-int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
|
||||
-#endif
|
||||
-
|
||||
-#if !defined(HAVE_BN_MOD_SUB)
|
||||
-int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx);
|
||||
-#endif
|
||||
-
|
||||
-#if !defined(HAVE_BN_RAND_RANGE)
|
||||
-int BN_rand_range(BIGNUM *r, BIGNUM *range);
|
||||
-#endif
|
||||
-
|
||||
-#if !defined(HAVE_BN_PSEUDO_RAND_RANGE)
|
||||
-int BN_pseudo_rand_range(BIGNUM *r, BIGNUM *range);
|
||||
-#endif
|
||||
-
|
||||
#if !defined(HAVE_CONF_GET1_DEFAULT_CONFIG_FILE)
|
||||
char *CONF_get1_default_config_file(void);
|
||||
#endif
|
51
lang/ruby/1.8/patches/patch-ext_socket_socket_c
Normal file
51
lang/ruby/1.8/patches/patch-ext_socket_socket_c
Normal file
@ -0,0 +1,51 @@
|
||||
$OpenBSD: patch-ext_socket_socket_c,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Fix UnixSocket#recv_io on 64-bit archs, backported from ruby SVN
|
||||
revisions 22141 and 22633.
|
||||
|
||||
--- ext/socket/socket.c.orig Mon Sep 6 17:18:07 2010
|
||||
+++ ext/socket/socket.c Mon Sep 6 17:18:24 2010
|
||||
@@ -2097,16 +2097,11 @@ unix_recv_io(argc, argv, sock)
|
||||
rb_sys_fail("recvmsg(2)");
|
||||
|
||||
#if FD_PASSING_BY_MSG_CONTROL
|
||||
- if (msg.msg_controllen != CMSG_SPACE(sizeof(int))) {
|
||||
- rb_raise(rb_eSocket,
|
||||
- "file descriptor was not passed (msg_controllen=%d, %d expected)",
|
||||
- msg.msg_controllen, CMSG_SPACE(sizeof(int)));
|
||||
+ if (msg.msg_controllen < sizeof(struct cmsghdr)) {
|
||||
+ rb_raise(rb_eSocket,
|
||||
+ "file descriptor was not passed (msg_controllen=%d smaller than sizeof(struct cmsghdr)=%d)",
|
||||
+ (int)msg.msg_controllen, (int)sizeof(struct cmsghdr));
|
||||
}
|
||||
- if (cmsg.hdr.cmsg_len != CMSG_LEN(sizeof(int))) {
|
||||
- rb_raise(rb_eSocket,
|
||||
- "file descriptor was not passed (cmsg_len=%d, %d expected)",
|
||||
- cmsg.hdr.cmsg_len, CMSG_LEN(sizeof(int)));
|
||||
- }
|
||||
if (cmsg.hdr.cmsg_level != SOL_SOCKET) {
|
||||
rb_raise(rb_eSocket,
|
||||
"file descriptor was not passed (cmsg_level=%d, %d expected)",
|
||||
@@ -2116,6 +2111,22 @@ unix_recv_io(argc, argv, sock)
|
||||
rb_raise(rb_eSocket,
|
||||
"file descriptor was not passed (cmsg_type=%d, %d expected)",
|
||||
cmsg.hdr.cmsg_type, SCM_RIGHTS);
|
||||
+ }
|
||||
+ if (msg.msg_controllen < CMSG_LEN(sizeof(int))) {
|
||||
+ rb_raise(rb_eSocket,
|
||||
+ "file descriptor was not passed (msg_controllen=%d smaller than CMSG_LEN(sizeof(int))=%d)",
|
||||
+ (int)msg.msg_controllen, (int)CMSG_LEN(sizeof(int)));
|
||||
+ }
|
||||
+ if (CMSG_SPACE(sizeof(int)) < msg.msg_controllen) {
|
||||
+ rb_raise(rb_eSocket,
|
||||
+ "file descriptor was not passed (msg_controllen=%d bigger than CMSG_SPACE(sizeof(int))=%d)",
|
||||
+ (int)msg.msg_controllen, (int)CMSG_SPACE(sizeof(int)));
|
||||
+ }
|
||||
+ if (cmsg.hdr.cmsg_len != CMSG_LEN(sizeof(int))) {
|
||||
+ rsock_discard_cmsg_resource(&msg);
|
||||
+ rb_raise(rb_eSocket,
|
||||
+ "file descriptor was not passed (cmsg_len=%d, %d expected)",
|
||||
+ (int)cmsg.hdr.cmsg_len, (int)CMSG_LEN(sizeof(int)));
|
||||
}
|
||||
#else
|
||||
if (msg.msg_accrightslen != sizeof(fd)) {
|
25
lang/ruby/1.8/patches/patch-lib_rexml_document_rb
Normal file
25
lang/ruby/1.8/patches/patch-lib_rexml_document_rb
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-lib_rexml_document_rb,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/
|
||||
|
||||
--- lib/rexml/document.rb.orig Sun Nov 4 05:50:15 2007
|
||||
+++ lib/rexml/document.rb Thu Sep 4 09:53:31 2008
|
||||
@@ -18,6 +18,18 @@ module REXML
|
||||
# you create, you must add one; REXML documents do not write a default
|
||||
# declaration for you. See |DECLARATION| and |write|.
|
||||
class Document < Element
|
||||
+ @@entity_expansion_limit = 10_000
|
||||
+ def self.entity_expansion_limit= val
|
||||
+ @@entity_expansion_limit = val
|
||||
+ end
|
||||
+
|
||||
+ def record_entity_expansion!
|
||||
+ @number_of_expansions ||= 0
|
||||
+ @number_of_expansions += 1
|
||||
+ if @number_of_expansions > @@entity_expansion_limit
|
||||
+ raise "Number of entity expansions exceeded, processing aborted."
|
||||
+ end
|
||||
+ end
|
||||
# A convenient default XML declaration. If you want an XML declaration,
|
||||
# the easiest way to add one is mydoc << Document::DECLARATION
|
||||
# +DEPRECATED+
|
15
lang/ruby/1.8/patches/patch-random_c
Normal file
15
lang/ruby/1.8/patches/patch-random_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-random_c,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
--- random.c.orig Sat Jan 17 04:15:36 2009
|
||||
+++ random.c Sat Apr 4 15:25:11 2009
|
||||
@@ -273,7 +273,11 @@ random_seed()
|
||||
memset(digits, 0, big->len * SIZEOF_BDIGITS);
|
||||
|
||||
#ifdef S_ISCHR
|
||||
+# ifdef __OpenBSD__
|
||||
+ if ((fd = open("/dev/arandom", O_RDONLY
|
||||
+# else
|
||||
if ((fd = open("/dev/urandom", O_RDONLY
|
||||
+# endif
|
||||
#ifdef O_NONBLOCK
|
||||
|O_NONBLOCK
|
||||
#endif
|
2
lang/ruby/1.8/pkg/DESCR-gdbm
Normal file
2
lang/ruby/1.8/pkg/DESCR-gdbm
Normal file
@ -0,0 +1,2 @@
|
||||
This is a Ruby extension to the GDBM library which is part of the Ruby
|
||||
distribution.
|
3
lang/ruby/1.8/pkg/DESCR-iconv
Normal file
3
lang/ruby/1.8/pkg/DESCR-iconv
Normal file
@ -0,0 +1,3 @@
|
||||
This is an iconv wrapper class for Ruby, which is actually a part of
|
||||
the Ruby distribution version 1.8 and later.
|
||||
|
17
lang/ruby/1.8/pkg/DESCR-main
Normal file
17
lang/ruby/1.8/pkg/DESCR-main
Normal file
@ -0,0 +1,17 @@
|
||||
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.
|
||||
|
||||
- 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.)
|
2
lang/ruby/1.8/pkg/DESCR-tk
Normal file
2
lang/ruby/1.8/pkg/DESCR-tk
Normal file
@ -0,0 +1,2 @@
|
||||
This is Ruby/Tk, a Ruby interface to the Tk widget set.
|
||||
It's a part of the official Ruby distribution.
|
8
lang/ruby/1.8/pkg/MESSAGE-main
Normal file
8
lang/ruby/1.8/pkg/MESSAGE-main
Normal file
@ -0,0 +1,8 @@
|
||||
If you want to use this package as your default system ruby, as root
|
||||
create symbolic links like so (overwriting any previous default):
|
||||
ln -sf ${PREFIX}/bin/ruby18 ${PREFIX}/bin/ruby
|
||||
ln -sf ${PREFIX}/bin/erb18 ${PREFIX}/bin/erb
|
||||
ln -sf ${PREFIX}/bin/irb18 ${PREFIX}/bin/irb
|
||||
ln -sf ${PREFIX}/bin/rdoc18 ${PREFIX}/bin/rdoc
|
||||
ln -sf ${PREFIX}/bin/ri18 ${PREFIX}/bin/ri
|
||||
ln -sf ${PREFIX}/bin/testrb18 ${PREFIX}/bin/testrb
|
5
lang/ruby/1.8/pkg/PLIST-gdbm
Normal file
5
lang/ruby/1.8/pkg/PLIST-gdbm
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST-gdbm,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@conflict ruby-gdbm->=1.8,<1.9
|
||||
@pkgpath lang/ruby,-gdbm
|
||||
lib/ruby/${REV}/${SUB}/gdbm.so
|
5
lang/ruby/1.8/pkg/PLIST-iconv
Normal file
5
lang/ruby/1.8/pkg/PLIST-iconv
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST-iconv,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@conflict ruby-iconv->=1.8,<1.9
|
||||
@pkgpath lang/ruby,-iconv
|
||||
lib/ruby/${REV}/${SUB}/iconv.so
|
11992
lang/ruby/1.8/pkg/PLIST-main
Normal file
11992
lang/ruby/1.8/pkg/PLIST-main
Normal file
File diff suppressed because it is too large
Load Diff
347
lang/ruby/1.8/pkg/PLIST-tk
Normal file
347
lang/ruby/1.8/pkg/PLIST-tk
Normal file
@ -0,0 +1,347 @@
|
||||
@comment $OpenBSD: PLIST-tk,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@conflict ruby-tk->=1.8,<1.9
|
||||
@pkgpath lang/ruby,-tk
|
||||
lib/ruby/${REV}/multi-tk.rb
|
||||
lib/ruby/${REV}/remote-tk.rb
|
||||
lib/ruby/${REV}/tcltk.rb
|
||||
lib/ruby/${REV}/tk/
|
||||
lib/ruby/${REV}/tk.rb
|
||||
lib/ruby/${REV}/tk/after.rb
|
||||
lib/ruby/${REV}/tk/autoload.rb
|
||||
lib/ruby/${REV}/tk/bgerror.rb
|
||||
lib/ruby/${REV}/tk/bindtag.rb
|
||||
lib/ruby/${REV}/tk/button.rb
|
||||
lib/ruby/${REV}/tk/canvas.rb
|
||||
lib/ruby/${REV}/tk/canvastag.rb
|
||||
lib/ruby/${REV}/tk/checkbutton.rb
|
||||
lib/ruby/${REV}/tk/clipboard.rb
|
||||
lib/ruby/${REV}/tk/clock.rb
|
||||
lib/ruby/${REV}/tk/composite.rb
|
||||
lib/ruby/${REV}/tk/console.rb
|
||||
lib/ruby/${REV}/tk/dialog.rb
|
||||
lib/ruby/${REV}/tk/encodedstr.rb
|
||||
lib/ruby/${REV}/tk/entry.rb
|
||||
lib/ruby/${REV}/tk/event.rb
|
||||
lib/ruby/${REV}/tk/font.rb
|
||||
lib/ruby/${REV}/tk/frame.rb
|
||||
lib/ruby/${REV}/tk/grid.rb
|
||||
lib/ruby/${REV}/tk/image.rb
|
||||
lib/ruby/${REV}/tk/itemconfig.rb
|
||||
lib/ruby/${REV}/tk/itemfont.rb
|
||||
lib/ruby/${REV}/tk/kinput.rb
|
||||
lib/ruby/${REV}/tk/label.rb
|
||||
lib/ruby/${REV}/tk/labelframe.rb
|
||||
lib/ruby/${REV}/tk/listbox.rb
|
||||
lib/ruby/${REV}/tk/macpkg.rb
|
||||
lib/ruby/${REV}/tk/menu.rb
|
||||
lib/ruby/${REV}/tk/menubar.rb
|
||||
lib/ruby/${REV}/tk/menuspec.rb
|
||||
lib/ruby/${REV}/tk/message.rb
|
||||
lib/ruby/${REV}/tk/mngfocus.rb
|
||||
lib/ruby/${REV}/tk/msgcat.rb
|
||||
lib/ruby/${REV}/tk/namespace.rb
|
||||
lib/ruby/${REV}/tk/optiondb.rb
|
||||
lib/ruby/${REV}/tk/optionobj.rb
|
||||
lib/ruby/${REV}/tk/pack.rb
|
||||
lib/ruby/${REV}/tk/package.rb
|
||||
lib/ruby/${REV}/tk/palette.rb
|
||||
lib/ruby/${REV}/tk/panedwindow.rb
|
||||
lib/ruby/${REV}/tk/place.rb
|
||||
lib/ruby/${REV}/tk/radiobutton.rb
|
||||
lib/ruby/${REV}/tk/root.rb
|
||||
lib/ruby/${REV}/tk/scale.rb
|
||||
lib/ruby/${REV}/tk/scrollable.rb
|
||||
lib/ruby/${REV}/tk/scrollbar.rb
|
||||
lib/ruby/${REV}/tk/scrollbox.rb
|
||||
lib/ruby/${REV}/tk/selection.rb
|
||||
lib/ruby/${REV}/tk/spinbox.rb
|
||||
lib/ruby/${REV}/tk/tagfont.rb
|
||||
lib/ruby/${REV}/tk/text.rb
|
||||
lib/ruby/${REV}/tk/textimage.rb
|
||||
lib/ruby/${REV}/tk/textmark.rb
|
||||
lib/ruby/${REV}/tk/texttag.rb
|
||||
lib/ruby/${REV}/tk/textwindow.rb
|
||||
lib/ruby/${REV}/tk/timer.rb
|
||||
lib/ruby/${REV}/tk/toplevel.rb
|
||||
lib/ruby/${REV}/tk/ttk_selector.rb
|
||||
lib/ruby/${REV}/tk/txtwin_abst.rb
|
||||
lib/ruby/${REV}/tk/validation.rb
|
||||
lib/ruby/${REV}/tk/variable.rb
|
||||
lib/ruby/${REV}/tk/virtevent.rb
|
||||
lib/ruby/${REV}/tk/winfo.rb
|
||||
lib/ruby/${REV}/tk/winpkg.rb
|
||||
lib/ruby/${REV}/tk/wm.rb
|
||||
lib/ruby/${REV}/tk/xim.rb
|
||||
lib/ruby/${REV}/tkafter.rb
|
||||
lib/ruby/${REV}/tkbgerror.rb
|
||||
lib/ruby/${REV}/tkcanvas.rb
|
||||
lib/ruby/${REV}/tkclass.rb
|
||||
lib/ruby/${REV}/tkconsole.rb
|
||||
lib/ruby/${REV}/tkdialog.rb
|
||||
lib/ruby/${REV}/tkentry.rb
|
||||
lib/ruby/${REV}/tkextlib/
|
||||
lib/ruby/${REV}/tkextlib/ICONS/
|
||||
lib/ruby/${REV}/tkextlib/ICONS.rb
|
||||
lib/ruby/${REV}/tkextlib/ICONS/icons.rb
|
||||
lib/ruby/${REV}/tkextlib/ICONS/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/SUPPORT_STATUS
|
||||
lib/ruby/${REV}/tkextlib/blt/
|
||||
lib/ruby/${REV}/tkextlib/blt.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/barchart.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/bitmap.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/busy.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/component.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/container.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/cutbuffer.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/dragdrop.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/eps.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/graph.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/htext.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/spline.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/stripchart.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/table.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tabnotebook.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tabset.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/ted.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/
|
||||
lib/ruby/${REV}/tkextlib/blt/tile.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/button.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/checkbutton.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/frame.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/label.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/radiobutton.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/scrollbar.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tile/toplevel.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/tree.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/treeview.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/unix_dnd.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/vector.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/watch.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/win_printer.rb
|
||||
lib/ruby/${REV}/tkextlib/blt/winop.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/
|
||||
lib/ruby/${REV}/tkextlib/bwidget.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/arrowbutton.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/bitmap.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/button.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/buttonbox.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/combobox.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/dialog.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/dragsite.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/dropsite.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/dynamichelp.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/entry.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/label.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/labelentry.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/labelframe.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/listbox.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/mainframe.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/messagedlg.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/notebook.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/pagesmanager.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/panedwindow.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/panelframe.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/passwddlg.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/progressbar.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/progressdlg.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/scrollableframe.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/scrolledwindow.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/scrollview.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/selectcolor.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/selectfont.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/separator.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/spinbox.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/statusbar.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/titleframe.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/tree.rb
|
||||
lib/ruby/${REV}/tkextlib/bwidget/widget.rb
|
||||
lib/ruby/${REV}/tkextlib/itcl/
|
||||
lib/ruby/${REV}/tkextlib/itcl.rb
|
||||
lib/ruby/${REV}/tkextlib/itcl/incr_tcl.rb
|
||||
lib/ruby/${REV}/tkextlib/itcl/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/itk/
|
||||
lib/ruby/${REV}/tkextlib/itk.rb
|
||||
lib/ruby/${REV}/tkextlib/itk/incr_tk.rb
|
||||
lib/ruby/${REV}/tkextlib/itk/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/
|
||||
lib/ruby/${REV}/tkextlib/iwidgets.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/buttonbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/calendar.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/canvasprintbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/canvasprintdialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/checkbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/combobox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/dateentry.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/datefield.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/dialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/dialogshell.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/disjointlistbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/entryfield.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/extbutton.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/extfileselectionbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/extfileselectiondialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/feedback.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/fileselectionbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/fileselectiondialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/finddialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/hierarchy.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/hyperhelp.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/labeledframe.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/labeledwidget.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/mainwindow.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/menubar.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/messagebox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/messagedialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/notebook.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/optionmenu.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/panedwindow.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/promptdialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/pushbutton.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/radiobox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/scopedobject.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/scrolledcanvas.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/scrolledframe.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/scrolledhtml.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/scrolledlistbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/scrolledtext.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/scrolledwidget.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/selectionbox.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/selectiondialog.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/shell.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/spindate.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/spinint.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/spinner.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/spintime.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/tabnotebook.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/tabset.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/timeentry.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/timefield.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/toolbar.rb
|
||||
lib/ruby/${REV}/tkextlib/iwidgets/watch.rb
|
||||
lib/ruby/${REV}/tkextlib/pkg_checker.rb
|
||||
lib/ruby/${REV}/tkextlib/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/
|
||||
lib/ruby/${REV}/tkextlib/tcllib.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/autoscroll.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/ctext.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/cursor.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/datefield.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/dialog.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/getstring.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/history.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/ico.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/ip_entry.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/panelframe.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/plotchart.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/ruler.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/screenruler.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/scrollwin.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/style.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/superframe.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/swaplist.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/tablelist.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/tablelist_core.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/tablelist_tile.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/tkpiechart.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/tooltip.rb
|
||||
lib/ruby/${REV}/tkextlib/tcllib/widget.rb
|
||||
lib/ruby/${REV}/tkextlib/tclx/
|
||||
lib/ruby/${REV}/tkextlib/tclx.rb
|
||||
lib/ruby/${REV}/tkextlib/tclx/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tclx/tclx.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/
|
||||
lib/ruby/${REV}/tkextlib/tile.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/dialog.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/sizegrip.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/style.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tbutton.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tcheckbutton.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tcombobox.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tentry.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tframe.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tlabel.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tlabelframe.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tmenubutton.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tnotebook.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tpaned.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tprogressbar.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tradiobutton.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/treeview.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tscale.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tscrollbar.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tseparator.rb
|
||||
lib/ruby/${REV}/tkextlib/tile/tsquare.rb
|
||||
lib/ruby/${REV}/tkextlib/tkDND/
|
||||
lib/ruby/${REV}/tkextlib/tkDND.rb
|
||||
lib/ruby/${REV}/tkextlib/tkDND/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tkDND/shape.rb
|
||||
lib/ruby/${REV}/tkextlib/tkDND/tkdnd.rb
|
||||
lib/ruby/${REV}/tkextlib/tkHTML/
|
||||
lib/ruby/${REV}/tkextlib/tkHTML.rb
|
||||
lib/ruby/${REV}/tkextlib/tkHTML/htmlwidget.rb
|
||||
lib/ruby/${REV}/tkextlib/tkHTML/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/
|
||||
lib/ruby/${REV}/tkextlib/tkimg.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/bmp.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/gif.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/ico.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/jpeg.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/pcx.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/pixmap.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/png.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/ppm.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/ps.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/sgi.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/sun.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/tga.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/tiff.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/window.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/xbm.rb
|
||||
lib/ruby/${REV}/tkextlib/tkimg/xpm.rb
|
||||
lib/ruby/${REV}/tkextlib/tktable/
|
||||
lib/ruby/${REV}/tkextlib/tktable.rb
|
||||
lib/ruby/${REV}/tkextlib/tktable/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tktable/tktable.rb
|
||||
lib/ruby/${REV}/tkextlib/tktrans/
|
||||
lib/ruby/${REV}/tkextlib/tktrans.rb
|
||||
lib/ruby/${REV}/tkextlib/tktrans/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/tktrans/tktrans.rb
|
||||
lib/ruby/${REV}/tkextlib/treectrl/
|
||||
lib/ruby/${REV}/tkextlib/treectrl.rb
|
||||
lib/ruby/${REV}/tkextlib/treectrl/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/treectrl/tktreectrl.rb
|
||||
lib/ruby/${REV}/tkextlib/trofs/
|
||||
lib/ruby/${REV}/tkextlib/trofs.rb
|
||||
lib/ruby/${REV}/tkextlib/trofs/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/trofs/trofs.rb
|
||||
lib/ruby/${REV}/tkextlib/version.rb
|
||||
lib/ruby/${REV}/tkextlib/vu/
|
||||
lib/ruby/${REV}/tkextlib/vu.rb
|
||||
lib/ruby/${REV}/tkextlib/vu/bargraph.rb
|
||||
lib/ruby/${REV}/tkextlib/vu/charts.rb
|
||||
lib/ruby/${REV}/tkextlib/vu/dial.rb
|
||||
lib/ruby/${REV}/tkextlib/vu/pie.rb
|
||||
lib/ruby/${REV}/tkextlib/vu/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/vu/spinbox.rb
|
||||
lib/ruby/${REV}/tkextlib/winico/
|
||||
lib/ruby/${REV}/tkextlib/winico.rb
|
||||
lib/ruby/${REV}/tkextlib/winico/setup.rb
|
||||
lib/ruby/${REV}/tkextlib/winico/winico.rb
|
||||
lib/ruby/${REV}/tkfont.rb
|
||||
lib/ruby/${REV}/tkmacpkg.rb
|
||||
lib/ruby/${REV}/tkmenubar.rb
|
||||
lib/ruby/${REV}/tkmngfocus.rb
|
||||
lib/ruby/${REV}/tkpalette.rb
|
||||
lib/ruby/${REV}/tkscrollbox.rb
|
||||
lib/ruby/${REV}/tktext.rb
|
||||
lib/ruby/${REV}/tkvirtevent.rb
|
||||
lib/ruby/${REV}/tkwinpkg.rb
|
||||
lib/ruby/${REV}/${SUB}/tcltklib.so
|
||||
lib/ruby/${REV}/${SUB}/tkutil.so
|
9
lang/ruby/1.8/pkg/UNMESSAGE-main
Normal file
9
lang/ruby/1.8/pkg/UNMESSAGE-main
Normal file
@ -0,0 +1,9 @@
|
||||
If you set up the symlinks to make ruby 1.8 the system
|
||||
ruby, don't forget to remove the following files:
|
||||
|
||||
rm ${PREFIX}/bin/ruby
|
||||
rm ${PREFIX}/bin/erb
|
||||
rm ${PREFIX}/bin/irb
|
||||
rm ${PREFIX}/bin/rdoc
|
||||
rm ${PREFIX}/bin/ri
|
||||
rm ${PREFIX}/bin/testrb
|
69
lang/ruby/1.9/Makefile
Normal file
69
lang/ruby/1.9/Makefile
Normal file
@ -0,0 +1,69 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
COMMENT-main = object oriented script language with threads
|
||||
COMMENT-gdbm = gdbm interface for Ruby
|
||||
COMMENT-dbm = Berkley DB interface for Ruby
|
||||
COMMENT-tk= tk interface for ruby
|
||||
|
||||
VERSION = 1.9.2
|
||||
PATCHLEVEL = 0
|
||||
RUBYLIBREV = 1.9.1
|
||||
|
||||
SHARED_LIBS = ruby19 0.0
|
||||
PKGNAME-main = ruby-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-gdbm = ruby-gdbm-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-dbm = ruby-dbm-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-tk = ruby-tk-${VERSION}.${PATCHLEVEL}
|
||||
|
||||
CONFIGURE_ARGS = --program-suffix=19 \
|
||||
--with-soname=ruby19 \
|
||||
--enable-pthread \
|
||||
--enable-ipv6 \
|
||||
--disable-option-checking
|
||||
|
||||
CONFIGURE_ENV = LIBruby19_VERSION=${LIBruby19_VERSION}
|
||||
|
||||
MODULES = converters/libiconv
|
||||
|
||||
WANTLIB-main = c crypto ffi m ncurses pthread readline ssl termcap \
|
||||
util yaml z
|
||||
LIB_DEPENDS-main = ${MODLIBICONV_LIB_DEPENDS} \
|
||||
::devel/libyaml \
|
||||
::devel/libffi
|
||||
RUN_DEPENDS-main = ${MODLIBICONV_RUN_DEPENDS}
|
||||
|
||||
PSEUDO_FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
MULTI_PACKAGES = -main -gdbm -dbm
|
||||
|
||||
WANTLIB-gdbm = c m gdbm ruby19
|
||||
LIB_DEPENDS-gdbm = ::databases/gdbm \
|
||||
:ruby->=1.9,<=1.10:lang/ruby/${REV},-main
|
||||
RUN_DEPENDS-gdbm =
|
||||
|
||||
WANTLIB-dbm = c m db ruby19
|
||||
LIB_DEPENDS-dbm = ::databases/db/v4 \
|
||||
:ruby->=1.9,<=1.10:lang/ruby/${REV},-main
|
||||
RUN_DEPENDS-dbm =
|
||||
|
||||
.if !${FLAVOR:L:Mno_x11}
|
||||
USE_X11= Yes
|
||||
MULTI_PACKAGES+= -tk
|
||||
CONFIGURE_ARGS+= --with-tcl-include=${PREFIX}/include/tcl8.5 \
|
||||
--with-tk-include=${PREFIX}/include/tk8.5 \
|
||||
--with-X11-dir=${X11BASE}
|
||||
WANTLIB-tk = X11 c m ruby19 tcl85 tk85
|
||||
LIB_DEPENDS-tk = :tk->=8.5,<8.6:x11/tk/8.5 \
|
||||
:ruby->=1.9,<=1.10:lang/ruby/${REV},-main
|
||||
RUN_DEPENDS-tk =
|
||||
.endif
|
||||
|
||||
# Known failure in Addrinfo IPv6 UDP loopack test on all arch
|
||||
# Known threading bootstraptest failures on i386 and macppc
|
||||
# Known endian issues in fiddle/dl on sparc64
|
||||
# Known bugs in OpenSSL extension on sparc64
|
||||
REGRESS_DEPENDS = :ruby->=1.9,<=1.10:${BUILD_PKGPATH}
|
||||
SUBST_VARS += RUBYLIBREV
|
||||
|
||||
.include <bsd.port.mk>
|
5
lang/ruby/1.9/distinfo
Normal file
5
lang/ruby/1.9/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (ruby-1.9.2-p0.tar.gz) = dVq6RGB8WA/dwl58iSYEYA==
|
||||
RMD160 (ruby-1.9.2-p0.tar.gz) = VT1YehIfgcy0wUHFft/pMHfFGDE=
|
||||
SHA1 (ruby-1.9.2-p0.tar.gz) = nXnrv5KeL2wlH+epYUuWo9JCexw=
|
||||
SHA256 (ruby-1.9.2-p0.tar.gz) = jAxOJhqSG1xAa/nnasI788kVZRU06dG56MXQvuSnKFw=
|
||||
SIZE (ruby-1.9.2-p0.tar.gz) = 10787899
|
12
lang/ruby/1.9/patches/patch-common_mk
Normal file
12
lang/ruby/1.9/patches/patch-common_mk
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-common_mk,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
--- common.mk.orig Tue Sep 7 14:45:17 2010
|
||||
+++ common.mk Tue Sep 7 14:48:00 2010
|
||||
@@ -126,7 +126,7 @@ BOOTSTRAPRUBY = $(BASERUBY)
|
||||
|
||||
COMPILE_PRELUDE = $(MINIRUBY) -I$(srcdir) $(srcdir)/tool/compile_prelude.rb
|
||||
|
||||
-all: main docs
|
||||
+all: main docs rdoc
|
||||
|
||||
main: encs exts
|
||||
@$(RUNCMD) $(MKMAIN_CMD) $(MAKE)
|
85
lang/ruby/1.9/patches/patch-configure
Normal file
85
lang/ruby/1.9/patches/patch-configure
Normal file
@ -0,0 +1,85 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Fix so name, checking for DOT and DOXYGEN, and use -pthread.
|
||||
|
||||
--- configure.orig Tue Aug 17 22:56:27 2010
|
||||
+++ configure Wed Sep 8 13:30:45 2010
|
||||
@@ -5798,7 +5798,7 @@ IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
-DOT=$ac_cv_prog_DOT
|
||||
+DOT=""
|
||||
if test -n "$DOT"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
|
||||
$as_echo "$DOT" >&6; }
|
||||
@@ -5856,10 +5856,10 @@ yes:)
|
||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
||||
ac_tool_warned=yes ;;
|
||||
esac
|
||||
- DOT=$ac_ct_DOT
|
||||
+ DOT=""
|
||||
fi
|
||||
else
|
||||
- DOT="$ac_cv_prog_DOT"
|
||||
+ DOT=""
|
||||
fi
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
@@ -5890,7 +5890,7 @@ IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
-DOXYGEN=$ac_cv_prog_DOXYGEN
|
||||
+DOXYGEN=""
|
||||
if test -n "$DOXYGEN"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
|
||||
$as_echo "$DOXYGEN" >&6; }
|
||||
@@ -5948,10 +5948,10 @@ yes:)
|
||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
||||
ac_tool_warned=yes ;;
|
||||
esac
|
||||
- DOXYGEN=$ac_ct_DOXYGEN
|
||||
+ DOXYGEN=""
|
||||
fi
|
||||
else
|
||||
- DOXYGEN="$ac_cv_prog_DOXYGEN"
|
||||
+ DOXYGEN=""
|
||||
fi
|
||||
|
||||
if test x"$DOXYGEN" = x; then
|
||||
@@ -14446,13 +14446,13 @@ fi
|
||||
if test x"$enable_pthread" = xyes; then
|
||||
for pthread_lib in thr pthread pthreads c c_r root; do
|
||||
as_ac_Lib=`$as_echo "ac_cv_lib_$pthread_lib''_pthread_kill" | $as_tr_sh`
|
||||
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -l$pthread_lib" >&5
|
||||
-$as_echo_n "checking for pthread_kill in -l$pthread_lib... " >&6; }
|
||||
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -$pthread_lib" >&5
|
||||
+$as_echo_n "checking for pthread_kill in -$pthread_lib... " >&6; }
|
||||
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
-LIBS="-l$pthread_lib $LIBS"
|
||||
+LIBS="-$pthread_lib $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
@@ -14519,7 +14519,7 @@ done
|
||||
c_r) :
|
||||
MAINLIBS="-pthread $MAINLIBS" ;; #(
|
||||
*) :
|
||||
- LIBS="-l$pthread_lib $LIBS" ;;
|
||||
+ LIBS="-pthread $LIBS" ;;
|
||||
esac
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Don't know how to find pthread library on your system -- thread support disabled\"" >&5
|
||||
@@ -15369,7 +15369,7 @@ if test "$enable_shared" = 'yes'; then
|
||||
openbsd*) :
|
||||
|
||||
SOLIBS='$(LIBS)'
|
||||
- LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.$(MAJOR).'`expr ${MINOR} \* 10 + ${TEENY}`
|
||||
+ LIBRUBY_SO='lib$(RUBY_INSTALL_NAME).so.'${LIBruby19_VERSION}
|
||||
;; #(
|
||||
solaris*) :
|
||||
|
15
lang/ruby/1.9/patches/patch-ext_fiddle_closure_c
Normal file
15
lang/ruby/1.9/patches/patch-ext_fiddle_closure_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-ext_fiddle_closure_c,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Make fiddle and dl work on OpenBSD. Backported from r29249.
|
||||
|
||||
--- ext/fiddle/closure.c.orig Tue Sep 14 09:45:18 2010
|
||||
+++ ext/fiddle/closure.c Tue Sep 14 09:46:37 2010
|
||||
@@ -10,7 +10,7 @@ typedef struct {
|
||||
ffi_type **argv;
|
||||
} fiddle_closure;
|
||||
|
||||
-#if defined(MACOSX) || defined(__linux)
|
||||
+#if defined(MACOSX) || defined(__linux) || defined(__OpenBSD__)
|
||||
#define DONT_USE_FFI_CLOSURE_ALLOC
|
||||
#endif
|
||||
|
27
lang/ruby/1.9/patches/patch-ext_socket_option_c
Normal file
27
lang/ruby/1.9/patches/patch-ext_socket_option_c
Normal file
@ -0,0 +1,27 @@
|
||||
$OpenBSD: patch-ext_socket_option_c,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Make inspect_peercred work on OpenBSD. Backported from r29206.
|
||||
|
||||
--- ext/socket/option.c.orig Wed Sep 8 18:24:28 2010
|
||||
+++ ext/socket/option.c Wed Sep 8 18:25:25 2010
|
||||
@@ -397,12 +397,17 @@ inspect_timeval_as_interval(int level, int optname, VA
|
||||
}
|
||||
|
||||
#if defined(SOL_SOCKET) && defined(SO_PEERCRED) /* GNU/Linux */
|
||||
+#if defined(__OpenBSD__)
|
||||
+#define RUBY_SOCK_PEERCRED struct sockpeercred
|
||||
+#else
|
||||
+#define RUBY_SOCK_PEERCRED struct ucred
|
||||
+#endif
|
||||
static int
|
||||
inspect_peercred(int level, int optname, VALUE data, VALUE ret)
|
||||
{
|
||||
- if (RSTRING_LEN(data) == sizeof(struct ucred)) {
|
||||
- struct ucred cred;
|
||||
- memcpy(&cred, RSTRING_PTR(data), sizeof(struct ucred));
|
||||
+ if (RSTRING_LEN(data) == sizeof(RUBY_SOCK_PEERCRED)) {
|
||||
+ RUBY_SOCK_PEERCRED cred;
|
||||
+ memcpy(&cred, RSTRING_PTR(data), sizeof(RUBY_SOCK_PEERCRED));
|
||||
rb_str_catf(ret, " pid=%u euid=%u egid=%u",
|
||||
(unsigned)cred.pid, (unsigned)cred.uid, (unsigned)cred.gid);
|
||||
rb_str_cat2(ret, " (ucred)");
|
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-lib_rubygems_commands_install_command_rb,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Make gem binaries on ruby 1.9 use a 19 suffix, so you can have both
|
||||
1.8 and 1.9 versions of the same gem installed at the same time
|
||||
without conflicts.
|
||||
|
||||
--- lib/rubygems/commands/install_command.rb.orig Thu Apr 22 01:24:42 2010
|
||||
+++ lib/rubygems/commands/install_command.rb Tue Sep 7 13:22:42 2010
|
||||
@@ -21,7 +21,7 @@ class Gem::Commands::InstallCommand < Gem::Command
|
||||
defaults = Gem::DependencyInstaller::DEFAULT_OPTIONS.merge({
|
||||
:generate_rdoc => true,
|
||||
:generate_ri => true,
|
||||
- :format_executable => false,
|
||||
+ :format_executable => true,
|
||||
:test => false,
|
||||
:version => Gem::Requirement.default,
|
||||
})
|
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-lib_rubygems_dependency_installer_rb,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
--- lib/rubygems/dependency_installer.rb.orig Thu Apr 22 01:24:42 2010
|
||||
+++ lib/rubygems/dependency_installer.rb Tue Sep 7 13:13:55 2010
|
||||
@@ -18,7 +18,7 @@ class Gem::DependencyInstaller
|
||||
:env_shebang => false,
|
||||
:domain => :both, # HACK dup
|
||||
:force => false,
|
||||
- :format_executable => false, # HACK dup
|
||||
+ :format_executable => true, # HACK dup
|
||||
:ignore_dependencies => false,
|
||||
:prerelease => false,
|
||||
:security_policy => nil, # HACK NoSecurity requires OpenSSL. AlmostNo? Low?
|
12
lang/ruby/1.9/patches/patch-random_c
Normal file
12
lang/ruby/1.9/patches/patch-random_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-random_c,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
--- random.c.orig Wed May 26 04:19:30 2010
|
||||
+++ random.c Tue Sep 7 13:27:05 2010
|
||||
@@ -480,7 +480,7 @@ fill_random_seed(unsigned int seed[DEFAULT_SEED_CNT])
|
||||
memset(seed, 0, DEFAULT_SEED_LEN);
|
||||
|
||||
#if USE_DEV_URANDOM
|
||||
- if ((fd = open("/dev/urandom", O_RDONLY
|
||||
+ if ((fd = open("/dev/arandom", O_RDONLY
|
||||
#ifdef O_NONBLOCK
|
||||
|O_NONBLOCK
|
||||
#endif
|
16
lang/ruby/1.9/patches/patch-test_ruby_test_env_rb
Normal file
16
lang/ruby/1.9/patches/patch-test_ruby_test_env_rb
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-test_ruby_test_env_rb,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Fix test_aset in regression test to work on OpenBSD, backported
|
||||
from r29201.
|
||||
|
||||
--- test/ruby/test_env.rb.orig Wed Sep 8 15:17:16 2010
|
||||
+++ test/ruby/test_env.rb Wed Sep 8 14:41:40 2010
|
||||
@@ -123,7 +123,7 @@ class TestEnv < Test::Unit::TestCase
|
||||
assert_equal(nil, ENV["test"])
|
||||
assert_raise(ArgumentError) { ENV["foo\0bar"] = "test" }
|
||||
assert_raise(ArgumentError) { ENV["test"] = "foo\0bar" }
|
||||
- if /netbsd/ =~ RUBY_PLATFORM
|
||||
+ if /netbsd|openbsd/ =~ RUBY_PLATFORM
|
||||
ENV["foo=bar"] = "test"
|
||||
assert_equal("test", ENV["foo=bar"])
|
||||
assert_equal("test", ENV["foo"])
|
17
lang/ruby/1.9/patches/patch-test_ruby_test_process_rb
Normal file
17
lang/ruby/1.9/patches/patch-test_ruby_test_process_rb
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-test_ruby_test_process_rb,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
OpenBSD seems to receive the SIGCHILD twice. I'm not sure
|
||||
if that's just how OpenBSD works, or if this is a bug in
|
||||
OpenBSD or ruby.
|
||||
|
||||
--- test/ruby/test_process.rb.orig Wed Sep 8 15:18:49 2010
|
||||
+++ test/ruby/test_process.rb Wed Sep 8 14:59:18 2010
|
||||
@@ -1189,7 +1189,7 @@ class TestProcess < Test::Unit::TestCase
|
||||
sleep 1
|
||||
break unless signal_received.empty?
|
||||
end
|
||||
- assert_equal [true], signal_received, " [ruby-core:19744]"
|
||||
+ assert_equal true, signal_received.first, " [ruby-core:19744]"
|
||||
rescue NotImplementedError, ArgumentError
|
||||
ensure
|
||||
begin
|
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-test_rubygems_test_gem_dependency_installer_rb,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
Make the regression test suite deal with a default of format_executable=>true.
|
||||
|
||||
--- test/rubygems/test_gem_dependency_installer.rb.orig Wed Sep 8 15:17:52 2010
|
||||
+++ test/rubygems/test_gem_dependency_installer.rb Wed Sep 8 14:49:42 2010
|
||||
@@ -265,7 +265,7 @@ class TestGemDependencyInstaller < RubyGemTestCase
|
||||
inst = nil
|
||||
|
||||
Dir.chdir @tempdir do
|
||||
- inst = Gem::DependencyInstaller.new :env_shebang => true, :wrappers => true
|
||||
+ inst = Gem::DependencyInstaller.new :env_shebang => true, :wrappers => true, :format_executable => false
|
||||
inst.install 'a'
|
||||
end
|
||||
|
||||
@@ -524,7 +524,7 @@ class TestGemDependencyInstaller < RubyGemTestCase
|
||||
def test_install_no_wrappers
|
||||
@fetcher.data['http://gems.example.com/gems/a-1.gem'] = read_binary(@a1_gem)
|
||||
|
||||
- inst = Gem::DependencyInstaller.new :wrappers => false
|
||||
+ inst = Gem::DependencyInstaller.new :wrappers => false, :format_executable => false
|
||||
inst.install 'a'
|
||||
|
||||
refute_match(%r|This file was generated by RubyGems.|,
|
2
lang/ruby/1.9/pkg/DESCR-dbm
Normal file
2
lang/ruby/1.9/pkg/DESCR-dbm
Normal file
@ -0,0 +1,2 @@
|
||||
This is a Ruby extension to the Berkeley DB library which is part
|
||||
of the Ruby distribution.
|
2
lang/ruby/1.9/pkg/DESCR-gdbm
Normal file
2
lang/ruby/1.9/pkg/DESCR-gdbm
Normal file
@ -0,0 +1,2 @@
|
||||
This is a Ruby extension to the GDBM library which is part of the Ruby
|
||||
distribution.
|
17
lang/ruby/1.9/pkg/DESCR-main
Normal file
17
lang/ruby/1.9/pkg/DESCR-main
Normal file
@ -0,0 +1,17 @@
|
||||
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.
|
||||
|
||||
- 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.)
|
2
lang/ruby/1.9/pkg/DESCR-tk
Normal file
2
lang/ruby/1.9/pkg/DESCR-tk
Normal file
@ -0,0 +1,2 @@
|
||||
This is Ruby/Tk, a Ruby interface to the Tk widget set.
|
||||
It's a part of the official Ruby distribution.
|
10
lang/ruby/1.9/pkg/MESSAGE-main
Normal file
10
lang/ruby/1.9/pkg/MESSAGE-main
Normal file
@ -0,0 +1,10 @@
|
||||
If you want to use this package as your default system ruby, as root
|
||||
create symbolic links like so (overwriting any previous default):
|
||||
ln -sf ${PREFIX}/bin/ruby19 ${PREFIX}/bin/ruby
|
||||
ln -sf ${PREFIX}/bin/erb19 ${PREFIX}/bin/erb
|
||||
ln -sf ${PREFIX}/bin/irb19 ${PREFIX}/bin/irb
|
||||
ln -sf ${PREFIX}/bin/rdoc19 ${PREFIX}/bin/rdoc
|
||||
ln -sf ${PREFIX}/bin/ri19 ${PREFIX}/bin/ri
|
||||
ln -sf ${PREFIX}/bin/rake19 ${PREFIX}/bin/rake
|
||||
ln -sf ${PREFIX}/bin/gem19 ${PREFIX}/bin/gem
|
||||
ln -sf ${PREFIX}/bin/testrb19 ${PREFIX}/bin/testrb
|
4
lang/ruby/1.9/pkg/PLIST-dbm
Normal file
4
lang/ruby/1.9/pkg/PLIST-dbm
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-dbm,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@conflict ruby-dbm->=1.9,<1.10
|
||||
lib/ruby/${RUBYLIBREV}/${SUB}/dbm.so
|
4
lang/ruby/1.9/pkg/PLIST-gdbm
Normal file
4
lang/ruby/1.9/pkg/PLIST-gdbm
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-gdbm,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@conflict ruby-gdbm->=1.9,<1.10
|
||||
lib/ruby/${RUBYLIBREV}/${SUB}/gdbm.so
|
11665
lang/ruby/1.9/pkg/PLIST-main
Normal file
11665
lang/ruby/1.9/pkg/PLIST-main
Normal file
File diff suppressed because it is too large
Load Diff
362
lang/ruby/1.9/pkg/PLIST-tk
Normal file
362
lang/ruby/1.9/pkg/PLIST-tk
Normal file
@ -0,0 +1,362 @@
|
||||
@comment $OpenBSD: PLIST-tk,v 1.1 2010/09/23 21:58:50 jeremy Exp $
|
||||
@option no-default-conflict
|
||||
@conflict ruby-tk->=1.8,<1.9
|
||||
lib/ruby/${RUBYLIBREV}/multi-tk.rb
|
||||
lib/ruby/${RUBYLIBREV}/remote-tk.rb
|
||||
lib/ruby/${RUBYLIBREV}/tcltk.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/
|
||||
lib/ruby/${RUBYLIBREV}/tk.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/after.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/autoload.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/bgerror.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/bindtag.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/busy.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/button.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/canvas.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/canvastag.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/checkbutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/clipboard.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/clock.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/composite.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/console.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/dialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/encodedstr.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/entry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/event.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/font.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/fontchooser.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/frame.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/grid.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/image.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/itemconfig.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/itemfont.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/kinput.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/label.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/labelframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/listbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/macpkg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/menu.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/menubar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/menuspec.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/message.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/mngfocus.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/msgcat.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/namespace.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/optiondb.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/optionobj.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/pack.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/package.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/palette.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/panedwindow.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/place.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/radiobutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/root.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/scale.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/scrollable.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/scrollbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/scrollbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/selection.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/spinbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/tagfont.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/text.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/textimage.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/textmark.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/texttag.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/textwindow.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/timer.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/toplevel.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/ttk_selector.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/txtwin_abst.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/validation.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/variable.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/virtevent.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/winfo.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/winpkg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/wm.rb
|
||||
lib/ruby/${RUBYLIBREV}/tk/xim.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkafter.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkbgerror.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkcanvas.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkclass.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkconsole.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkdialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkentry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/ICONS/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/ICONS.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/ICONS/icons.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/ICONS/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/SUPPORT_STATUS
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/barchart.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/bitmap.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/busy.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/component.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/container.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/cutbuffer.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/dragdrop.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/eps.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/graph.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/htext.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/spline.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/stripchart.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/table.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tabnotebook.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tabset.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/ted.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/button.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/checkbutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/frame.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/label.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/radiobutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/scrollbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tile/toplevel.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/tree.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/treeview.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/unix_dnd.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/vector.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/watch.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/win_printer.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/blt/winop.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/arrowbutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/bitmap.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/button.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/buttonbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/combobox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/dialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/dragsite.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/dropsite.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/dynamichelp.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/entry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/label.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/labelentry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/labelframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/listbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/mainframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/messagedlg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/notebook.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/pagesmanager.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/panedwindow.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/panelframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/passwddlg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/progressbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/progressdlg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/scrollableframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/scrolledwindow.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/scrollview.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/selectcolor.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/selectfont.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/separator.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/spinbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/statusbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/titleframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/tree.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/bwidget/widget.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itcl/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itcl.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itcl/incr_tcl.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itcl/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itk/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itk.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itk/incr_tk.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/itk/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/buttonbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/calendar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/canvasprintbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/canvasprintdialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/checkbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/combobox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/dateentry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/datefield.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/dialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/dialogshell.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/disjointlistbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/entryfield.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/extbutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/extfileselectionbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/extfileselectiondialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/feedback.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/fileselectionbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/fileselectiondialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/finddialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/hierarchy.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/hyperhelp.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/labeledframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/labeledwidget.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/mainwindow.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/menubar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/messagebox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/messagedialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/notebook.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/optionmenu.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/panedwindow.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/promptdialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/pushbutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/radiobox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/scopedobject.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/scrolledcanvas.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/scrolledframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/scrolledhtml.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/scrolledlistbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/scrolledtext.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/scrolledwidget.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/selectionbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/selectiondialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/shell.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/spindate.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/spinint.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/spinner.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/spintime.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/tabnotebook.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/tabset.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/timeentry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/timefield.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/toolbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/iwidgets/watch.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/pkg_checker.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/autoscroll.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/calendar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/canvas_sqmap.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/canvas_zoom.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/chatwidget.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/crosshair.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/ctext.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/cursor.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/dateentry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/datefield.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/diagrams.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/dialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/getstring.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/history.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/ico.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/ip_entry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/khim.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/menuentry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/ntext.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/panelframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/plotchart.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/ruler.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/screenruler.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/scrolledwindow.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/scrollwin.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/statusbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/style.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/superframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/swaplist.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/tablelist.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/tablelist_core.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/tablelist_tile.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/tkpiechart.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/toolbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/tooltip.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tcllib/widget.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tclx/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tclx.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tclx/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tclx/tclx.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/dialog.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/sizegrip.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/style.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tbutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tcheckbutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tcombobox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tentry.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tlabel.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tlabelframe.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tmenubutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tnotebook.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tpaned.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tprogressbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tradiobutton.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/treeview.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tscale.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tscrollbar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tseparator.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tspinbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tile/tsquare.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkDND/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkDND.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkDND/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkDND/shape.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkDND/tkdnd.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkHTML/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkHTML.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkHTML/htmlwidget.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkHTML/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/bmp.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/gif.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/ico.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/jpeg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/pcx.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/pixmap.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/png.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/ppm.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/ps.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/sgi.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/sun.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/tga.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/tiff.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/window.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/xbm.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tkimg/xpm.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktable/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktable.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktable/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktable/tktable.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktrans/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktrans.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktrans/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/tktrans/tktrans.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/treectrl/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/treectrl.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/treectrl/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/treectrl/tktreectrl.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/trofs/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/trofs.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/trofs/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/trofs/trofs.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/version.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu/bargraph.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu/charts.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu/dial.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu/pie.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/vu/spinbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/winico/
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/winico.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/winico/setup.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkextlib/winico/winico.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkfont.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkmacpkg.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkmenubar.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkmngfocus.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkpalette.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkscrollbox.rb
|
||||
lib/ruby/${RUBYLIBREV}/tktext.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkvirtevent.rb
|
||||
lib/ruby/${RUBYLIBREV}/tkwinpkg.rb
|
||||
lib/ruby/${RUBYLIBREV}/${SUB}/tcltklib.so
|
||||
lib/ruby/${RUBYLIBREV}/${SUB}/tkutil.so
|
11
lang/ruby/1.9/pkg/UNMESSAGE-main
Normal file
11
lang/ruby/1.9/pkg/UNMESSAGE-main
Normal file
@ -0,0 +1,11 @@
|
||||
If you set up the symlinks to make ruby 1.9 the system
|
||||
ruby, don't forget to remove the following files:
|
||||
|
||||
rm ${PREFIX}/bin/ruby
|
||||
rm ${PREFIX}/bin/erb
|
||||
rm ${PREFIX}/bin/irb
|
||||
rm ${PREFIX}/bin/rdoc
|
||||
rm ${PREFIX}/bin/ri
|
||||
rm ${PREFIX}/bin/gem
|
||||
rm ${PREFIX}/bin/rake
|
||||
rm ${PREFIX}/bin/testrb
|
@ -1,93 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.78 2010/09/14 12:03:42 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.79 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
SUBDIR =
|
||||
SUBDIR += 1.8
|
||||
SUBDIR += 1.9
|
||||
|
||||
COMMENT-main= object oriented script language with threads
|
||||
COMMENT-iconv= libiconv interface for ruby
|
||||
COMMENT-gdbm= gdbm interface for ruby
|
||||
COMMENT-tk= tk interface for ruby
|
||||
|
||||
VERSION= 1.8.6
|
||||
PATCHLEVEL= 369
|
||||
DISTNAME= ruby-${VERSION}-p${PATCHLEVEL}
|
||||
SHARED_LIBS= ruby 2.0
|
||||
PKGNAME-main= ruby-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-iconv= ruby-iconv-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-gdbm= ruby-gdbm-${VERSION}.${PATCHLEVEL}
|
||||
PKGNAME-tk= ruby-tk-${VERSION}.${PATCHLEVEL}
|
||||
REVISION-main= 4
|
||||
REVISION-iconv= 4
|
||||
REVISION-gdbm= 3
|
||||
REVISION-tk= 4
|
||||
|
||||
CATEGORIES= lang
|
||||
|
||||
HOMEPAGE= http://www.ruby-lang.org/
|
||||
|
||||
MAINTAINER= Bernd Ahlers <bernd@openbsd.org>
|
||||
|
||||
# GPL/Artistic/BSD/Public Domain/Beer-Ware
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://www.ruby-lang.org/pub/ruby/1.8/ \
|
||||
ftp://mirror.nucba.ac.jp/pub/ruby/1.8/ \
|
||||
ftp://ftp.kr.freebsd.org/pub/ruby/1.8/
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-ipv6 \
|
||||
--with-dbm-type=bogus \
|
||||
--with-opt-dir="${LOCALBASE}"
|
||||
CONFIGURE_ENV= PREFIX="${PREFIX}" \
|
||||
LIBruby_VERSION=${LIBruby_VERSION} \
|
||||
CPPFLAGS="-DOPENSSL_NO_STATIC_ENGINE"
|
||||
|
||||
MODULES= converters/libiconv
|
||||
|
||||
WANTLIB-main= c m readline termcap util crypto ncurses ssl z
|
||||
LIB_DEPENDS-main=
|
||||
RUN_DEPENDS-main=
|
||||
|
||||
PSEUDO_FLAVORS= no_x11
|
||||
FLAVOR?=
|
||||
|
||||
MULTI_PACKAGES= -main -iconv -gdbm
|
||||
|
||||
.if !${FLAVOR:L:Mno_x11}
|
||||
USE_X11= Yes
|
||||
MULTI_PACKAGES+= -tk
|
||||
CONFIGURE_ARGS+= --with-tcl-include=${PREFIX}/include/tcl8.5 \
|
||||
--with-tk-include=${PREFIX}/include/tk8.5 \
|
||||
--with-X11-dir=${X11BASE}
|
||||
.endif
|
||||
|
||||
WANTLIB-iconv= c m
|
||||
LIB_DEPENDS-iconv= ruby.>=1::lang/ruby \
|
||||
${MODLIBICONV_LIB_DEPENDS}
|
||||
RUN_DEPENDS-iconv= ${MODLIBICONV_RUN_DEPENDS}
|
||||
|
||||
WANTLIB-gdbm= c m
|
||||
LIB_DEPENDS-gdbm= gdbm.>=3::databases/gdbm \
|
||||
ruby.>=1::lang/ruby
|
||||
RUN_DEPENDS-gdbm=
|
||||
|
||||
.if !${FLAVOR:L:Mno_x11}
|
||||
WANTLIB-tk= X11 c m pthread-stubs tcl85 xcb
|
||||
LIB_DEPENDS-tk= tk85:tk->=8.5,<8.6:x11/tk/8.5 \
|
||||
ruby.>=1::lang/ruby
|
||||
RUN_DEPENDS-tk=
|
||||
.endif
|
||||
|
||||
REGRESS_DEPENDS= :${PKGNAME-main}:lang/ruby
|
||||
INSTALL_TARGET= install install-doc
|
||||
REV= 1.8
|
||||
SUB= ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd${OSREV}
|
||||
SUBST_VARS= SUB REV
|
||||
|
||||
# Building the ruby documentation consumes lots of memory.
|
||||
VMEM_WARNING= Yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.subdir.mk>
|
||||
|
@ -1,21 +1,25 @@
|
||||
# $OpenBSD: ruby.port.mk,v 1.25 2009/08/11 15:28:41 bernd Exp $
|
||||
# $OpenBSD: ruby.port.mk,v 1.26 2010/09/23 21:58:50 jeremy Exp $
|
||||
|
||||
# ruby module
|
||||
|
||||
CATEGORIES+= lang/ruby
|
||||
|
||||
MODRUBY_REV= 1.8
|
||||
MODRUBY_LIBREV= 1.8
|
||||
MODRUBY_BINREV= 18
|
||||
|
||||
RUBY= ${LOCALBASE}/bin/ruby
|
||||
RAKE= ${LOCALBASE}/bin/rake
|
||||
RUBY= ${LOCALBASE}/bin/ruby${MODRUBY_BINREV}
|
||||
RAKE= ${LOCALBASE}/bin/rake${MODRUBY_BINREV}
|
||||
RSPEC= ${LOCALBASE}/bin/spec
|
||||
|
||||
MODRUBY_REGRESS?=
|
||||
|
||||
MODRUBY_LIB_DEPENDS= ruby.>=2::lang/ruby
|
||||
MODRUBY_RUN_DEPENDS= ::lang/ruby
|
||||
MODRUBY_LIB_DEPENDS= ruby${MODRUBY_BINREV}:ruby->=1.8,<=1.9:lang/ruby/${MODRUBY_REV}
|
||||
MODRUBY_RUN_DEPENDS= :ruby->=1.8,<=1.9:lang/ruby/${MODRUBY_REV}
|
||||
MODRUBY_BUILD_DEPENDS= ${MODRUBY_RUN_DEPENDS}
|
||||
|
||||
MODRUBY_ICONV_DEPENDS= :ruby-iconv->=1.8,<=1.9:lang/ruby/${MODRUBY_REV},-iconv
|
||||
|
||||
# location of ruby libraries
|
||||
MODRUBY_LIBDIR= ${LOCALBASE}/lib/ruby
|
||||
|
||||
@ -36,27 +40,31 @@ REGRESS_DEPENDS+= ::devel/ruby-rake
|
||||
REGRESS_DEPENDS+= ::devel/ruby-rspec
|
||||
.endif
|
||||
|
||||
SUBST_VARS+= MODRUBY_REV MODRUBY_ARCH
|
||||
SUBST_VARS+= MODRUBY_BIN_REV MODRUBY_REV MODRUBY_ARCH
|
||||
|
||||
.if ${CONFIGURE_STYLE:L:Mextconf}
|
||||
CONFIGURE_STYLE= simple
|
||||
CONFIGURE_SCRIPT= ${LOCALBASE}/bin/ruby extconf.rb
|
||||
CONFIGURE_SCRIPT= ${RUBY} extconf.rb
|
||||
.elif ${CONFIGURE_STYLE:L:Mgem}
|
||||
EXTRACT_SUFX= .gem
|
||||
|
||||
BUILD_DEPENDS+= :ruby-gems->=1.3.0:devel/ruby-gems
|
||||
RUN_DEPENDS+= ::devel/ruby-gems
|
||||
BUILD_DEPENDS+= :ruby-gems->=1.3.0:devel/ruby-gems
|
||||
RUN_DEPENDS+= ::devel/ruby-gems
|
||||
NO_BUILD= Yes
|
||||
|
||||
SUBST_VARS+= DISTNAME
|
||||
|
||||
GEM= ${LOCALBASE}/bin/gem
|
||||
GEM_BASE= ${PREFIX}/lib/ruby/gems/${MODRUBY_REV}
|
||||
GEM= ${LOCALBASE}/bin/gem${MODRUBY_BINREV}
|
||||
GEM_BASE= ${PREFIX}/lib/ruby/gems/${MODRUBY_LIBREV}
|
||||
GEM_FLAGS= --local --rdoc --no-force --verbose --default-source-index
|
||||
_GEM_CONTENT= ${WRKDIR}/gem-content
|
||||
_GEM_DATAFILE= ${_GEM_CONTENT}/data.tar.gz
|
||||
_GEM_PATCHED= ${DISTNAME}${EXTRACT_SUFX}
|
||||
|
||||
.if ${CONFIGURE_STYLE:L:Mformat-executable}
|
||||
GEM_FLAGS+= --format-executable
|
||||
.endif
|
||||
|
||||
# Ignore specified gem dependencies.
|
||||
GEM_SKIPDEPENDS?=
|
||||
. if !empty(GEM_SKIPDEPENDS)
|
||||
@ -105,19 +113,19 @@ do-install:
|
||||
.endif
|
||||
|
||||
# regression stuff
|
||||
RAKE_REGRESS_TARGET?= test
|
||||
RSPEC_REGRESS_TARGET?= spec
|
||||
|
||||
.if !target(do-regress)
|
||||
. if ${MODRUBY_REGRESS:L:Mrspec}
|
||||
. if ${MODRUBY_REGRESS:L:Mrake}
|
||||
RAKE_REGRESS_TARGET= ${RSPEC_REGRESS_TARGET}
|
||||
RAKE_REGRESS_TARGET?= ${RSPEC_REGRESS_TARGET}
|
||||
. else
|
||||
RSPEC_REGRESS_TARGET?= spec
|
||||
do-regress:
|
||||
@cd ${WRKSRC} && ${RSPEC} ${RSPEC_REGRESS_TARGET}
|
||||
. endif
|
||||
. endif
|
||||
. if ${MODRUBY_REGRESS:L:Mrake}
|
||||
RAKE_REGRESS_TARGET?= test
|
||||
do-regress:
|
||||
@cd ${WRKSRC} && ${RAKE} ${RAKE_REGRESS_TARGET}
|
||||
. endif
|
||||
@ -125,3 +133,4 @@ do-regress:
|
||||
NO_REGRESS=YES
|
||||
. endif
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user