head	1.14;
access;
symbols
	RELEASE_4_2_0:1.12
	RELEASE_4_1_1:1.11
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.5
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.4
	v_0_5_1:1.1.1.1
	YASUF:1.1.1;
locks; strict;
comment	@# @;


1.14
date	2001.04.13.19.08.48;	author knu;	state dead;
branches;
next	1.13;

1.13
date	2001.02.10.16.43.22;	author knu;	state Exp;
branches;
next	1.12;

1.12
date	2000.09.26.08.02.15;	author knu;	state Exp;
branches;
next	1.11;

1.11
date	2000.09.07.05.44.02;	author knu;	state Exp;
branches;
next	1.10;

1.10
date	2000.09.05.12.44.12;	author knu;	state Exp;
branches;
next	1.9;

1.9
date	2000.08.16.12.21.05;	author knu;	state Exp;
branches;
next	1.8;

1.8
date	2000.08.12.20.35.19;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2000.08.12.20.09.21;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.12.06.19.05;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	99.11.14.01.41.48;	author steve;	state Exp;
branches;
next	1.4;

1.4
date	99.08.26.21.09.20;	author cpiazza;	state Exp;
branches;
next	1.3;

1.3
date	99.08.25.06.34.48;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.07.13.03.00.51;	author cpiazza;	state Exp;
branches;
next	1.1;

1.1
date	99.07.13.02.56.48;	author cpiazza;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.07.13.02.56.48;	author cpiazza;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Retire Ruby 1.4.  Use 1.6 instead, now the migration period is over.

Approved by:	yasuf@@bsdclub.org (MAINTAINER)
@
text
@# New ports collection makefile for:	irb
# Date created:		19 April 1999
# Whom:			Yasuhiro Fukuma <yasuf@@big.or.jp>
#
# $FreeBSD: ports/lang/ruby14-irb/Makefile,v 1.13 2001/02/10 16:43:22 knu Exp $
#

PORTNAME=	irb
PORTVERSION=	0.6.1
CATEGORIES=	lang ruby
MASTER_SITES=	${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR=	contrib
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	ruby

MAINTAINER=	yasuf@@big.or.jp

RUBY_VER=	1.4

USE_RUBY=	yes

RUBY_SHEBANG_FILES=	${WRKSRC}/irb.rb

WRKSRC=		${WRKDIR}/${PORTNAME}
NO_BUILD=	yes

post-patch:
	${RM} -f ${WRKSRC}/instirb.rb

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/irb.rb ${PREFIX}/bin/irb${_RUBY_SUFFIX}
	${LN} -fs irb${_RUBY_SUFFIX} ${PREFIX}/bin/irb
	${MKDIR} ${RUBY_LIBDIR}/irb
	${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_LIBDIR}/irb
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_DOCDIR}/irb
	${INSTALL_DATA} ${WRKSRC}/README* ${RUBY_DOCDIR}/irb
.endif

.include <bsd.port.mk>
@


1.13
log
@Use RUBY_SHEBANG_FILES to adjust the #! line of irb.rb.  Somehow I
dropped this when I did a mass convert some time ago..
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby14-irb/Makefile,v 1.12 2000/09/26 08:02:15 knu Exp $
@


1.12
log
@Now bsd.ruby.mk is automatically included by bsd.port.mk when USE_RUBY
or USE_LIBRUBY is defined, individual ruby ports no longer need to
include it explicitly.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby14-irb/Makefile,v 1.11 2000/09/07 05:44:02 knu Exp $
d23 1
a23 1
NO_BUILD=	yes
d26 1
a28 1
	${PERL} -i -pe '$$. == 1 && s,^#!\s*\S+,#!${RUBY},' ${WRKSRC}/irb.rb
@


1.11
log
@Revise this utilizing bsd.ruby.mk.

Somehow I failed to commit this in the previous commit.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ruby14-irb/Makefile,v 1.10 2000/09/05 12:44:12 knu Exp $
d41 1
a41 3
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/Mk/bsd.ruby.mk"
.include <bsd.port.post.mk>
@


1.10
log
@Use MASTER_SITE_RUBY.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/irb/Makefile,v 1.9 2000/08/16 12:21:05 knu Exp $
d13 1
d19 3
a21 1
RUN_DEPENDS=	ruby:${PORTSDIR}/lang/ruby
d25 1
a25 5
WRKSRC=		${WRKDIR}/irb
PLIST_SUB+=	RUBY_VER="${RUBY_VER}"

RUBY?=		${LOCALBASE}/bin/ruby
RUBY_VER?=	1.4
d32 4
a35 3
	${INSTALL_SCRIPT} ${WRKSRC}/irb.rb ${PREFIX}/bin/irb
	${MKDIR} ${PREFIX}/lib/ruby/${RUBY_VER}/irb
	${INSTALL_DATA} ${WRKSRC}/*.rb ${PREFIX}/lib/ruby/${RUBY_VER}/irb
d37 2
a38 2
	${MKDIR} ${PREFIX}/share/doc/ruby/irb
	${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/ruby/irb
d41 3
a43 1
.include <bsd.port.mk>
@


1.9
log
@Make all these Ruby related ports belong also in the newly-added
"ruby" virtual category.

Make textproc/eruby belong also in www.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/irb/Makefile,v 1.8 2000/08/12 20:35:19 knu Exp $
d11 2
a12 6
MASTER_SITES=	ftp://ftp.netlab.co.jp/pub/lang/ruby/contrib/ \
		ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/contrib/ \
		ftp://ftp.iij.ad.jp/pub/lang/ruby/contrib/ \
		ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/contrib/ \
		ftp://ftp.krnet.ne.jp/pub/ruby/contrib/ \
		ftp://mirror.nucba.ac.jp/mirror/ruby/contrib/
@


1.8
log
@Fix a critical bug which prevents irb from working.
I wonder how this could have been overlooked..

Found by:	green

Set DIST_SUBDIR=ruby.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/irb/Makefile,v 1.7 2000/08/12 20:09:21 knu Exp $
d10 1
a10 1
CATEGORIES=	lang
@


1.7
log
@Do The Right Thing. (R)

Overall changes:
	Use tabs instead of sequential spaces.
	Note Author as well as WWW in DESCR.
	Do not install examples when NOPORTDOCS.
	Make RUBY, RUBY_VER and RUBY_ARCH variables overridable.

ruby-date2:
	share/doc/ruby/date2/examples/ -> share/examples/ruby/date2/cal.rb

textproc/ruby-html-parser:
databases/ruby-mysql:
devel/ruby-optparse:
devel/ruby-property:
	Install modules under lib/ruby/site_ruby/${RUBY_VER}/ instead
	of lib/ruby/site_ruby/ or lib/ruby/${RUBY_VER}/

textproc/ruby-rdtool:
	Install documents in .rd format too.
	Format optparse's rd file. (Since ruby-rdtool depends on
	optparse, it cannot be done during optparse's build
	process.  So ruby-rdtool should take care of that when it is
	installed. :)
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/irb/Makefile,v 1.6 2000/04/12 06:19:05 obrien Exp $
d18 1
@


1.6
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d1 3
a3 3
# New ports collection makefile for:    irb
# Date created:         19 April 1999
# Whom:                 Yasuhiro Fukuma <yasuf@@big.or.jp>
d5 1
a5 1
# $FreeBSD: ports/lang/irb/Makefile,v 1.5 1999/11/14 01:41:48 steve Exp $
d23 2
d28 2
a29 2
RUBY=		${LOCALBASE}/bin/ruby
RUBY_VER=	1.4
d32 1
a34 5
do-build:
	( cd ${WRKSRC}; \
	  ${MV} irb.rb irb.tmpl; \
	  ${SED} -e '1s,^#!.*$$,#!${RUBY},' irb.tmpl > irb )

d36 1
a36 1
	${INSTALL_SCRIPT} ${WRKSRC}/irb ${PREFIX}/bin
@


1.5
log
@Update to version 0.6.1.

PR:		14631
Submitted by:	maintainer
@
text
@a1 1
# Version required:     0.6.1
d5 1
a5 1
# $FreeBSD: ports/lang/irb/Makefile,v 1.4 1999/08/26 21:09:20 cpiazza Exp $
d8 2
a9 1
DISTNAME=	irb-0.6.1
@


1.4
log
@Cope with ruby 1.4

PR:		13306
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:     0.5.1
d6 1
a6 1
# $FreeBSD: ports/lang/irb/Makefile,v 1.3 1999/08/25 06:34:48 obrien Exp $
d9 1
a9 1
DISTNAME=	irb-0.5.1
d28 3
@


1.3
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d24 1
d27 1
d36 3
a38 2
	${MKDIR} ${PREFIX}/lib/ruby/irb
	${INSTALL_DATA} ${WRKSRC}/*.rb ${PREFIX}/lib/ruby/irb
d41 1
@


1.2
log
@Fix a typo I introduced.
@
text
@d6 1
a6 1
# $Id$
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id $
@


1.1.1.1
log
@irb: Interactive Ruby.  A tool to input and evaulate expressions
of Ruby from standard input.

PR:		12125
Submitted by:	Yasuhiro Fukuma <yasuf@@big.or.jp>
@
text
@@
